Skip to content

Commit 35bc9c1

Browse files
authored
Merge pull request #6 from env0/feat-k8s-nginx
add k8s nginx example
2 parents 923083b + 0e3aa18 commit 35bc9c1

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

kubernetes/nginx.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
apiVersion: apps/v1
2+
kind: Deployment
3+
metadata:
4+
name: my-nginx
5+
labels:
6+
app: nginx
7+
spec:
8+
replicas: 1
9+
selector:
10+
matchLabels:
11+
app: nginx
12+
template:
13+
metadata:
14+
labels:
15+
app: nginx
16+
spec:
17+
containers:
18+
- name: nginx
19+
image: nginx:1.14.2
20+
ports:
21+
- containerPort: 80

0 commit comments

Comments
 (0)