Question 11

A Deployment named 'my-app-deployment' is experiencing frequent crashes. You suspect that a specific container within the Deployment is causing the crashes. How would you use Kubernetes tools and techniques to isolate and debug the problematic container?

Question 12

For this item, you will have to ssh to the nodes ik8s-master-0 and ik8s-node-0 and complete all tasks on these nodes. Ensure that you return to the base node (hostname: node-1) when you have completed this item.
Context
As an administrator of a small development team, you have been asked to set up a Kubernetes cluster to test the viability of a new application.
Task You must use kubeadm to perform this task. Any kubeadm invocations will require the use of the --ignore-preflight-errors=all option.
Configure the node ik8s-master-O as a master node. .
Join the node ik8s-node-o to the cluster.

Question 13

Create an nginx pod which reads username as the environment variable
  • Question 14

    Get the list of pods of webapp deployment
  • Question 15

    You have a deployment that uses an init container to perform a specific initialization task before the main application container starts. How can you configure the init container to ensure that it runs successfully before the main container starts, even if the init container fails several times?