b5f6df9926
* Consolidate YAML files [part-8] This PR exacts the YAML files referenced from the following subdirs: - docs/concepts/workloads - docs/concepts/configuration - docs/concepts/policy The following problems are fixed: - docs/concepts/workloads/controllers/ doesnt have a 'cronjob.yaml for test - the exactly same `pod.yaml` was used in both the task/config-pod-container topic and the concepts/configuration topics. * Update examples_test.go * Add missing yaml file.
14 lines
265 B
YAML
14 lines
265 B
YAML
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
|