
separated from the apiserver running locally on the master node so that it can be optionally enabled or disabled as needed. Also, fix the healthchecking configuration for the master components, which was previously only working by coincidence: If a kubelet doesn't register with a master, it never bothers to figure out what its local address is. In which case it ends up constructing a URL like http://:8080/healthz for the http probe. This happens to work on the master because all of the pods are using host networking and explicitly binding to 127.0.0.1. Once the kubelet is registered with the master and it determines the local node address, it tries to healthcheck on an address where the pod isn't listening and the kubelet periodically restarts each master component when the liveness probe fails.
This directory forms the base of the main SaltStack configuration. The
place to start with any SaltStack configuration is
top.sls. However, unless you are particularly keen on
reading Jinja templates, the following tables break down what
configurations run on what providers. (NB: The _states
directory is a special directory included by Salt for ensure
blocks,
and is only used for the docker config.)
Key: M = Config applies to master, n = config applies to nodes
Config | GCE | Vagrant | AWS | Azure |
---|---|---|---|---|
cadvisor | M n | M n | M n | M n |
debian-auto-upgrades | M n | M n | M n | M n |
docker | M n | M n | M n | n |
etcd | M | M | M | M |
fluentd-es (pillar conditional) | M n | M n | M n | M n |
fluentd-gcp (pillar conditional) | M n | M n | M n | M n |
generate-cert | M | M | M | M |
kube-addons | M | M | M | M |
kube-apiserver | M | M | M | M |
kube-controller-manager | M | M | M | M |
kube-proxy | n | n | n | n |
kube-scheduler | M | M | M | M |
kubelet | M n | M n | M n | n |
logrotate | M n | n | M n | M n |
monit | M n | M n | M n | M n |
nginx | M | M | M | M |
openvpn-client | n | |||
openvpn | M | |||
static-routes (vsphere only) | ||||
base | M n | M n | M n | M n |
kube-client-tools | M | M | M | M |