Init Containers-Kubernetes Certification- Crack the CKA with WeMakeDevOps



init containers: which run before the main containers get started in the same POD.
1) Init containers always run to completion.
2) Each init container must complete successfully before the next one starts.

https://kubernetes.io/docs/concepts/workloads/pods/init-containers/

###################################################################
Problem Statement: Add a init container in given pod manifest file.
Condition: Pod status should be running and do not delete any existing configuration
Twist:
/work/sharedfile.txt should exist in mount Volume

Solution:
1) Need to Add init container as per the task
2) Init Container will create this file (/work/sharedfile.txt) in the same mount Volume before to start main container in the same POD.

source

Avatar of WeMake

By WeMake

6 thoughts on “Init Containers-Kubernetes Certification- Crack the CKA with WeMakeDevOps”
  1. Hi Sir, Your videos are of good help. Need some clarification on how to upgrade a cluster setup . can you please share ur personal email id or ph number. want to discuss the same. Have scheduled my exam for tomorrow. so i am in bit hurry. Kindly reply.
    Thanks in advance.

  2. Hello sir. How to get in touch with you..I am planning to take cka exams..I have some doubts to clear over taking the exam..please help me here

  3. Can you please copy code here.. unable to replicate. Getting error while sh commands

  4. How many points did this question had in the exam? Is this question from the ones considered "hard"

  5. Make a video on vim editor. How can we use during exam? What setup we have to do for exam in editor.

Leave a Reply

Your email address will not be published.

Captcha loading...