You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I change the roles of a worker node to be a controller node, everything says it has run fine, but nginx-proxy container is not removed from the node, so the kube-apiserver container never starts properly, erroring with...
Error: failed to create listener: failed to listen on 0.0.0.0:6443: listen tcp 0.0.0.0:6443: bind: address already in use
As a worker:
root@testvm36:~# docker ps | grep -v k8s_
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
31d5b94b9a64 rancher/hyperkube:v1.21.7-rancher1 "/opt/rke-tools/en..." 8 minutes ago Up 8 minutes kube-proxy
0fedf6de0347 rancher/hyperkube:v1.21.7-rancher1 "/opt/rke-tools/en..." 9 minutes ago Up 9 minutes kubelet
68c065f75167 rancher/rke-tools:v0.1.78 "nginx-proxy CP_HO..." 9 minutes ago Up 9 minutes nginx-proxy
root@testvm36:~#
As a controller:
root@testvm36:~# docker ps | grep -v k8s_
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
bb93b1f41de8 rancher/hyperkube:v1.21.7-rancher1 "/opt/rke-tools/en..." 3 minutes ago Up 3 minutes kubelet
00e748bdbf52 rancher/hyperkube:v1.21.7-rancher1 "/opt/rke-tools/en..." 3 minutes ago Up 3 minutes kube-scheduler
d1cabfed7d1b rancher/hyperkube:v1.21.7-rancher1 "/opt/rke-tools/en..." 4 minutes ago Up 3 minutes kube-controller-manager
3f32348549fa rancher/hyperkube:v1.21.7-rancher1 "/opt/rke-tools/en..." 4 minutes ago Restarting (1) 35 seconds ago kube-apiserver
ab85ff6a2fc0 rancher/rke-tools:v0.1.87 "/docker-entrypoin..." 5 minutes ago Up 5 minutes etcd-rolling-snapshots
cf1022be859f rancher/mirrored-coreos-etcd:v3.4.16-rancher1 "/usr/local/bin/et..." 6 minutes ago Up 6 minutes etcd
31d5b94b9a64 rancher/hyperkube:v1.21.7-rancher1 "/opt/rke-tools/en..." 30 minutes ago Up 30 minutes kube-proxy
68c065f75167 rancher/rke-tools:v0.1.78 "nginx-proxy CP_HO..." 31 minutes ago Up 31 minutes nginx-proxy
root@testvm36:~#
And kube-apiserver can't start listening because nginx-proxy still is.
Resulting log is attached. Am a bit confused because it says it waited for kube-apiserver to be healthy, but it isn't?
time="2022-09-27T06:37:18Z" level=info msg="[controlplane] Successfully started [kube-apiserver] container on host [172.16.37.36]"
time="2022-09-27T06:37:18Z" level=info msg="[healthcheck] Start Healthcheck on service [kube-apiserver] on host [172.16.37.36]"
time="2022-09-27T06:37:20Z" level=info msg="[healthcheck] service [kube-apiserver] on host [172.16.37.36] is healthy"
If I change the roles of a worker node to be a controller node, everything says it has run fine, but
nginx-proxy
container is not removed from the node, so thekube-apiserver
container never starts properly, erroring with...As a worker:
As a controller:
And kube-apiserver can't start listening because nginx-proxy still is.
Using provider as...
Resulting log is attached. Am a bit confused because it says it waited for kube-apiserver to be healthy, but it isn't?
rke.txt
The text was updated successfully, but these errors were encountered: