kubectl | eksctl | aws cli |
---|
https://docs.aws.amazon.com/eks/latest/userguide/eksctl.html
https://kubernetes.io/docs/tasks/tools/
eksctl create cluster --name duarte --version 1.22 --region us-east-1 --nodegroup-name workers --node-type t2.micro --nodes 2 --nodes-min 1 --nodes-max 3 --managed
aws eks --region us-east-1 update-kubeconfig --name meu-cluster export KUBECONFIG=config
kubectl get nodes
kubectl apply -f ./nginx-svc.yaml
kubectl get service
kubectl apply -f ./nginx-deployment.yaml
kubectl get deployment
kubectl get node
kubectl get pods
eksctl delete cluster meu-cluster