Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation behind proxy fails #203

Closed
jonathansloman opened this issue Sep 20, 2019 · 5 comments · Fixed by #692
Closed

Installation behind proxy fails #203

jonathansloman opened this issue Sep 20, 2019 · 5 comments · Fixed by #692
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@jonathansloman
Copy link

Our kubernetes cluster is on our corporate network, any http/https access to the internet has to go through a proxy. I can see no way to set a proxy to allow this to work. Attempting to install hangs on the pre-install setup

Please make it possible to specify an http/https proxy on install.

@jonathansloman
Copy link
Author

For anyone else stuck by this - it's possible to get it to work if you follow the steps for 'Non Helm Installation'. At the 'Automatic Source Creation and Setup Script' stage - use the '-d false' option to not deploy, but just to create the fluentd-sumologic.yaml file. You need to then manually edit this file and add to the 'env:' section for both containers an environment variable called PROXY_URI with the value http://proxy-hostname:proxy-port/ - this will probably only work with non-authenticating proxies.

You can then kubectl apply the file and carry on with the rest of the instructions.

@abhi-sumo-zz
Copy link
Contributor

Hey @jonathansloman were you able to get it installed with this workaround?

@jonathansloman
Copy link
Author

hi, I believe so, yes - adding PROXY_URI to the environment for collection-sumologic and collection-sumologic-events allows them to successfully send the data to sumo.

Ideally though the helm install process would work, which would mean also making the pre-install setup phase proxy-aware as well, as I believe it uses curl/wget (which I think would both honour http_proxy and https_proxy environment variables if set).

@vsinghal13 vsinghal13 added the enhancement New feature or request label Mar 6, 2020
@frankreno frankreno added this to the v1.1 milestone May 12, 2020
@vsinghal13
Copy link
Contributor

I think this can be solved by #681 as now we have the ability to add additional env variables. Based on the comment looks like we will need to add the same in events sts as well.

@frankreno
Copy link
Contributor

In addition to the event STS you also need to add the capability to the setup job so outbound calls to Sumo can be proxied. I believe TF supports the HTTPS_PROXY env var.

@vsinghal13 vsinghal13 self-assigned this May 28, 2020
psaia pushed a commit to psaia/sumologic-kubernetes-collection that referenced this issue May 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants