We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f45785e commit 7a85ca8Copy full SHA for 7a85ca8
content/bn/examples/application/nginx-app.yaml
@@ -0,0 +1,34 @@
1
+apiVersion: v1
2
+kind: Service
3
+metadata:
4
+ name: my-nginx-svc
5
+ labels:
6
+ app: nginx
7
+spec:
8
+ type: LoadBalancer
9
+ ports:
10
+ - port: 80
11
+ selector:
12
13
+---
14
+apiVersion: apps/v1
15
+kind: Deployment
16
17
+ name: my-nginx
18
19
20
21
+ replicas: 3
22
23
+ matchLabels:
24
25
+ template:
26
+ metadata:
27
28
29
+ spec:
30
+ containers:
31
+ - name: nginx
32
+ image: nginx:1.14.2
33
34
+ - containerPort: 80
0 commit comments