Kubernetes ConfigMap Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
Line 6: Line 6:


=Create a ConfigMap with CLI=
=Create a ConfigMap with CLI=
==Specify Key/Value Pairs on Command Line==
kubectl create configmap example --from-literal=color=red --from-literal=shape=square

Revision as of 21:49, 22 October 2019

External

Internal

Create a ConfigMap with CLI

Specify Key/Value Pairs on Command Line

kubectl create configmap example --from-literal=color=red --from-literal=shape=square