Amazon Elastic Kubernetes Service

Este link contiene el archivo eks-nginx.yaml utilizado en este ejemplo

kubectl run nginx --image=nginx --restart=Never   
Kubectl delete pod nginx     

kubectl get nodes

kubectl get pods
kubectl describe pod MyPod
kubectl delete pod MyPod
kubectl get pods -n MyNamespace

#(todos los namepspaces)
kubectl get pods -A

kubectl get svc
kubectl get deployments

kubectl create ns MyNamespace
kubectl delete ns MyNamespace

kubectl apply -f eks-nginx.yaml
kubectl delete -f eks-nginx.yaml

kubectl apply -f https://k8s.io/examples/admin/dns/dnsutils.yaml
kubectl exec -i -t dnsutils -- nslookup nginx-service.app-ns
kubectl exec -i -t dnsutils -- wget nginx-service.app-ns
1 2 3 4 5 - Tu calificación: