pod-definition.yml
apiVersion: v1
kind: Pod
metadata:
name: ubuntu-sleeper-pod
spec:
containers:
- name: ubuntu-sleeper
image: ubuntu-sleeper
command: ["sleep2.0"] ##对应dockerfile中的ENTRYPOINT
args: ["10"] ##对应dockerfile中的CMD
标签:Kubernetes,##,十八,sleeper,笔记,ubuntu,pod,dockerfile
From: https://www.cnblogs.com/Bota5ky/p/16610514.html