Create 5-5-kuard-pod-vol.yaml
This commit is contained in:
parent
47654c6a63
commit
6d67b4f3ca
19
5-5-kuard-pod-vol.yaml
Normal file
19
5-5-kuard-pod-vol.yaml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: kuard
|
||||||
|
spec:
|
||||||
|
volumes:
|
||||||
|
- name: "kuard-data"
|
||||||
|
hostPath:
|
||||||
|
path: "/var/lib/kuard"
|
||||||
|
containers:
|
||||||
|
- image: gcr.io/kuar-demo/kuard-amd64:1
|
||||||
|
name: kuard
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: "/data"
|
||||||
|
name: "kuard-data"
|
||||||
|
ports:
|
||||||
|
- containerPort: 8080
|
||||||
|
name: http
|
||||||
|
protocol: TCP
|
||||||
Loading…
Reference in New Issue
Block a user