K8s (Kubernetes)

Open-source container orchestrator platform. The name k8s is because of 8 letters between Kubernete s

Automate the process of containerised application includes:

  • Deployment
  • Scaling
  • Management

Portable, and can run on:

  • Premise
  • Public Cloud
  • Hybrid environment

Downside:

  • Complexity
  • Upfront cost is high

Component

Pasted image 20250810143702.png

K8s Cluster
etcd
Api Server
Scheduler
Controller Manager
Cloud Controller Manager (Optional)

Deployment.yml vs Service.yml

Deployment handle the deploy scaling. Service is network mapping in case we have loadbalancer to point to correct deployment

PVC

Persistent volumn provided by kubernetes. With different mode to ReadWriteOnce or ReadWriteMany,…

So 1 PVC, multiple pods on the same node can mount and write concurrently.