From ad3e55f55471c93a2874f70ee2d807b9ce45a991 Mon Sep 17 00:00:00 2001 From: Xiaoyu Zhang Date: Sat, 22 Apr 2017 17:33:44 +0800 Subject: [PATCH] update output of configmap.md The output may lack some columns. --- docs/tasks/configure-pod-container/configmap.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tasks/configure-pod-container/configmap.md b/docs/tasks/configure-pod-container/configmap.md index 77fe811db7..395d41dff7 100644 --- a/docs/tasks/configure-pod-container/configmap.md +++ b/docs/tasks/configure-pod-container/configmap.md @@ -548,9 +548,9 @@ invalid keys that were skipped. The example shows a pod which refers to the default/myconfig ConfigMap that contains 2 invalid keys, 1badkey and 2alsobad. ```shell -$ kubectl.sh get events -LASTSEEN FIRSTSEEN COUNT NAME KIND SUBOBJECT TYPE REASON -0s 0s 1 dapi-test-pod Pod Warning InvalidEnvironmentVariableNames kubelet, 127.0.0.1 Keys [1badkey, 2alsobad] from the EnvFrom configMap default/myconfig were skipped since they are considered invalid environment variable names. +$ kubectl get events +LASTSEEN FIRSTSEEN COUNT NAME KIND SUBOBJECT TYPE REASON SOURCE MESSAGE +0s 0s 1 dapi-test-pod Pod Warning InvalidEnvironmentVariableNames {kubelet, 127.0.0.1} Keys [1badkey, 2alsobad] from the EnvFrom configMap default/myconfig were skipped since they are considered invalid environment variable names. ``` ConfigMaps reside in a namespace. They can only be referenced by pods in the same namespace.