Difference between revisions of "Kubectl create configmap"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
  [[kubectl create]] configmap YOUR-CONFIMAP-NAME YOUR-DATA-SOURCE
 
  [[kubectl create]] configmap YOUR-CONFIMAP-NAME YOUR-DATA-SOURCE
  
 +
kubectl create configmap yourspecial-config [[--from-literal]]=special.how=very --from-literal=special.type=charm
  
 
== Related ==
 
== Related ==

Revision as of 07:54, 9 September 2022

kubectl create configmap YOUR-CONFIMAP-NAME YOUR-DATA-SOURCE
kubectl create configmap yourspecial-config --from-literal=special.how=very --from-literal=special.type=charm

Related

kind: ConfigMap
kubectl apply -f /path/to/your/aws-ingress-nginx-config.yaml
configmap/nginx-config created

See also

Advertising: