Kubernetes is a popular tool in DevOps. What is its main job?
Think about how apps run in many small parts called containers.
Kubernetes helps run and manage containers on many machines, making apps reliable and easy to scale.
When you run kubectl get pods, what information do you get?
Pods are the smallest units that run containers in Kubernetes.
The command lists all pods, which are groups of containers running in the cluster.
Put these steps in the correct order to deploy an app on Kubernetes.
Think about writing config first, then applying it, checking status, and finally exposing.
You first write the deployment file, then apply it to create resources, check pods, and expose the app.
You deploy a pod but it never starts. The image name is wrong. What error will Kubernetes show?
Think about errors related to pulling container images.
ImagePullBackOff means Kubernetes tried but failed to download the container image.
To keep your app always running even if some pods fail, what should you do?
Think about spreading risk by having copies of your app running.
Running multiple replicas ensures if one pod fails, others keep serving the app.