kubernetes/examples/pod
Yifan Gu 25786aca98 rkt: Refactor host file mounts for host network.
Do not mount /etc/hosts/ /etc/resolv.conf if they are already mounted.
2016-09-06 15:07:52 -07:00

17 lines
270 B
Plaintext

# Copy of pod.yaml without file extension for test
apiVersion: v1
kind: Pod
metadata:
name: nginx
labels:
name: nginx
spec:
initcontainers:
name: busybox
image: busybox
containers:
- name: nginx
image: nginx
ports:
- containerPort: 80