Skip to content

Instantly share code, notes, and snippets.

@alphamarket
Created December 5, 2023 15:39
Show Gist options
  • Save alphamarket/abbe6ac7048dd9b2a1bd4cf38960d0a1 to your computer and use it in GitHub Desktop.
Save alphamarket/abbe6ac7048dd9b2a1bd4cf38960d0a1 to your computer and use it in GitHub Desktop.
How to put a proxy in front of Kubernetes to download images behind a proxy when launching using CRI-O
# nano /etc/default/crio

HTTP_PROXY=http://127.0.0.1:8118
ALL_PROXY=http://127.0.0.1:8118
HTTPS_PROXY=http://127.0.0.1:8118
NO_PROXY=localhost,10.96.0.0/12,192.168.0.0/16,172.16.0.0/12,127.0.0.0/8,<SERVER'S IP> # append any other IPs/domains to not go through the proxy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment