Q.) You notice a Pod in a namespace stuck in CrashLoopBackOff.
How would you systematically troubleshoot this ? What are the most common root causes, and what Kubernetes commands and diagnostic steps would you use to identify and resolve them?
Q.) After successfully deploying a Deployment, a Pod remains in Pending status indefinitely.
Walk me through how you would diagnose this situation like what commands would you run, what events or configurations would you examine, and what typical causes (like scheduling constraints or resource issues) lead to this state ?
Q.) You need to grant a specific user or group read-only access to view Pod logs across a namespace (without allowing them to modify resources).
How would you define a Kubernetes RBAC Role and RoleBinding (or ClusterRole/ClusterRoleBinding) to enforce this? Please include the minimum verbs and API groups needed.
I'll be posting a series of DevOps related questions covering various skill levels. Feel free to share your insights and expertise. Your contributions will benefit learners at all stages, from those in current roles to those preparing for DevOps interviews.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.