From the course: Certified Kubernetes Administrator (CKA) Cert Prep (2024)
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Managing application initialization - Kubernetes Tutorial
From the course: Certified Kubernetes Administrator (CKA) Cert Prep (2024)
Managing application initialization
- So the next task is managing application initialization. So the assignment was to create a deployment with the name lab124deploy, which runs the Nginx image, but waits 30 seconds before starting the actual Pod. So this assignment is all about an init Pod, and init Pod, well, that is something that you can easily obtain from the documentation. So let's go to the documentation, and let's look up init Pod. And there we go, Init Container. Yeah, that's right, init container, that's the appropriate name. It's not an init Pod. Sorry for that. So here you can see what it looks like. And this is the Pod specification. So I'm just going to copy the Pod specification because that makes it easier to put it in the application that I want to run. So create a deployment with the name lab124deploy, which runs the Nginx image. That will be kubectl create deploy, right? But wait 30 seconds before starting the actual Pod. So we need to run Nginx, and we need to run BusyBox as an init container. So…
Contents
-
-
-
-
-
-
-
-
-
-
-
-
-
-
(Locked)
Module 4: Practice exams introduction26s
-
(Locked)
Learning objectives41s
-
(Locked)
Question overview3m 21s
-
(Locked)
Creating a Kubernetes cluster4m 2s
-
(Locked)
Scheduling a Pod2m 57s
-
(Locked)
Managing application initialization4m 7s
-
(Locked)
Setting up persistent storage2m 24s
-
(Locked)
Configuring application access3m 16s
-
(Locked)
Securing network traffic8m 37s
-
(Locked)
Setting up quota5m 55s
-
(Locked)
Creating a static Pod2m 6s
-
(Locked)
Troubleshooting node services2m 10s
-
(Locked)
Configuring cluster access7m 19s
-
(Locked)
Configuring taints and tolerations5m 5s
-
(Locked)
-
-