ఈ Top 100 Kubernetes Interview Questions and Answers in Telugu – 2026 guideను Kubernetes Developer, .NET Developer, DevOps Engineer, Cloud Engineer, Microservices Developer మరియు Solution Architect interviews కోసం ఉపయోగించుకోవచ్చు.
Kubernetes అనేది containerized applicationsను deployment, scaling, management మరియు automation చేయడానికి ఉపయోగించే open-source container orchestration platform. Kubernetes cluster ప్రధానంగా Control Plane + Worker Nodesతో ఉంటుంది. (Kubernetes)
Part 1: Kubernetes Basics
1. Kubernetes అంటే ఏమిటి?
Answer:
Kubernetes లేదా K8s అనేది containersను deploy, manage, scale మరియు automate చేయడానికి ఉపయోగించే open-source container orchestration platform.
ఉదాహరణకు, మన దగ్గర 20 microservices ఉంటే వాటిని manually deploy చేయడం కష్టం. Kubernetes వాటి deployment, scaling, networking, health checking వంటి పనులను automate చేస్తుంది.
2. Kubernetes ఎందుకు ఉపయోగిస్తారు?
Answer:
Kubernetes ప్రధానంగా:
- Container deployment
- Automatic scaling
- Load balancing
- Service discovery
- Self-healing
- Rolling updates
- Rollbacks
- Configuration management
- Secret management
- Resource management
కోసం ఉపయోగిస్తారు.
3. Kubernetes మరియు Docker మధ్య తేడా ఏమిటి?
Answer:
| Docker | Kubernetes |
|---|---|
| Container technology | Container orchestration platform |
| Container build/run చేయవచ్చు | Multiple containers manage చేస్తుంది |
| Dockerfile ఉపయోగిస్తుంది | YAML manifests ఉపయోగిస్తుంది |
| Single machine/container focus | Cluster-level management |
| Basic networking | Advanced service networking |
| Manual scaling ఎక్కువ | Automatic scaling support |
Simple Example:
Docker = ఒక car engine
Kubernetes = మొత్తం transportation management system.
4. Kubernetes యొక్క main components ఏమిటి?
Answer:
Kubernetes clusterలో ముఖ్యమైన components:
Control Plane:
- kube-apiserver
- etcd
- kube-scheduler
- kube-controller-manager
- cloud-controller-manager
Worker Node:
- kubelet
- kube-proxy
- Container Runtime
Official Kubernetes documentation కూడా ఈ architectureను Control Plane మరియు Worker Nodesగా వివరిస్తుంది. (Kubernetes)
5. Kubernetes Cluster అంటే ఏమిటి?
Answer:
Kubernetes cluster అనేది Kubernetes ద్వారా managed అయ్యే machines/nodes సమూహం.
సాధారణంగా:
Kubernetes Cluster
|
+-- Control Plane
|
+-- Worker Node 1
|
+-- Worker Node 2
|
+-- Worker Node 3
Worker nodes మీద application Pods run అవుతాయి. (Kubernetes)
6. Control Plane అంటే ఏమిటి?
Answer:
Control Plane మొత్తం Kubernetes clusterను control మరియు manage చేస్తుంది.
దీని ముఖ్యమైన components:
API Server
etcd
Scheduler
Controller Manager
Cloud Controller Manager
ఉదాహరణకు user kubectl apply చేసినప్పుడు request మొదట API Serverకు వెళ్తుంది.
7. Worker Node అంటే ఏమిటి?
Answer:
Worker Node అనేది actual application workloads run అయ్యే machine.
దీనిలో సాధారణంగా:
- kubelet
- container runtime
- kube-proxy
ఉంటాయి. (Kubernetes)
8. kube-apiserver అంటే ఏమిటి?
Answer:
kube-apiserver Kubernetes clusterకు ప్రధాన API interface.
ఇది:
- kubectl requests
- Kubernetes clients
- Controllers
- Scheduler
వంటి componentsతో communication చేస్తుంది.
API Server Kubernetes control plane యొక్క front endగా పనిచేస్తుంది. (Kubernetes)
9. etcd అంటే ఏమిటి?
Answer:
etcd అనేది Kubernetes cluster యొక్క distributed key-value store.
Kubernetes cluster state మరియు API dataను store చేయడానికి ఇది ఉపయోగించబడుతుంది.
Kubernetes
|
API Server
|
etcd
Production clusterలో etcd data backup చాలా ముఖ్యమైనది. (Kubernetes)
10. kube-scheduler అంటే ఏమిటి?
Answer:
కొత్త Pod ఏ Worker Node మీద run కావాలో kube-scheduler నిర్ణయిస్తుంది.
Scheduler:
- Unscheduled Podను గుర్తిస్తుంది.
- Available Nodesను evaluate చేస్తుంది.
- Resources, affinity, constraints మొదలైన వాటిని పరిశీలిస్తుంది.
- Suitable Nodeను select చేస్తుంది.
Part 2: Pods and Workloads
11. Pod అంటే ఏమిటి?
Answer:
Pod అనేది Kubernetesలో smallest deployable compute object.
ఒక Podలో ఒకటి లేదా ఎక్కువ containers ఉండవచ్చు.
Pod
|
+-- Container
|
+-- Container
చాలా applicationsలో ఒక Podలో ఒక primary application container ఉంటుంది.
12. Pod ఎందుకు అవసరం?
Answer:
Kubernetes containersను directly manage చేయకుండా Pods ద్వారా manage చేస్తుంది.
Pod provides:
- Shared network namespace
- Shared storage
- Container lifecycle management
- Application execution unit
13. ఒక Podలో multiple containers ఎందుకు ఉంచుతారు?
Answer:
Closely coupled containers కోసం ఉపయోగిస్తారు.
ఉదాహరణ:
Pod
|
+-- Application Container
|
+-- Logging Sidecar
Application logsను sidecar container collect చేయవచ్చు.
14. Pod IP అంటే ఏమిటి?
Answer:
ప్రతి Podకు cluster networkలో ఒక IP address ఉంటుంది.
ఉదాహరణ:
Pod A → 10.10.1.5
Pod B → 10.10.1.6
అయితే Pods recreate అయినప్పుడు IP మారవచ్చు. అందుకే stable communication కోసం Kubernetes Service ఉపయోగిస్తాం.
15. Pod restart అయితే ఏమవుతుంది?
Answer:
Podలో container failure జరిగితే kubelet configured restart policy ప్రకారం containerను restart చేయవచ్చు.
Pod పూర్తిగా delete/recreate అయితే కొత్త Podకు కొత్త IP రావచ్చు.
16. Deployment అంటే ఏమిటి?
Answer:
Deployment అనేది stateless applications కోసం Pods మరియు ReplicaSetsను manage చేసే Kubernetes workload resource.
ఉదాహరణ:
apiVersion: apps/v1
kind: Deployment
metadata:
name: webapp
spec:
replicas: 3
selector:
matchLabels:
app: webapp
ఇక్కడ 3 replicas maintain చేయడానికి Kubernetes ప్రయత్నిస్తుంది.
17. ReplicaSet అంటే ఏమిటి?
Answer:
ReplicaSet ఒక specified number of Pod replicas runningలో ఉండేలా చూసుకుంటుంది.
ఉదాహరణ:
replicas: 3
ఒక Pod failure అయితే ReplicaSet replacement Pod create చేయడానికి ప్రయత్నిస్తుంది.
18. Deployment మరియు ReplicaSet మధ్య తేడా?
Answer:
ReplicaSet: Pods యొక్క desired number maintain చేస్తుంది.
Deployment: ReplicaSetsను manage చేస్తూ:
- Rolling updates
- Rollbacks
- Version management
- Replica management
వంటి features ఇస్తుంది.
19. StatefulSet అంటే ఏమిటి?
Answer:
Stateful applications కోసం StatefulSet ఉపయోగిస్తారు.
ఉదాహరణ:
- Database
- Kafka
- ZooKeeper
- Stateful distributed applications
StatefulSet Podsకు stable identity మరియు persistent storage patterns అందిస్తుంది.
20. Deployment vs StatefulSet?
Answer:
| Deployment | StatefulSet |
|---|---|
| Stateless apps | Stateful apps |
| Pods interchangeable | Pods have stable identity |
| Web/API applications | Databases |
| Usually shared/external state | Persistent state |
21. DaemonSet అంటే ఏమిటి?
Answer:
ప్రతి eligible Node మీద ఒక Pod run చేయడానికి DaemonSet ఉపయోగిస్తారు.
ఉదాహరణ:
Node 1 → Logging Pod
Node 2 → Logging Pod
Node 3 → Logging Pod
Logging agents మరియు node monitoring agents కోసం ఇది common.
22. Job అంటే ఏమిటి?
Answer:
ఒక taskను completion వరకు run చేయడానికి Kubernetes Job ఉపయోగిస్తారు.
ఉదాహరణ:
Database Migration
↓
Job
↓
Pod runs
↓
Completed
23. CronJob అంటే ఏమిటి?
Answer:
Scheduled jobs run చేయడానికి CronJob ఉపయోగిస్తారు.
ఉదాహరణ:
Every day at 2 AM
↓
CronJob
↓
Job
↓
Pod
Backup, cleanup, reports వంటి scheduled tasksకు ఉపయోగించవచ్చు.
24. Deploymentలో replicas అంటే ఏమిటి?
Answer:
replicas అంటే application యొక్క ఎన్ని Pod instances run కావాలో సూచిస్తుంది.
spec:
replicas: 5
అంటే Kubernetes 5 Pod replicas maintain చేయడానికి ప్రయత్నిస్తుంది.
25. Kubernetes Self-Healing అంటే ఏమిటి?
Answer:
Kubernetes desired stateను maintain చేయడానికి ప్రయత్నిస్తుంది.
ఉదాహరణ:
Desired Pods = 3
Pod 1 → Running
Pod 2 → Running
Pod 3 → Failed
Kubernetes replacement Podను create చేయడానికి ప్రయత్నిస్తుంది.
Controllers desired state మరియు current state మధ్య differenceను continuously reconcile చేస్తాయి. (Kubernetes)
Part 3: Services and Networking
26. Kubernetes Service అంటే ఏమిటి?
Answer:
Service అనేది Pods కోసం stable network endpoint అందించే Kubernetes resource.
Pods dynamic కావడం వల్ల వాటి IP addresses మారవచ్చు.
Service:
Client
|
Service
|
+-- Pod
+-- Pod
+-- Pod
గా trafficను Podsకి route చేయడానికి ఉపయోగపడుతుంది.
27. Kubernetesలో Service Types ఏమిటి?
Answer:
ప్రధాన Service types:
- ClusterIP
- NodePort
- LoadBalancer
- ExternalName
28. ClusterIP అంటే ఏమిటి?
Answer:
ClusterIP default Service type.
ఇది cluster లోపల మాత్రమే accessible.
Frontend Pod
|
v
ClusterIP Service
|
+-- Backend Pod
Internal microservice communicationకు ఇది common.
29. NodePort అంటే ఏమిటి?
Answer:
NodePort Service ద్వారా ప్రతి node మీద ఒక port expose చేయవచ్చు.
ఉదాహరణ:
Node IP : 30080
|
v
Service
|
v
Pods
30. LoadBalancer Service అంటే ఏమిటి?
Answer:
Cloud environmentలో external load balancer provision చేయడానికి LoadBalancer Service ఉపయోగించవచ్చు.
ఉదాహరణ:
Internet
|
Cloud Load Balancer
|
Kubernetes Service
|
Pods
31. Ingress అంటే ఏమిటి?
Answer:
Ingress అనేది HTTP/HTTPS trafficను clusterలోని Servicesకు route చేయడానికి API object.
ఉదాహరణ:
https://example.com/api
|
Ingress
|
API Service
Ingress కోసం ఒక Ingress Controller అవసరం. Kubernetes docsలో Ingress మరియు Ingress Controllers networking conceptsగా ఉన్నాయి. (Kubernetes)
32. Ingress Controller అంటే ఏమిటి?
Answer:
Ingress resource rulesను actual traffic routing behaviorగా implement చేసే componentను Ingress Controller అంటారు.
ఇది HTTP/HTTPS requestsను appropriate backend Servicesకు forward చేస్తుంది.
33. Ingress మరియు LoadBalancer మధ్య తేడా?
Answer:
LoadBalancer:
ఒక Serviceకు external load balancer provide చేయడానికి ఉపయోగిస్తారు.
Ingress:
ఒక common HTTP/HTTPS entry point ద్వారా multiple Servicesను route చేయవచ్చు.
Internet
|
Ingress
/ \
API Web
| |
Svc Svc
34. Kubernetes DNS అంటే ఏమిటి?
Answer:
Kubernetes clusterలో Services మరియు Pods కోసం DNS-based service discovery ఉంటుంది.
ఉదాహరణ:
backend-service
అనే Serviceను application service name ద్వారా access చేయవచ్చు.
35. kube-proxy అంటే ఏమిటి?
Answer:
kube-proxy nodesపై network rules maintain చేయడంలో మరియు Kubernetes Services implementationలో భాగంగా పనిచేస్తుంది. (Kubernetes)
Part 4: Configuration and Security
36. ConfigMap అంటే ఏమిటి?
Answer:
Non-sensitive configuration dataను store చేయడానికి ConfigMap ఉపయోగిస్తారు.
ఉదాహరణ:
Environment = Production
LogLevel = Information
APIUrl = https://api.example.com
37. Secret అంటే ఏమిటి?
Answer:
Sensitive configuration dataను manage చేయడానికి Kubernetes Secret resource ఉపయోగిస్తారు.
ఉదాహరణ:
- Password
- API token
- Certificate
- Credential
Interview point: Secretను ఉపయోగించడం వల్ల application configurationలో sensitive values hard-code చేయకుండా ఉండవచ్చు.
38. ConfigMap మరియు Secret మధ్య తేడా?
Answer:
| ConfigMap | Secret |
|---|---|
| Normal configuration | Sensitive data |
| URLs | Passwords |
| Feature flags | Tokens |
| Log settings | Certificates |
39. Environment Variables Kubernetesలో ఎలా pass చేస్తారు?
Answer:
Pod specificationలో env ఉపయోగించవచ్చు.
env:
- name: APP_ENV
value: "Production"
ConfigMap లేదా Secret నుంచి కూడా environment variables తీసుకోవచ్చు.
40. Namespace అంటే ఏమిటి?
Answer:
Namespace అనేది Kubernetes cluster resourcesను logically isolate/group చేయడానికి ఉపయోగించే mechanism.
ఉదాహరణ:
Cluster
|
+-- Development
|
+-- Testing
|
+-- Production
Large organizationsలో resource organization మరియు access control కోసం ఉపయోగపడుతుంది.
41. RBAC అంటే ఏమిటి?
Answer:
RBAC = Role-Based Access Control
Users/ServiceAccountsకి Kubernetes resourcesపై ఏ permissions ఉండాలో define చేయడానికి ఉపయోగిస్తారు.
ఉదాహరణ:
Developer
↓
Can read Pods
Admin
↓
Can create/delete Pods
42. Role మరియు ClusterRole మధ్య తేడా?
Answer:
Role: ఒక Namespace scopeలో permissions.
ClusterRole: Cluster-level permissions లేదా multiple namespacesలో ఉపయోగించగల permissions.
43. ServiceAccount అంటే ఏమిటి?
Answer:
Pod/application Kubernetes APIతో authenticate అవ్వడానికి ServiceAccount identityగా ఉపయోగించవచ్చు.
ఉదాహరణ:
Pod
|
ServiceAccount
|
RBAC Permissions
|
Kubernetes API
44. NetworkPolicy అంటే ఏమిటి?
Answer:
Pod-to-Pod లేదా Pod-to-external trafficను control చేయడానికి NetworkPolicy ఉపయోగిస్తారు.
ఉదాహరణ:
Frontend → Backend ALLOW
Frontend → Database DENY
ఇది network-level securityకి ఉపయోగపడుతుంది.
45. Kubernetes securityలో ముఖ్యమైన practices ఏమిటి?
Answer:
- RBAC ఉపయోగించడం
- Least privilege
- Secretsను secureగా manage చేయడం
- NetworkPolicies
- Container images scanning
- Resource limits
- Secure API access
- Audit logging
- Regular cluster upgrades
Part 5: Storage
46. Kubernetes Volume అంటే ఏమిటి?
Answer:
Container filesystemకు persistent లేదా shared storage అందించడానికి Volumes ఉపయోగిస్తారు.
47. PersistentVolume అంటే ఏమిటి?
Answer:
PV లేదా PersistentVolume అనేది clusterలో provision చేయబడిన storage resource.
ఉదాహరణ:
Pod
|
PVC
|
PV
|
Cloud Disk / Storage
48. PersistentVolumeClaim అంటే ఏమిటి?
Answer:
Applicationకు storage అవసరాన్ని request చేయడానికి PVC ఉపయోగిస్తారు.
resources:
requests:
storage: 10Gi
49. PV మరియు PVC మధ్య తేడా?
Answer:
PV: Actual storage resource.
PVC: Application/storage consumer చేసే storage request.
Simpleగా:
PV = Storage
PVC = Storage Request
50. StorageClass అంటే ఏమిటి?
Answer:
Dynamic storage provisioning కోసం StorageClass ఉపయోగిస్తారు.
ఉదాహరణ:
PVC
↓
StorageClass
↓
Dynamic Provisioning
↓
Persistent Volume
Part 6: Scheduling
51. Kubernetes Scheduling అంటే ఏమిటి?
Answer:
Podను ఏ Node మీద run చేయాలో నిర్ణయించే processను Scheduling అంటారు.
Scheduler resources మరియు scheduling constraints ఆధారంగా suitable Nodeను select చేస్తుంది. (Kubernetes)
52. NodeSelector అంటే ఏమిటి?
Answer:
Specific label ఉన్న Node మీద Pod run చేయడానికి NodeSelector ఉపయోగిస్తారు.
nodeSelector:
environment: production
53. Node Affinity అంటే ఏమిటి?
Answer:
Pod ఏ Nodes మీద preferably లేదా mandatorily run కావాలో advanced rulesతో define చేయడానికి Node Affinity ఉపయోగిస్తారు.
54. Pod Affinity అంటే ఏమిటి?
Answer:
ఒక Pod మరొక specific Pod దగ్గరగా లేదా అదే topologyలో schedule కావాలంటే Pod Affinity ఉపయోగిస్తారు.
55. Pod Anti-Affinity అంటే ఏమిటి?
Answer:
Certain Pods ఒకే Nodeలో కాకుండా different Nodesలో spread కావడానికి Pod Anti-Affinity ఉపయోగిస్తారు.
High availability scenariosలో ఇది useful.
56. Taint అంటే ఏమిటి?
Answer:
Node మీద కొన్ని Pods schedule కాకుండా restriction పెట్టడానికి Taint ఉపయోగిస్తారు.
Node
|
Taint
|
Only matching Pods allowed
57. Toleration అంటే ఏమిటి?
Answer:
Pod ఒక Node యొక్క Taintను tolerate చేయగలదని చెప్పడానికి Toleration ఉపయోగిస్తారు.
Important:
Toleration itself Podను Nodeకి forceగా schedule చేయదు; scheduling eligibilityలో taint restrictionను tolerate చేయడానికి సహాయపడుతుంది.
58. Taints మరియు Tolerations ఎందుకు ఉపయోగిస్తారు?
Answer:
Special-purpose nodes కోసం.
ఉదాహరణ:
GPU Node
|
Taint
|
GPU workload
|
Toleration
Part 7: Resource Management
59. CPU/Memory Requests అంటే ఏమిటి?
Answer:
Containerకు minimum scheduling resource requirementను define చేయడానికి requests ఉపయోగిస్తారు.
resources:
requests:
cpu: "500m"
memory: "512Mi"
Scheduler Node resourcesను evaluate చేసేటప్పుడు requestsను పరిగణనలోకి తీసుకుంటుంది. (Kubernetes)
60. Limits అంటే ఏమిటి?
Answer:
Container resource usageకు upper boundary define చేయడానికి limits ఉపయోగిస్తారు.
resources:
limits:
cpu: "1"
memory: "1Gi"
61. Requests మరియు Limits మధ్య తేడా?
Answer:
Request: Scheduling కోసం expected/minimum resource requirement.
Limit: Container resource usageకు maximum boundary.
62. Kubernetesలో CPU 500m అంటే ఏమిటి?
Answer:
500m అంటే 0.5 CPU core.
1000m = 1 CPU
500m = 0.5 CPU
250m = 0.25 CPU
63. HPA అంటే ఏమిటి?
Answer:
HPA = Horizontal Pod Autoscaler
CPU, memory లేదా supported metrics ఆధారంగా Pod replicasను automatically scale చేయడానికి ఉపయోగిస్తారు.
Low Load
↓
2 Pods
High Load
↓
5 Pods
64. Horizontal మరియు Vertical Scaling మధ్య తేడా?
Answer:
Horizontal Scaling:
2 Pods → 5 Pods
Pod count పెంచడం.
Vertical Scaling:
CPU: 500m → 1 CPU
Memory: 512Mi → 1Gi
Resource size పెంచడం.
65. Cluster Autoscaler అంటే ఏమిటి?
Answer:
Clusterలో Nodes అవసరానికి అనుగుణంగా add/remove చేయడానికి Cluster Autoscaler ఉపయోగించవచ్చు.
More Pods
↓
Insufficient Node Capacity
↓
Add Node
Part 8: Deployment and Updates
66. Rolling Update అంటే ఏమిటి?
Answer:
Existing Pods అన్నింటినీ ఒకేసారి stop చేయకుండా కొత్త versionను gradually deploy చేయడం Rolling Update.
v1 v1 v1
↓
v2 v1 v1
↓
v2 v2 v1
↓
v2 v2 v2
Downtime తగ్గించడానికి ఇది ఉపయోగపడుతుంది.
67. Rollback అంటే ఏమిటి?
Answer:
New deploymentలో issue వచ్చినప్పుడు previous working versionకి తిరిగి వెళ్లడాన్ని rollback అంటారు.
ఉదాహరణ:
kubectl rollout undo deployment/webapp
68. kubectl rollout status ఏం చేస్తుంది?
Answer:
Deployment rollout status చూడడానికి ఉపయోగిస్తారు.
kubectl rollout status deployment/webapp
69. Blue-Green Deployment అంటే ఏమిటి?
Answer:
రెండు environments maintain చేస్తారు:
Blue → Current Version
Green → New Version
Testing complete అయిన తర్వాత trafficను Greenకి switch చేస్తారు.
70. Canary Deployment అంటే ఏమిటి?
Answer:
New versionను మొదట small percentage usersకి release చేసి observe చేసి, తర్వాత gradually increase చేయడాన్ని Canary Deployment అంటారు.
Part 9: kubectl Interview Questions
71. kubectl అంటే ఏమిటి?
Answer:
kubectl Kubernetes clusterతో interact చేయడానికి command-line tool.
Official Kubernetes documentationలో kubectlను ప్రధాన CLI toolగా పేర్కొంటుంది. (Kubernetes)
72. అన్ని Pods ఎలా చూడాలి?
kubectl get pods
73. అన్ని Namespacesలో Pods ఎలా చూడాలి?
kubectl get pods -A
74. Pod details ఎలా చూడాలి?
kubectl describe pod <pod-name>
75. Pod logs ఎలా చూడాలి?
kubectl logs <pod-name>
76. Podలో shell ఎలా open చేయాలి?
kubectl exec -it <pod-name> -- /bin/sh
Imageలో bash ఉంటే:
kubectl exec -it <pod-name> -- /bin/bash
77. Deployment ఎలా create చేస్తారు?
kubectl create deployment webapp --image=myapp:1.0
78. YAML file apply ఎలా చేస్తారు?
kubectl apply -f deployment.yaml
79. Service list ఎలా చూడాలి?
kubectl get svc
80. Kubernetes resources delete ఎలా చేస్తారు?
kubectl delete -f deployment.yaml
లేదా:
kubectl delete pod <pod-name>
Part 10: Troubleshooting
81. Pod Pendingలో ఉంటే ఎలా troubleshoot చేస్తారు?
Answer:
మొదట:
kubectl describe pod <pod-name>
తర్వాత check చేయాలి:
- Insufficient CPU/Memory
- NodeSelector
- Affinity
- Taints/Tolerations
- PVC సమస్య
- Scheduling constraints
Scheduler unscheduled Podsకు suitable Node select చేస్తుంది. (Kubernetes)
82. Pod CrashLoopBackOff అంటే ఏమిటి?
Answer:
Container repeatedly start అయ్యి fail అవుతున్నప్పుడు Kubernetes restart attempts చేస్తుంది. ఈ repeated failure stateలో CrashLoopBackOff కనిపించవచ్చు.
Check:
kubectl logs <pod-name>
kubectl describe pod <pod-name>
83. Pod ImagePullBackOff ఎందుకు వస్తుంది?
Answer:
Container image pull చేయడంలో Kubernetesకు సమస్య వచ్చినప్పుడు ఇది కనిపించవచ్చు.
Possible reasons:
- Wrong image name
- Wrong tag
- Private registry authentication issue
- Registry unavailable
- Network issue
84. Service Podకు traffic పంపడం లేదంటే ఏమి check చేస్తారు?
Answer:
Check:
kubectl get svc
kubectl describe svc <service>
kubectl get endpoints
kubectl get pods --show-labels
ముఖ్యంగా Service selector మరియు Pod labels match అవుతున్నాయా చూడాలి.
85. Pod Runningలో ఉంది కానీ application access కావడం లేదు. ఏం చేస్తారు?
Answer:
ఈ sequence follow చేయవచ్చు:
Pod
↓
Container Port
↓
Service
↓
Service Selector
↓
Endpoints
↓
Ingress / LoadBalancer
↓
DNS
Logs మరియు events కూడా check చేయాలి.
86. Kubernetes Events ఎలా చూడాలి?
kubectl get events
Specific namespace:
kubectl get events -n production
87. Node NotReady అయితే ఏమి check చేస్తారు?
Answer:
kubectl get nodes
kubectl describe node <node-name>
తర్వాత:
- kubelet
- Container runtime
- Node resources
- Network
- Disk pressure
- Memory pressure
వంటి అంశాలను పరిశీలిస్తారు.
88. Nodeలో disk full అయితే Kubernetesలో ఏమవుతుంది?
Answer:
Node resource pressure ఏర్పడవచ్చు. Pods scheduling/evictionపై ప్రభావం పడవచ్చు.
Check:
kubectl describe node <node-name>
Disk-related conditions మరియు events చూడాలి.
89. Kubernetes Pod logs ఎలా debug చేస్తారు?
Answer:
kubectl logs pod-name
Previous crashed container logs:
kubectl logs pod-name --previous
Multi-container Pod అయితే:
kubectl logs pod-name -c container-name
90. Kubernetes application performance ఎలా monitor చేస్తారు?
Answer:
సాధారణంగా:
- CPU metrics
- Memory metrics
- Application logs
- Events
- Application metrics
- Distributed tracing
- Monitoring platforms
ఉపయోగిస్తారు.
Kubernetes ecosystemలో metrics, logs మరియు traces కోసం dedicated approaches ఉన్నాయి. (Kubernetes)
Part 11: Advanced Kubernetes
91. Kubernetes Controller అంటే ఏమిటి?
Answer:
Controller అనేది cluster stateను watch చేస్తూ desired state మరియు current state మధ్య differenceను reconcile చేసే control loop.
ఉదాహరణ:
Desired = 3 Pods
Current = 2 Pods
Controller
↓
Create 1 Pod
↓
Current = 3
Kubernetes controllers control loopsగా పనిచేస్తాయని official documentation వివరిస్తుంది. (Kubernetes)
92. Desired State అంటే ఏమిటి?
Answer:
User Kubernetesకు application ఎలా ఉండాలో define చేసిన state.
ఉదాహరణ:
replicas: 3
Desired state = 3 Pods.
93. Declarative Configuration అంటే ఏమిటి?
Answer:
Applicationను ఎలా create చేయాలో ప్రతి step చెప్పడం కాకుండా final desired state ఏమిటో YAMLలో define చేయడం declarative approach.
replicas: 3
image: myapp:2.0
Kubernetes ఆ stateను achieve చేయడానికి అవసరమైన actions చేస్తుంది.
94. CRD అంటే ఏమిటి?
Answer:
CRD = Custom Resource Definition
Kubernetes APIలో custom resource types add చేయడానికి CRD ఉపయోగిస్తారు.
ఉదాహరణ:
Built-in:
Pod
Service
Deployment
Custom:
MyDatabase
MyApplication
Kubernetes extensibilityలో Custom Resources మరియు Controllers ముఖ్యమైన concepts. (Kubernetes)
95. Operator అంటే ఏమిటి?
Answer:
Operator అనేది Kubernetes APIs మరియు Controllers ఉపయోగించి complex application operational tasks automate చేసే software pattern.
ఉదాహరణకు database lifecycle management వంటి tasks automate చేయడానికి Operators ఉపయోగించవచ్చు.
96. Helm అంటే ఏమిటి?
Answer:
Helm అనేది Kubernetes applicationsను package మరియు manage చేయడానికి ఉపయోగించే tool.
Helm packageను Chart అంటారు.
Helm Chart
|
+-- Deployment
+-- Service
+-- ConfigMap
+-- Ingress
97. Helm Chart అంటే ఏమిటి?
Answer:
Kubernetes applicationకు అవసరమైన templates, configuration మరియు metadata కలిగిన packageను Helm Chart అంటారు.
Common structure:
mychart/
|
+-- Chart.yaml
+-- values.yaml
+-- templates/
98. Kubernetesలో Blue-Green మరియు Canary Deployment మధ్య తేడా?
Answer:
Blue-Green:
Blue = Old
Green = New
Traffic → Green
ఒక complete environment నుంచి మరో complete environmentకి traffic switch చేస్తారు.
Canary:
95% → Old
5% → New
New versionను small traffic percentageతో ప్రారంభించి gradually increase చేస్తారు.
99. Production Kubernetes cluster design చేసేటప్పుడు ఏమి consider చేస్తారు?
Answer:
Production designలో ముఖ్యమైన అంశాలు:
- High Availability
- Multiple worker nodes
- Control plane resilience
- Resource requests/limits
- Autoscaling
- Network security
- RBAC
- Secrets management
- Persistent storage
- Monitoring
- Centralized logging
- Backup/restore
- Disaster recovery
- Rolling deployments
- Image security
- Network policies
- Cost optimization
Production Kubernetes architecture workload, performance, security మరియు availability requirements ఆధారంగా design చేయాలి. (Kubernetes)
100. Real-time Microservices applicationను Kubernetesలో ఎలా deploy చేస్తారు?
Answer:
ఇది చాలా ముఖ్యమైన Architect/Lead-level interview question.
ఒక .NET Microservices application ఉందని అనుకుందాం:
Internet
|
Load Balancer
|
Ingress
|
+-----------+-----------+
| | |
Order API User API Payment API
| | |
Service Service Service
| | |
Pods Pods Pods
| | |
+-----------+-----------+
|
Azure Services
Typical deployment flow:
Developer
↓
Git Repository
↓
CI Pipeline
↓
Build .NET Application
↓
Docker Image
↓
Container Registry
↓
CD Pipeline
↓
Kubernetes Deployment
↓
Pods
↓
Services
↓
Ingress
↓
Users
Production environmentలో:
- Deployment ద్వారా stateless APIs
- StatefulSet ద్వారా stateful workloads where appropriate
- Service ద్వారా internal communication
- Ingress/Gateway ద్వారా HTTP routing
- ConfigMap ద్వారా configuration
- Secret/secure secret solution ద్వారా sensitive values
- HPA ద్వారా Pod scaling
- Cluster autoscaling ద్వారా node scaling
- Persistent Volumes ద్వారా persistent storage
- RBAC ద్వారా authorization
- Monitoring/logging ద్వారా observability
వంటి concepts ఉపయోగించవచ్చు.
Kubernetes Interviewలో తప్పక గుర్తుంచుకోవాల్సిన 20 Concepts
| # | Concept | One-Line Meaning |
|---|---|---|
| 1 | Cluster | Kubernetes managed environment |
| 2 | Node | Workload run అయ్యే machine |
| 3 | Pod | Smallest deployable unit |
| 4 | Container | Application execution environment |
| 5 | Deployment | Stateless workload management |
| 6 | ReplicaSet | Desired Pod replicas maintain చేస్తుంది |
| 7 | StatefulSet | Stateful workloads |
| 8 | DaemonSet | Node-based Pod deployment |
| 9 | Job | One-time task |
| 10 | CronJob | Scheduled task |
| 11 | Service | Stable network endpoint |
| 12 | Ingress | HTTP/HTTPS routing |
| 13 | ConfigMap | Non-sensitive configuration |
| 14 | Secret | Sensitive configuration |
| 15 | Namespace | Logical resource isolation |
| 16 | RBAC | Authorization |
| 17 | PVC | Storage request |
| 18 | HPA | Pod autoscaling |
| 19 | Helm | Kubernetes package management |
| 20 | CRD | Custom Kubernetes API resource |
Interview Preparation Tip
Fresher: Questions 1–40 బాగా prepare చేయండి.
2–5 Years Experience: Questions 1–80తో పాటు troubleshooting commands practice చేయండి.
5+ Years / Lead / Architect: మొత్తం 100 questionsతో పాటు:
- Kubernetes Architecture
- Microservices
- Docker
- Ingress
- Service Mesh
- HPA
- Cluster Autoscaling
- RBAC
- NetworkPolicy
- Helm
- CI/CD
- Observability
- Disaster Recovery
- Production troubleshooting
పైగా scenario-based questions practice చేయడం చాలా ఉపయోగకరం.
Kubernetes official documentationలో current concepts, architecture, workloads, networking, storage మరియు security topics continuously maintained అవుతున్నాయి; కాబట్టి 2026 interview preparationలో version-specific behaviorను official documentationతో verify చేయడం మంచిది. (Kubernetes)
