Skip to content

Glossary: Kubernetes Basics

--from-file, --from-literal

Also written: --from-file, --from-literal

Options of `kubectl create configmap` (and `create secret`): `--from-file` makes one key per file, and `--from-literal=KEY=VALUE` adds one value typed on the command line.

Where the book teaches it

Related terms

ConfigMapSecret