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 598e5aa commit 9f688b8Copy full SHA for 9f688b8
sample-nginx-deployment.yaml
@@ -0,0 +1,19 @@
1
+apiVersion: apps/v1
2
+kind: Deployment
3
+metadata:
4
+ name: nginx-deployment
5
+spec:
6
+ replicas: 1
7
+ selector:
8
+ matchLabels:
9
+ app: nginx
10
+ template:
11
+ metadata:
12
+ labels:
13
14
+ spec:
15
+ containers:
16
+ - name: nginx
17
+ image: nginx:latest
18
+ ports:
19
+ - containerPort: 80
sample-nginx-replica.yaml
@@ -0,0 +1,21 @@
+kind: ReplicaSet
+ name: nginx-replicaset-2
+ app: nginx2
+ replicas: 4
20
21
0 commit comments