DevOps

Kubernetes Basics

Pods, Deployments, Services, ConfigMaps, Secrets, namespaces, kubectl commands, troubleshooting CrashLoopBackOff

26 питань зі співбесід·
Mid-Level
1

What is a Pod in Kubernetes?

Відповідь

A Pod is the smallest deployable unit in Kubernetes. It encapsulates one or more containers that share the same network namespace, storage space, and IP address. Containers within a Pod can communicate via localhost and share the same lifecycle. In most cases, a Pod contains a single main container, but sidecar containers can be added for features like logging or monitoring.

2

What are the two main components of the Kubernetes control plane?

Відповідь

The Kubernetes control plane mainly comprises the API Server (kube-apiserver) which exposes the Kubernetes API and serves as the entry point for all operations, and etcd which is the distributed key-value database storing cluster state. Other components include the scheduler (kube-scheduler) that assigns Pods to nodes, and the controller manager (kube-controller-manager) that runs control loops. The API Server is the central component that all other components communicate with.

3

What is the role of kubelet in a Kubernetes node?

Відповідь

The kubelet is an agent running on each worker node of the cluster. It is responsible for managing Pods on its node: it monitors Pod specifications assigned by the API Server, starts and stops containers via the container runtime, monitors their health via probes (liveness, readiness), and reports status to the control plane. The kubelet ensures that containers defined in PodSpecs are running and healthy.

4

What is the difference between a liveness probe and a readiness probe?

5

What are labels used for in Kubernetes?

+23 питань зі співбесід

Інші теми співбесід DevOps

Version Control & Git

Junior
20 запитань

Linux Fundamentals

Junior
22 запитань

Shell Scripting & Bash

Mid-Level
20 запитань

Networking Basics

Junior
22 запитань

Docker Fundamentals

Junior
24 запитань

CI/CD Fundamentals

Junior
18 запитань

GitHub Actions

Mid-Level
22 запитань

GitLab CI/CD

Mid-Level
22 запитань

Jenkins

Mid-Level
22 запитань

Kubernetes Networking

Mid-Level
24 запитань

Kubernetes Advanced

Mid-Level
24 запитань

Ingress & API Gateway

Mid-Level
20 запитань

Terraform Basics

Mid-Level
22 запитань

Terraform Advanced

Mid-Level
22 запитань

Ansible & Configuration Management

Mid-Level
20 запитань

AWS Essentials

Mid-Level
26 запитань

Azure Fundamentals

Mid-Level
22 запитань

GCP Fundamentals

Mid-Level
22 запитань

Monitoring & Prometheus

Mid-Level
22 запитань

Logging & ELK Stack

Mid-Level
20 запитань

Alerting & Incident Response

Mid-Level
20 запитань

Cloud Identity & Secrets

Mid-Level
22 запитань

CI/CD Pipeline Security

Mid-Level
20 запитань

Helm & Kubernetes

Mid-Level
20 запитань

Runtime & Cluster Security

Senior
24 запитань

Container Supply Chain Security

Senior
22 запитань

Service Mesh & Istio

Senior
24 запитань

GitOps & ArgoCD

Senior
22 запитань

Progressive Delivery

Senior
20 запитань

Distributed Observability

Senior
22 запитань

Disaster Recovery & Backup

Senior
20 запитань

Performance Optimization

Senior
22 запитань

Cloud Cost Optimization

Senior
20 запитань

SRE Principles

Senior
24 запитань

Chaos Engineering

Senior
20 запитань

Platform Engineering

Senior
22 запитань

Опануй DevOps для наступної співбесіди

Отримай доступ до всіх питань, flashcards, технічних тестів, вправ code review та симуляторів співбесід.

Почни безкоштовно