Skip to content

most checks say no resource found #27

@fireba11

Description

@fireba11

I got several strange issues ...

./check_kubernetes.sh -m statefulsets -N namespace -n sts-name
OK. Statefulset namespace/sts-name 3/3 ready

works fine while

./check_kubernetes.sh -m statefulsets -N namespace -n sts-name
No statefulsets found

doesn't find anything.
Same with most other checks, nodes and unboundpvc work while pvc doesn't and even gives jq errors:

jq: error (at :1): Cannot iterate over null (null)
jq: error (at :1): Cannot iterate over null (null)
jq: error (at :1): Cannot iterate over null (null)
OK. No problem on 0 pvc storage

Also tried using -H and -T to not use kubectl, but didn't change anything.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions