Proxyman
Proxyman copied to clipboard
Failed to intercept connections from kubectl command
Description
I want to intercept traffic generated by kubectl command but Proxyman doesn't work.
Steps to Reproduce
- Intercept HTTPS traffic of
kubectlcommand by addingkubectlapp in Tools -> SSL Proxying List -> Include List. - Add client certificate and client key file in Certificate -> Add Custom Certificate.
- Enable SOCKS Proxy in Proxyman.
- Set
HTTPS_PROXYenvironment variable in terminal. - Run command
kubectl --insecure-skip-tls-verify=true get pods.
Current Behavior
kubectl command retries all the time.
BTW, if I edit and repeat the request, Proxyman fails with invalid host.
Expected Behavior
kubectl command works as usual.
Environment
- App version: 4.15.0 (49600)
- macOS version: 14.1.2 (23B92)
You need to set proxy-url on .kube/config too.
clusters:
- name: cluster-name
cluster:
proxy-url: http://localhost:9090