Extend NO_PROXY with cluster API endpoints and pod/service CIDRs

kubectl (Go net/http) is SOCKS-blind: with HTTP_PROXY=socks5h:// it tries to
DNS-resolve the literal 'socks5h' and fails. Keep cluster-internal traffic
direct: node API IPs, trinitysan.by, and the federation pod/service CIDRs.
This commit is contained in:
Ubuntu
2026-09-27 10:06:49 +00:00
parent fb1c5eaf81
commit f03a1db30a
+1 -1
View File
@@ -38,7 +38,7 @@ spec:
- name: HTTPS_PROXY
value: socks5h://node2-socks5.egress-proxy.svc.clusterset.local:1080
- name: NO_PROXY
value: localhost,127.0.0.1,::1,.svc,.svc.cluster.local,.svc.clusterset.local
value: localhost,127.0.0.1,::1,.svc,.svc.cluster.local,.svc.clusterset.local,.trinitysan.by,107.155.122.141,107.155.122.212,63.250.53.80,91.210.106.53,10.0.0.0/8,10.32.0.0/12,10.43.0.0/16,10.51.0.0/16,10.53.0.0/16
securityContext:
allowPrivilegeEscalation: true
capabilities: