
Kubernetes Basics
Pods, Deployments, Services, ConfigMaps, Secrets, namespaces, kubectl commands, troubleshooting CrashLoopBackOff
1What is a Pod in Kubernetes?
What is a Pod in Kubernetes?
Antwort
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.
2What are the two main components of the Kubernetes control plane?
What are the two main components of the Kubernetes control plane?
Antwort
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.
3What is the role of kubelet in a Kubernetes node?
What is the role of kubelet in a Kubernetes node?
Antwort
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.
What is the difference between a liveness probe and a readiness probe?
What are labels used for in Kubernetes?
+23 Interview-Fragen
Weitere DevOps-Interviewthemen
Version Control & Git
Linux Fundamentals
Shell Scripting & Bash
Networking Basics
Docker Fundamentals
CI/CD Fundamentals
GitHub Actions
GitLab CI/CD
Jenkins
Kubernetes Networking
Kubernetes Advanced
Ingress & API Gateway
Terraform Basics
Terraform Advanced
Ansible & Configuration Management
AWS Essentials
Azure Fundamentals
GCP Fundamentals
Monitoring & Prometheus
Logging & ELK Stack
Alerting & Incident Response
Cloud Identity & Secrets
CI/CD Pipeline Security
Helm & Kubernetes
Runtime & Cluster Security
Container Supply Chain Security
Service Mesh & Istio
GitOps & ArgoCD
Progressive Delivery
Distributed Observability
Disaster Recovery & Backup
Performance Optimization
Cloud Cost Optimization
SRE Principles
Chaos Engineering
Platform Engineering
Meistere DevOps für dein nächstes Interview
Zugang zu allen Fragen, Flashcards, technischen Tests, Code-Review-Übungen und Interview-Simulatoren.
Kostenlos starten