apiVersion: v1
kind: Pod
metadata:
    name: command-demo
    labels:
        purpose: demonstrate-command
spec:
    containers:
        - name: command-demo-ctr
          image: debian
          command: ["printenv"]
          args: ["HOSTNAME", "KUBERNETES_PORT"]
    restartPolicy: OnFailure
