DevOps/Kubernetes/pod-definition-with-commands-and-arguments-1.yml

12 lines
147 B
YAML

apiVersion: v1
kind: Pod
metadata:
name: ubuntu-sleeper
spec:
containers:
- name: ubuntu
image: ubuntu
command: ["sleep","5000"]