What is K8S?#
To manage distributed containerised workloads, you use Kubernetes.
- It is resilient declarative configuration.
- It is open source platform.
- It allows you to bundle and run your application.
Kubernetes objects#
K8S objects are the persistent entities in the K8S system and thee entities are used to represent the state of the cluster.
In general, most of the objects have
- spec - Defines the desired state.
- status - Describes the current state.
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx
spec:
.....
