From the course: Certified Kubernetes Application Developer (CKAD) Cert Prep
Unlock this course with a free trial
Join today to access over 25,300 courses taught by industry experts.
Creating a ConfigMap - Kubernetes Tutorial
From the course: Certified Kubernetes Application Developer (CKAD) Cert Prep
Creating a ConfigMap
- Right, the next task was to create a file with the name 'index.html' and a content, 'Welcome to task 3 webServer'. Next you create a config map with the name, 'task3cm' that includes the content of this file. And then you run a pod with the name 'oregonpod' that mounts a config map on the directory, /usr/share/nginx/html/. And hey that looks like something we have seen before. We need to create a pod that mounts a config map. Oh boy, pods that mount a config map. Well, does it make sense to go through the deployment for this one? No, because there is no imperative way to mount config maps in an easy way anyway. So I think we are going to use the documentation for this one. Okay, now that we have a plan, let's do it. And that is by the way something that I would recommend all the time when you are on the exam. First make a plan for every single task. Make a plan how am I going to do this. And once you have your plan, you are going to implement it. Now index html that will be echo…
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Module 7: Sample exam introduction13s
-
(Locked)
Learning objectives47s
-
(Locked)
Exam tips5m 9s
-
(Locked)
Tasks overview6m 54s
-
(Locked)
Grading the exam57s
-
(Locked)
Working with namespaces5m 23s
-
(Locked)
Finding pods1m 38s
-
(Locked)
Creating a ConfigMap5m 31s
-
(Locked)
Using a sidecar4m 56s
-
(Locked)
Using probes1m 30s
-
(Locked)
Creating a deployment4m 48s
-
(Locked)
Exposing applications3m 24s
-
(Locked)
Managing NetworkPolicy4m 44s
-
(Locked)
Using storage5m 37s
-
(Locked)
Using Helm1m 36s
-
(Locked)
Managing resource restrictions2m 18s
-
(Locked)
Creating canary deployments5m 22s
-
(Locked)
Defining container restrictions4m 6s
-
(Locked)
Using a Dockerfile2m 26s
-
(Locked)
Using ServiceAccount2m 32s
-
(Locked)
-