I've started running kubernetes on GCE. I setup a 3x f1-micro cluster and Im running: * influxdb x1 * Grafana x1 * nginx x1 * phpfpm7 x1 * golang x2 * redis x1
I keep having all my container restarting regularly, in 1h time, grafana restarted 4x, redis 3x, my golangs 2x, nginx 4x. On my local, they never restart and are perfectly working fine... The logs don't tell me anything about why it rebooted.
thanks for your help!
[cobbling together an answer from our discussion in the comment thread above]
It sounds like your cluster is generally overloaded. By default, when you launch a cluster using Google Container Engine a number of cluster add ons are pre-installed to add additional features to your cluster. If you want to run a cluster with less overhead and you don't care about the optional features, you can disable them (most at any time, but a few only at cluster creation time).
I actually played around with the resources and limits of each container, deactivated heapster on the kube-system namespace and everthing runs now fine!