Configuring Proxy Settings for Minikube Installation
This guide explains how to set up a proxy machine, configure proxy environment variables on Linux, and test the proxy to ensure Minikube can access external resources, while reminding users to open the necessary proxy ports on the server.
This article documents the steps required to configure a proxy for Minikube installation, starting with preparing a proxy machine and ensuring the address is not 127.0.0.1 so that other hosts can use it.
1. Configure Proxy Machine
Set up a proxy server with an accessible IP address (e.g., 192.168.1.100 ) and a listening port (e.g., 1087 ). The proxy must be reachable from the machine where Minikube runs.
2. Configure Other Machines (Linux)
Export the proxy environment variables on each Linux host that will run Minikube:
export http_proxy=http://192.168.1.100:1087;
export https_proxy=http://192.168.1.100:1087;These variables tell the system to route HTTP and HTTPS traffic through the proxy.
3. Test the Proxy
Verify the proxy works by issuing a curl request:
curl -x http://192.168.1.100:1087 http://google.comThe response should show a 301 redirect with HTML content, confirming that the request passed through the proxy.
Finally, ensure the proxy server’s firewall allows inbound traffic on the proxy port (e.g., 1087) so that Minikube and other tools can connect.
Thank you for reading; feel free to leave a comment or share this guide with others.
DevOps Cloud Academy
Exploring industry DevOps practices and technical expertise.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.