Kubernetes is a container orchestration or container management tool. From K8s.io,
Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.
Kubernetes helps in container management and provides with a framework to support multiple features of distributed, resilient and scalable system.
It provides support for
Main components of Kubernetes
Pods are the smallest object that can be created in Kubernetes.
Sample configuration
#always present
apiVersion: v1
kind: Pod
metadata:
name: my-pod
labels:
app: myapp
tier: backend
spec:
containers:
- name: nginx-container
image: nginx
kubectl get pod <pod-name> -o yaml > pod-definition.yaml
kubectl edit pod <pod-name>
command to edit pod properties.