Closed typokign closed 4 years ago
This is happening with both Flannel and Canal network plugins.
Node conditions are fine:
kubectl get nodes -o go-template='{{range .items}}{{$node := .}}{{range .status.conditions}}{{$node.metadata.name}}{{": "}}{{.type}}{{":"}}{{.status}}{{"\n"}}{{end}}{{end}}'
localhost: MemoryPressure:False
localhost: DiskPressure:False
localhost: PIDPressure:False
localhost: Ready:False
This issue/PR has been automatically marked as stale because it has not had activity (commit/comment/label) for 60 days. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
It seems that you cannot start kube-api-server on 127.0.0.0/8 ip address. You need to assign a private ip (192.168.0.2 for example) to your host.
RKE version: v1.0.4
Docker version: (
docker version
,docker info
preferred)Operating system and kernel: (
cat /etc/os-release
,uname -r
preferred)4.19.0-6-amd64
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO) Hetzner Cloud VPS
cluster.yml file:
Steps to Reproduce:
With this cluster.yml, set
DOCKER_API_VERSION=1.40
and runrke up --local --config /etc/cluster.yml
.Results:
The node is bootstrapped and RKE logs seem healthy, up until
Executing deploy job rke-network-plugin
.Running
kubectl -n kube-system get pods
, there are several of these deploy jobs failing, with the logs:The connection to the server 10.43.0.1:443 was refused - did you specify the right host or port?
This IP should be the IP of the
kubernetes
service, but this service does not exist inkube-system
, though it does exist indefault
.Checking the logs of the
kube-apiserver
I found: