Demonstration
kubectl get svc
#to view any traffic sent to the IP sent to the following Rule
sudo iptables -S -t nat | grep IP
#inspect the rule
#the above rule diverts the traffic to the VM IP
#find the container using kube-apiserver
docker ps
#monitor kube-apiserver container
docker top container_id
#inspect the container to confirm IP used
docker inspect fcec33b58cbb | grep "address="
No comments:
Post a Comment