Closed errm closed 8 years ago
Actually looking at kubenetes these errors are probably not an issue as the watcher should be recreated. None the less, stuff is not updating and I am not quite sure why....
My guess, without looking at anything yet, is that somehow there is some issue with resource versions here (assuming the errors are related). Basically the event callbacks may not be running because it is seeing all the events as old.
Ok that seems somewhat reasonable . . . as things work fine when starting romulus from cold.
I am not sure though because Reflector.RunUntil should be restarting from fresh anyhow when it hits this... https://godoc.org/k8s.io/kubernetes/pkg/client/cache#Reflector.RunUntil
I have put my investigation into a gist, so hopefully it will be somewhat reproducible...
Right, so I missed the selector labels from my service . . . my bad
Fixing that, fixed all the issues, I think the 401 errors were unrelated.
Having said that, it's surprising that it works at all . . . It might be better if it didn't and logged something drastic sounding.
anyhow a stupid RTFM moment.
After running some time, 15mins - Hours romulus seems to stop updating when pods are added or removed...
This seems to be related to these sorts of error messages I am seeing in the logs.
I am a little unclear as to where to start digging to try and resolve this . . . @albertrdixon if you could suggest anything that might help tracking down what is going on here, it would be a great help.
Also I don't seem to be able to create an issue on https://github.com/albertrdixon/romulus, perhaps because it is a fork . . .