This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
weave-net pods restarting on kubernetes #3275
Closed
Description
This has been happening for a long time and we have no idea what is going on. weave-net pods are restarting with the following error: Warning SandboxChanged Pod sandbox has changed, containers will be killed and recreated
.
Below is how the weave-net restarts look in kubectl:
weave-net-44z47 2/2 Running 3 4d
weave-net-4gpkz 1/2 CrashLoopBackOff 940 4d
weave-net-5rjbs 2/2 Running 0 4d
weave-net-5wbsb 2/2 Running 0 4d
weave-net-84rbx 0/2 ContainerCreating 0 53s
weave-net-bvxgz 2/2 Running 1 4d
weave-net-cgdkc 2/2 Running 10 4d
weave-net-dbkfm 2/2 Running 1 4d
weave-net-h8rkv 2/2 Running 0 4d
weave-net-lwnfv 2/2 Running 0 4d
weave-net-lxxmp 2/2 Running 0 4d
weave-net-mbsmp 0/2 CrashLoopBackOff 983 4d
What you expected to happen?
No restarts on weave-net pods. We are seeing over 500 restarts on some weave-net pods.
What happened?
Warning SandboxChanged Pod sandbox has changed, containers will be killed and recreated
.
How to reproduce it?
No idea.
Anything else we need to know?
We use kops version 1.8.1 to configure our prod and staging clusters on AWS.
Versions:
weave-net: 2.2.1
docker version: 17.09
$ weave version
$ docker version
$ uname -a
4.9.0-6-amd64
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"9", GitVersion:"v1.9.3", GitCommit:"d2835416544f298c919e2ead3be3d0864b52323b", GitTreeState:"clean", BuildDate:"2018-02-07T12:22:21Z", GoVersion:"go1.9.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"8", GitVersion:"v1.8.10", GitCommit:"044cd262c40234014f01b40ed7b9d09adbafe9b1", GitTreeState:"clean", BuildDate:"2018-03-19T17:44:09Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Logs:
$ docker logs weave
or, if using Kubernetes:
$ kubectl logs -n kube-system <weave-net-pod> weave
Network:
$ ip route
$ ip -4 -o addr
$ sudo iptables-save
Activity