Closed ebourg closed 3 years ago
Hi,
check_kubernetes.sh -m components fails with Kubernetes 1.19 with the following error:
check_kubernetes.sh -m components
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:
api/v1/componentstatuses
Warning: v1 ComponentStatus is deprecated in v1.19+{"apiVersion": "v1","items":...
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.
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
: