- Full cycle live -> https://www.youtube.com/watch?v=oxWEVQP5_Rg
Menor unidade, agrupamento de containers que compartilham do mesmo namespace (do kernel), por exemplo, endereçamento de rede.
kind create cluster --name=esquenta
kubectl cluster-info --context kind-esquenta
kubectl get nodes
kubectl apply -f pod.yaml
kubectl get pods
kubectl port-forward pod/nginx-demo 9090:80
kubectl apply -f replicaset.yaml
kubectl apply -f deployment.yaml
- Stop all processes from running containers with
- docker stop $(docker ps -a -q)
- Remove stopped containers.
docker rm $(docker ps -a -q)
docker rm -f some-control-plane
- Remove images
docker rmi $(docker images -q)
kubectl config delete-cluster kind-sibops
kubectl config delete-context kind-sibops
kind create cluster --config kind-cluster.yaml --name sibops