disabling aws-node so it's the only CNI) and I've noticed that altough my pods have internet connectivity, the docker daemon network does not.
Example:
[ec2-user@ip-10-30-10-117 ~]$ docker run busybox ping -c 1 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: Network is unreachable
This does not happens if I use the host network or I launch a pod and get an interactive session.
Does anyone have a clue why with this simple install (https://www.weave.works/docs/net/latest/kubernetes/kube-addon/) docker network doesn't work?
I've also noticed this:
[ec2-user@ip-10-30-10-117 ~]$ cat /etc/docker/daemon.json
{
"bridge": "none",
"log-driver": "json-file",
"log-opts": {
"max-size": "10m",
"max-file": "10"
},
"live-restore": true,
"max-concurrent-downloads": 10,
"default-ulimits": {
"nofile": {
"Name": "nofile",
"Soft": 2048,
"Hard": 8192
}
}
}
bridge is disabled..
Thank you for reading
Dude, I dunno. This is also why I avoid K8s lol. Doesn’t work out the box And needs lots of baby sitting for issues like these
Обсуждают сегодня