Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

Kubernetes Network Policy Examples & Tutorial (Calico Isolate Namespaces, Pods & IP Blocks)

YouTube Tutorial

Create EKS cluster

eksctl create cluster -f eks.yaml

Installing Calico on Amazon EKS

Apply the Calico manifests

kubectl apply -f https://raw.githubusercontent.com/aws/amazon-vpc-cni-k8s/master/config/master/calico-operator.yaml kubectl apply -f https://raw.githubusercontent.com/aws/amazon-vpc-cni-k8s/master/config/master/calico-crs.yaml

Watch the calico-system DaemonSets

kubectl get daemonset calico-node -n calico-system

Create Services

Check Connection

kubectl exec service-a-<id> -n staging -- nc -vz service-b 8080 kubectl get pods --show-labels kubectl exec service-a-<id> -n staging -- nc -vz service-c.production 8080