Kubernetes Handbook
  • Introduction
  • Prerequisites
    • What is Containerization
    • What is Docker
    • Difference between Docker and VM
  • Features of Kubernetes
    • What is Kubernetes
    • Features of Kubernetes - 1
    • Features of Kubernetes - 2
    • Which Tool to Use for Orchestration
  • Architecture
    • Master Node
    • etcd and kubectl
    • Worker Nodes
  • Pods and Nodes
    • Nodes
    • Pods
  • Controllers
    • Benefits of Controllers
    • Kinds of Controllers
  • Minikube
    • What is Minikube
  • Installation and Running (Mac OS)
    • Installation
    • Running Hello World Application
  • Labels Namespaces and Selectors
    • Labels
    • Namespaces
    • Selectors
  • Health Checks Rollouts and Rollbacks
    • Health Checks
    • Rollouts and Rollbacks
  • Config Maps and Secrets
    • Config Maps
    • Secrets
  • Running Jobs
    • How to Run Jobs
  • Dashboard and Debugging
    • Kubernetes Dashboard
    • Debugging
Powered by GitBook
On this page

Was this helpful?

  1. Config Maps and Secrets

Config Maps

Config Maps are used to change something such as URL or name at deployment time.

Working with Config Maps

$ kubectl create configmap logger - —from-literal=log_level=debug

Create a config map with log_level = debug

$ kubectl get configmaps

Get all config maps present in cluster

$ kubectl get configmap/logger -o yaml

Output config map as a yaml file.

PreviousRollouts and RollbacksNextSecrets

Last updated 3 years ago

Was this helpful?