Kubernetes (ઘણી વાર K8s તરીકે ટૂંકાવાય છે) એ એક ઓપન-સોર્સ container orchestration પ્લેટફોર્મ છે. તે મશીનોના એક cluster પર containerized એપ્લિકેશનોને deploy કરવું, scale કરવું, networking અને healing આપોઆપ કરી આપે છે, જેથી તમે માત્ર desired state વર્ણવો અને Kubernetes સતત વાસ્તવિકતાને તેની સાથે મેળ ખવડાવવા માટે કામ કરતું રહે છે.
સમસ્યા: મોટા પાયે containers ચલાવવું અઘરું છે
You have containers (from Docker), but in production you must also answer:
→ On WHICH machine does each container run? (scheduling)
→ What if a container crashes? (self-healing / restarts)
→ What if a whole node dies? (reschedule elsewhere)
→ How do 50 replicas find and talk to each other? (service discovery)
→ How do I roll out a new version with zero downtime? (rolling updates)
→ How do I scale from 3 to 30 replicas on a traffic spike? (autoscaling)
Doing all this by hand across many servers does not scale.
