Created
July 18, 2021 06:56
-
-
Save bharatmicrosystems/8c795ea3b1b56be37a2af8cc61d49be8 to your computer and use it in GitHub Desktop.
Revisions
-
bharatmicrosystems revised this gist
Jul 18, 2021 . No changes.There are no files selected for viewing
-
bharatmicrosystems revised this gist
Jul 18, 2021 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -6,7 +6,7 @@ spec: selector: matchLabels: run: my-nginx replicas: 2 template: metadata: labels: -
bharatmicrosystems created this gist
Jul 18, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,33 @@ apiVersion: apps/v1 kind: Deployment metadata: name: my-nginx spec: selector: matchLabels: run: my-nginx replicas: 4 template: metadata: labels: run: my-nginx spec: containers: - name: my-nginx image: nginx ports: - containerPort: 80 --- apiVersion: v1 kind: Service metadata: name: my-nginx labels: run: my-nginx spec: ports: - port: 80 protocol: TCP type: LoadBalancer selector: run: my-nginx