• Robert Bailey's avatar
    Register the kubelet on the master node with an apiserver. This option is · 8df33bc1
    Robert Bailey authored
    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.
    8df33bc1
kubeconfig 0 Bytes