Closed ebourg closed 3 years ago
From the Kubernetes 1.19 changelog:
Kube-apiserver: the componentstatus API is deprecated. This API provided status of etcd, kube-scheduler, and kube-controller-manager components, but only worked when those components were local to the API server, and when kube-scheduler and kube-controller-manager exposed unsecured health endpoints. Instead of this API, etcd health is included in the kube-apiserver health check and kube-scheduler/kube-controller-manager health checks can be made directly against those components' health endpoints.
I had no luck to work with 1.19 yet.
Right. This API method is deprecated in 1.19+, so the components mode should be deprecated too. I have added the appropriate comment in help and readme.
Hi,
check_kubernetes.sh -m components
fails with Kubernetes 1.19 with the following error:It seems to be caused by a warning message displayed before the JSON payload after calling
api/v1/componentstatuses
: