Skip to content

Commit 50c016d

Browse files
authored
Create shell-demo.yaml
1 parent 866a985 commit 50c016d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
apiVersion: v1
2+
kind: Pod
3+
metadata:
4+
name: shell-demo
5+
spec:
6+
volumes:
7+
- name: shared-data
8+
emptyDir: {}
9+
containers:
10+
- name: nginx
11+
image: nginx
12+
volumeMounts:
13+
- name: shared-data
14+
mountPath: /usr/share/nginx/html
15+
hostNetwork: true
16+
dnsPolicy: Default

0 commit comments

Comments
 (0)