Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mirrord does not work with tinyproxy (HTTTP proxy) #2087

Closed
mar-pan opened this issue Nov 30, 2023 · 0 comments · Fixed by #2090
Closed

mirrord does not work with tinyproxy (HTTTP proxy) #2087

mar-pan opened this issue Nov 30, 2023 · 0 comments · Fixed by #2090
Assignees
Labels
enhancement New feature or request

Comments

@mar-pan
Copy link

mar-pan commented Nov 30, 2023

hello I'm unable to use mirrord it fails with:
mirrord exec
✓ Running on latest (3.75.3)!
⠉ mirrord exec
✓ Running on latest (3.75.3)!
⠂ mirrord exec
✓ Running on latest (3.75.3)!
x mirrord exec
✓ Running on latest (3.75.3)!
x preparing to launch process
✓ layer extracted
x unable to check if operator exists, probably due to RBAC Error: × Create agent failed. KubeError(
│ HyperError(
│ hyper::Error(
│ Connect,
│ Custom {
│ kind: TimedOut,
│ error: Elapsed(
│ (),
│ ),
│ },
│ ),
│ ),
│ )
help:

mirrod ls prints [] after 30s

my kubeconfig:
apiVersion: v1
clusters:
cluster:
proxy-url: http://127.0.0.1:61076/
server: https://192.168.255.2/
name: xyz
contexts:
context:
cluster: xyz
namespace: dev-cicd
user: xyz
name: xyz
current-context: xyz
kind: Config
preferences: {}
users:
name: xyz
user:
exec:
apiVersion: client.authentication.k8s.io/v1beta1
args: null
command: gke-gcloud-auth-plugin
env: null
installHint: Install gke-gcloud-auth-plugin for use with kubectl by followinghttps://cloud.google.com/blog/products/containers-kubernetes/kubectl-auth-changes-in-gke
interactiveMode: IfAvailable
provideClusterInfo: true
name: xyz
user:
auth-provider:
config:
cmd-args: config config-helper --format=json
cmd-path: /Users/marcelpankanin/Documents/ramp/tools/google-cloud-sdk/bin/gcloud
expiry: "2022-08-22T14:06:48Z"
expiry-key: '{.credential.token_expiry}'
token-key: '{.credential.access_token}'
name: gcp

during discord talk you initially identified that it's problem with HTTP_PROXY env var which you don't support atm (since kube-rs, a dependency we use for kube stuff doesn't) . Can I ask you to start supporting it?

@mar-pan mar-pan added the enhancement New feature or request label Nov 30, 2023
@t4lz t4lz closed this as completed in #2090 Dec 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants