Update content/ja/docs/tasks/configure-pod-container/configure-pod-configmap.md
Co-authored-by: inductor(Kohei) <kela@inductor.me>pull/20773/head
parent
b66554f1e4
commit
a821f53a02
|
@ -34,7 +34,7 @@ kubectl create configmap <map-name> <data-source>
|
|||
|
||||
\<map-name>の部分はConfigMapに割り当てる名前で、\<data-source>はデータを取得するディレクトリ、ファイル、またはリテラル値です。ConfigMapのオブジェクト名は有効な[DNSサブドメイン名](/docs/concepts/overview/working-with-objects/names#dns-subdomain-names)である必要があります。
|
||||
|
||||
ファイルを基にConfigMapを作成する場合、\<data-source> のキーはデフォルトでファイルのベース名になり、値はデフォルトでファイルのコンテンツになります。
|
||||
ファイルをベースにConfigMapを作成する場合、\<data-source> のキーはデフォルトでファイルのベース名になり、値はデフォルトでファイルのコンテンツになります。
|
||||
|
||||
[`kubectl describe`](/docs/reference/generated/kubectl/kubectl-commands/#describe)または
|
||||
[`kubectl get`](/docs/reference/generated/kubectl/kubectl-commands/#get)を使用して、ConfigMapに関する情報を取得できます。
|
||||
|
|
Loading…
Reference in New Issue