Kubernetes Nedir

Kubernetes (K8s), containerize edilmiş uygulamaların dağıtımını, ölçeklendirilmesini ve yönetimini otomatikleştiren açık kaynaklı bir sistemdir.

Genellikle K8s olarak kısaltılan Kubernetes, containerize edilmiş uygulamaların dağıtımını, ölçeklendirilmesini ve yönetimini otomatikleştiren bir container orkestrasyon platformudur. Bir uygulamayı oluşturan container'ları kolay yönetim ve keşif için mantıksal birimler halinde gruplandırır. Kubernetes, uygulamaları yönetmek için deklaratif bir yaklaşım sunar, kullanıcıların uygulamalarının istenen durumunu tanımlamasına olanak tanır ve sistem bu duruma ulaşmak için çalışır.

Başlangıçta Google tarafından geliştirilen Kubernetes, artık Cloud Native Computing Foundation (CNCF) tarafından sürdürülmektedir. Docker, containerd ve CRI-O dahil olmak üzere çeşitli container çalışma zamanlarını destekler. Kubernetes, son derece genişletilebilir olacak şekilde tasarlanmıştır ve şirket içi veri merkezlerinden genel bulutlara kadar çeşitli ortamlarda uygulamaları yönetmek için kullanılabilir.

        graph LR
  Center["Kubernetes Nedir"]:::main
  Pre_docker["docker"]:::pre --> Center
  click Pre_docker "/terms/docker"
  Rel_container_orchestration["container-orchestration"]:::related -.-> Center
  click Rel_container_orchestration "/terms/container-orchestration"
  Rel_microservices["microservices"]:::related -.-> Center
  click Rel_microservices "/terms/microservices"
  Rel_devops["devops"]:::related -.-> Center
  click Rel_devops "/terms/devops"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧠 Bilgi testi

1 / 3

🧒 5 yaşındaki gibi açıkla

🌍 Imagine a giant ship carrying thousands of shipping containers. Instead of one captain trying to keep track of every single box, Kubernetes is like a robot crew that automatically puts the boxes where they belong, fixes them if they break, and adds more ships if there are too many boxes.

🤓 Expert Deep Dive

## The Control Loop: Desired vs. Actual State
The heart of Kubernetes is the Controller Loop. It is a continuous process that:
1. Reads the Desired State (what you asked for in your YAML file).
2. Observes the Actual State (what is currently running in the cluster).
3. Takes action to fix any differences (e.g., pulling a new image or restarting a crashed Pod).
This 'Self-Healing' nature is what makes Kubernetes so powerful for running mission-critical software.

🔗 İlgili terimler

Ön koşullar:

📚 Kaynaklar