Container Orchestration Platform
Smallest deployable units
Manage replica sets
Network abstraction
Configuration data
kubectl get pods - List pods
kubectl describe pod <name> - Pod details
kubectl logs <pod> - View logs
kubectl apply -f deployment.yaml - Deploy
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx
spec:
replicas: 3
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:latest
ports:
- containerPort: 80