Replies: 1 comment
-
It should just work out of the box with If you need a custom client, try using the custom_client example but use a more specific let mut base_connector = HttpConnector::new();
base_connector.enforce_http(false);
let proxy_connector = hyper_socks2::SocksConnector {
proxy_addr: proxy_url.clone(),
auth: None,
base_connector,
};
let connector = config.rustls_https_connector_with_connector(proxy_connector)?; See our internal builder setup for some more ideas there. Example
|
Beta Was this translation helpful? Give feedback.
-
Hi, could you please share an example using kube-rs to create a kubernetes client using socks5 proxy?
Beta Was this translation helpful? Give feedback.
All reactions