Kubernetes

Create a YAML of a Pod without actually running the Pod with the kubectl command (use whatever image you prefer)

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

k run some-pod -o yaml --image nginx-unprivileged --dry-run=client > pod.yaml