kubectl create configmap

Jmnote (토론 | 기여)님의 2023년 11월 28일 (화) 16:59 판 (새 문서: ==개요== {{소문자}} ;kubectl create cm ;kubectl create configmap <syntaxhighlight lang='console'> # kubectl create configmap greet --from-literal=hello=world configmap/greet cre...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

1 개요

kubectl create cm
kubectl create configmap
Console
Copy
# kubectl create configmap greet --from-literal=hello=world
configmap/greet created
Console
Copy
# kubectl get configmap greet -oyaml
apiVersion: v1
data:
  hello: world
kind: ConfigMap
metadata:
  creationTimestamp: "2023-11-28T07:56:17Z"
  name: greet
  namespace: default
  resourceVersion: "579136802"
  uid: b0d80f24-6913-5c70-e2a4-681d3c5f7b9d

2 같이 보기