dyrnq / kubernetes-ansible

Setup a high availability kubernetes cluster with Ansible
0 stars 0 forks source link

DeleteRealServer error[real server delete error]: no such file or directory #6

Closed dyrnq closed 2 years ago

dyrnq commented 2 years ago
E0921 13:01:36.486954 3380796 service.go:204] DeleteRealServer error[real server delete error]: no such file or directory
W0921 13:01:36.487016 3380796 service.go:154] CheckRealServers error[remove weight = 0 real server failed]: 192.168.27.11;  6443; real server delete error: no such file or directory
dyrnq commented 2 years ago

xref https://github.com/labring/lvscare/issues/30 upgrade lvscare version v4.1.3 and pass these args blow

--health-insecure-skip-verify true \
--health-status 401,403,200,201 \
--health-schem https

because apiserver https health response code is 401

{
  "kind": "Status",
  "apiVersion": "v1",
  "metadata": {},
  "status": "Failure",
  "message": "Unauthorized",
  "reason": "Unauthorized",
  "code": 401
}

See also https://github.com/kubernetes/kubernetes/issues/43784