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.27 --region us-east-1 --nodegroup-name workers --node-type t3a.medium --nodes 2 --nodes-min 1 --nodes-max 2 --managed
aws eks --region us-east-1 update-kubeconfig --name duarte
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