Skip to content

Getting ConfigInferenceExhausted #6

@Dentrax

Description

@Dentrax

I'm getting ConfigInferenceExhausted error with macOS. I do not know what that means exactly, and what it needs.

$ suspicious-pods --version

suspicious-pods 1.1.0
$ KUBECONFIG=/Users/furkan/.kube/config-foo suspicious-pods

Error: Kubeconfig(ConfigInferenceExhausted { cluster_env: Kubeconfig(MissingInClusterVariables { hostenv: "KUBERNETES_SERVICE_HOST", portenv: "KUBERNETES_SERVICE_PORT" }), kubeconfig: Kubeconfig(LoadContext { context_name: "kubernetes-admin@prod-foo" }) })
$ KUBECONFIG=/Users/furkan.turkal/.kube/config-foo kubectl get --raw='/readyz?verbose'

All is OK.

$ KUBECONFIG=/Users/furkan.turkal/.kube/config-foo kubectl cluster-info

All is running.

$ KUBECONFIG=/Users/furkan.turkal/.kube/config-foo kubectl get pods

Success.

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