kubernetes-sigs / cluster-api-provider-openstack

Cluster API implementation for OpenStack
https://cluster-api-openstack.sigs.k8s.io/
Apache License 2.0
289 stars 253 forks source link

global cluster http_proxy support / configuration #2089

Open xinity opened 4 months ago

xinity commented 4 months ago

hello there,

i was wondering what would be the best way to support http_proxy globally ? i am required to use an internal http_proxy and i want to make sure that all cluster deployed will be able to leverage it

is it something we can achieve using CAPO ?

not sure if it's a CAPO or a CAPI topic to be honest :)

mdbooth commented 4 months ago

I don't think it's either, tbh; I think it's a kubernetes question. I know OpenShift can do this, but I'm not 100% clear on the mechanism. It wouldn't surprise me if it's something like injecting proxy environment variables into all pods on admission.

jichenjc commented 4 months ago

I think it's a k8s question , not something in CPO, so close this and feel free to reopen

not sure whether openshift did something internally through setting on ingress or other things, no clear detail info only how to use it here ... https://docs.openshift.com/container-platform/4.15/networking/enable-cluster-wide-proxy.html

pawcykca commented 2 months ago

You can achieve this on Node level by: