After I build rancher & k8s cluster, It’s work fine.
I wanted to add worker node to cluster, I modified rancher-cluster.yml, and one woker node,
- address: 172.16.0.7
port: 36000
user: tars
role: [worker]
then:
…/bin/rke up --config rancher-cluster.yml
I got this error:
INFO[0031] [healthcheck] Start Healthcheck on service [kube-proxy] on host [172.16.0.7]
FATA[0081] [workerPlane] Failed to bring up Worker Plane: [Failed to verify healthcheck: Service [kube-proxy] is not healthy on host [172.16.0.7]. Response code: [503], response body: {“lastUpdated”: “2019-10-25 09:52:11.348102428 +0000 UTC m=+1.009829750”,“currentTime”: “2019-10-25 10:11:13.392600218 +0000 UTC m=+1137.885850058”}, log: E1025 10:11:18.128311 6605 reflector.go:125] k8s.io/client-go/informers/factory.go:133: Failed to list *v1.Service: Get https://127.0.0.1:6443/api/v1/services?labelSelector=!service.kubernetes.io%2Fservice-proxy-name&limit=500&resourceVersion=0: x509: cannot validate certificate for 127.0.0.1 because it doesn’t contain any IP SANs]
does any one know how to resolve?