Actual Console Output : root@ubuntu:~/practice1$ kubectl create -f https://k8s.io/examples/configmap/configmap-multikeys.yaml configmap/special-config created root@ubuntu:~/practice1$ kubectl get configmaps special-config NAME DATA AGE special-config 2 17s root@ubuntu:~/practice1$ kubectl get configmaps special-config -o yaml apiVersion: v1 data: SPECIAL_LEVEL: very SPECIAL_TYPE: charm kind: ConfigMap metadata: creationTimestamp: "2019-03-30T06:52:22Z" name: special-config namespace: default resourceVersion: "1404079" selfLink: /api/v1/namespaces/default/configmaps/special-config uid: 5ec833dd-52b8-11e9-b4c7-005056ad4679 root@ubuntu:~/practice1$ kubectl create -f https://k8s.io/examples/pods/pod-configmap-volume.yaml pod/dapi-test-pod created root@ubuntu:~/practice1$ kubectl logs dapi-test-pod SPECIAL_LEVEL SPECIAL_TYPE Need to update this manfiest as well : pods/pod-configmap-volume-specific-key.yaml |
||
---|---|---|
.. | ||
de | ||
en | ||
fr | ||
it | ||
ja | ||
ko | ||
no | ||
zh |