cat << EOF > cmd-args.yaml apiVersion: v1 kind: Pod metadata: name: cmd-args spec: restartPolicy: OnFailure containers: - image: nginx name: cmd-args-nginx ports: - containerPort: 80 protocol: TCP command: ["/bin/echo"] args: ["hello"] EOF