Merge pull request #21267 from adityaalifn/define-command-argument-container-id

Add ID translation for define-command-argument-container
This commit is contained in:
Kubernetes Prow Robot
2020-06-09 06:43:19 -07:00
committed by GitHub
2 changed files with 169 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Pod
metadata:
name: command-demo
labels:
purpose: demonstrate-command
spec:
containers:
- name: command-demo-container
image: debian
command: ["printenv"]
args: ["HOSTNAME", "KUBERNETES_PORT"]
restartPolicy: OnFailure