Test Networking
This workshop has been deprecated and archived. The new Amazon EKS Workshop is now available at www.eksworkshop.com.
Launch pods into Secondary CIDR network
Let’s launch few pods and test networking
kubectl create deployment nginx --image=nginx
kubectl scale --replicas=3 deployments/nginx
kubectl expose deployment/nginx --type=NodePort --port 80
kubectl get pods -o wide
You can use busybox pod and ping pods within same host or across hosts using IP address
kubectl run -i --rm --tty debug --image=busybox -- sh
Test access to internet and to nginx service