mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-05 19:21:37 +00:00
Merge pull request #8785 from aveshagarwal/kubernetes-fixes
Updating systemd service and environ files for controller-manager as --machines is deprecated.
This commit is contained in:
@@ -77,15 +77,6 @@ KUBE_SERVICE_ADDRESSES="--portal_net=10.254.0.0/16"
|
||||
KUBE_API_ARGS=""
|
||||
```
|
||||
|
||||
* *Optional* Edit /etc/kubernetes/controller-manager and remove --machines=127.0.0.1 from the KUBELET_ADDRESSES. Leaving this in won't hurt anything but it will cause the output to note that the 127.0.0.1 node is NotReady because we will not be configuring one in this guide.
|
||||
|
||||
```
|
||||
KUBELET_ADDRESSES=""
|
||||
|
||||
KUBE_CONTROLLER_MANAGER_ARGS=""
|
||||
```
|
||||
|
||||
|
||||
* Edit /etc/etcd/etcd.conf,let the etcd to listen all the ip instead of 127.0.0.1, if not, you will get the error like "connection refused"
|
||||
```
|
||||
ETCD_LISTEN_CLIENT_URLS="http://0.0.0.0:4001"
|
||||
|
Reference in New Issue
Block a user