Write new task: Defining a Command and Arguments for a Container.

This commit is contained in:
steveperry-53
2016-10-20 11:05:23 -07:00
parent bdf87564b3
commit 32f45fb417
4 changed files with 88 additions and 0 deletions
@@ -0,0 +1,12 @@
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"]