What is Kubernetes?
- Open-source platform for running cloud-native applications
Start with infrastructure
- Need something on top of it to run your apps on
- K8s serves as a layer for you to deploy your apps
Cloud-native apps: Built from small interacting services to build a useful app
- Opposite of Monolithic apps
- High scalable
Kubernetes cluster
- Bunch of Linux nodes, VMs, cloud instances
- Some form control plane and some form the worker nodes
Control Plane
- Scheduler, persistent store, API server, controllers
- Stateful plane
All commands and system components talk to the API server
The API
Kubernetes API is where everything is defined
RESTful API that uses HTTP methods to perform CRUD style actions
Define parts of app in YAML files as a overall desire of intent
- Change the current state to the desired state