Cloud Computing 2 min read

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.

DevOps Cloud Academy
DevOps Cloud Academy
DevOps Cloud Academy
Configuring Proxy Settings for Minikube Installation

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.com

The 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.

proxykubernetesLinuxNetworkingEnvironment VariablesMinikube
DevOps Cloud Academy
Written by

DevOps Cloud Academy

Exploring industry DevOps practices and technical expertise.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.