Kubernetes Administrator: Configuring ConfigMaps & Kubernetes Secrets


Overview/Description
Expected Duration
Lesson Objectives
Course Number
Expertise Level



Overview/Description
Kubernetes uses ConfigMaps to store and share unencrypted configuration information. They bind configuration artifacts of Kubernetes to the Pod containers and system components dynamically. In this course you’ll explore the role of ConfigMaps and the different approaches of using ConfigMaps along with the different types of Kubernetes Secrets and the different approaches of using Secrets in Pods. You’ll create ConfigMaps from single file, multiple files, and from generators. Next, you’ll create ConfigMaps containing multiple key-value pairs and use ConfigMaps to define environment variables. Moving on, you’ll create Secrets using a Secret config file, by defining a secretGenerator and also define container environment variables using the date from Secrets. Finally, you’ll use the Kubectl apply command to create a Pod, provide access to the Secret data through a volume, create an imagePullSecret and add image pull secret to the service account. This course is part of a series that aligns with the objectives for the Certified Kubernetes Administrator exam and can be used to prepare for this exam.

Expected Duration (hours)
1.0

Lesson Objectives

Kubernetes Administrator: Configuring ConfigMaps & Kubernetes Secrets

  • discover the key concepts covered in this course
  • describe the role of ConfigMaps and the different approaches of using ConfigMaps and configuring containers inside Pods
  • use Kubectl to create ConfigMap commands and create ConfigMaps from single and multiple files
  • create ConfigMaps from generators and apply them to create objects on the API server
  • define container environment variable using data from a single ConfigMap
  • create ConfigMaps containing multiple key-value pairs and define ConfigMaps' data as container environment variables
  • create configuration files to populate a specific path in a volume with data that are stored in a ConfigMap
  • recall the concept and different types of Kubernetes Secrets along with the different approaches of using Secrets in Pods
  • create a Secret config file and create Secrets using the Secret config file
  • generate a Secret by defining a secretGenerator in a kustomization.yaml file
  • create a configuration file and use the Kubectl apply command to create a Pod and provide access to the Secret data through a volume
  • define container environment variables with data from multiple Secrets and configure all key-value pairs in a Secret as container environment variables
  • create an imagePullSecret and add image pull secret to the service account
  • summarize the key concepts covered in this course
  • Course Number:
    it_dokca_07_enus

    Expertise Level
    Intermediate