Skip to content

Commit 142c113

Browse files
committed
updated deployment
1 parent 3c00304 commit 142c113

2 files changed

Lines changed: 10 additions & 27 deletions

File tree

deploy/kubernetes/podinfo-dep.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.

deploy/kubernetes/test.yaml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
1-
apiVersion: apps/v1 # for versions before 1.6.0 use extensions/v1beta1
1+
apiVersion: apps/v1
22
kind: Deployment
33
metadata:
4-
name: test
4+
name: nginx-deployment
5+
labels:
6+
app: nginx
57
spec:
6-
replicas: 1
8+
replicas: 3
79
selector:
810
matchLabels:
9-
name: test
11+
app: nginx
1012
template:
1113
metadata:
1214
labels:
13-
app: test
15+
app: nginx
1416
spec:
1517
containers:
16-
- name: test
17-
image: nginx:latest
18+
- name: nginx
19+
image: nginx:1.14.2
1820
ports:
19-
- containerPort: 3000
21+
- containerPort: 80

0 commit comments

Comments
 (0)