Postman
Connect Postman to your cluster via mirrord.
By routing Postman traffic through a local SOCKS5 proxy, you can send API requests to kubernetes internal services (e.g., http://my-service:8080) directly from your local machine.
Prerequisites
This guide assumes you have already set up a local proxy using microsocks and mirrord. If you haven't done this yet, please follow the setup guide first to launch the proxy.
Configuration
Ensure the prerequisite SOCKS5 proxy is running with
mirrordand targeting the desired cluster.Open Postman and open Settings (click the gear icon in the top right > Settings).
Select the Proxy tab.
Under Proxy configurations for sending requests:
Toggle Use custom proxy configuration to ON.
Enable HTTP and HTTPS.
Select socks5h as the proxy server protocol.
Enter
127.0.0.1as the proxy server hostname.Enter
1080as the proxy server post (or the port you configured).
Ensure Proxy Auth is OFF.
Close the settings window.
Verify
You can now use cluster DNS names in your requests.
Create a new request.
Enter an internal URL (e.g.,
http://my-service.namespace.svc.cluster.local:8080).Click Send.
Last updated
Was this helpful?

