Skip to content

Failed to create the kube client with proxy #251

@vitality411

Description

@vitality411

Hello,
when I use kubectl-view-allocations in an environment with http_proxy and https_proxy variables I get the following error:

k view-allocations -g node
Error:
   0: Failed to create the kube client
   1: configured proxy http://squid:3128/ requires the disabled feature "kube/http-proxy"

Location:
   src/main.rs:47

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

When I unset the variables, it works without issues. Is there some way to circumvent this?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions