k8s-local-docker-registry
k8s-local-docker-registry copied to clipboard
DeamonSet is unable to serve images
Keep restarting ...
NAME READY STATUS RESTARTS AGE
pod/docker-private-registry-daemonset-lgcnx 1/1 Running 9 (5m2s ago) 71m
What I don't understand is why DaemonSet is using:
$ kubectrl logs pod/docker-private-registry-daemonset-lgcnx
Running socat TCP-LISTEN:5000,reuseaddr,fork TCP:docker-private-registry.default.svc.cluster.local:5000
While the networks are:
docker-private-registry.default.svc.cluster.local 10.128.149.12
Node that DS is inside: 172.x.x.x
So how the Pod is communicating with the Node that is communicating with the DS ?