kubernetes-handbook/manifests/test/nginx-pod.yaml

11 lines
173 B
YAML
Raw Normal View History

2017-04-14 17:39:40 +08:00
apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
containers:
- name: nginx
2018-05-04 19:53:39 +08:00
image: harbor-001.jimmysong.io/library/nginx:1.9
2017-04-14 17:39:40 +08:00
ports:
- containerPort: 80