DevOps/Kubernetes/pod-definition-with-commands.yml

12 lines
149 B
YAML

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