ComponentStatus is deprecated in v1.19+
Closed this issue · 1 comments
ebourg commented
Hi,
check_kubernetes.sh -m components
fails with Kubernetes 1.19 with the following error:
parse error: Invalid numeric literal at line 1, column 8
It seems to be caused by a warning message displayed before the JSON payload after calling api/v1/componentstatuses
:
Warning: v1 ComponentStatus is deprecated in v1.19+{"apiVersion": "v1","items":...
ebourg commented
Sorry I reported this to the wrong project, this was aimed at https://github.com/agapoff/check_kubernetes. It might be nice to merge your efforts around a common check script for Kubernetes.