摘要:
1. Define a yml file: nginx.pod.yml: apiVersion: v1 kind: Pod metadata: name: my-nginx labels: app: nginx rel: stable spec: containers: - name: my-ngi 阅读全文
posted @ 2019-10-27 22:39
Zhentiw
阅读(209)
评论(0)
推荐(0)
摘要:
1. Create and run a Pod kubectl run my-nginx --image=nginx:alpine We can run kubectl get all to see what has been created: 2. Delete a Pod: kubectl de 阅读全文
posted @ 2019-10-27 22:10
Zhentiw
阅读(153)
评论(0)
推荐(0)

浙公网安备 33010602011771号