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

Do not proxy kubernetes internal traffic #920

Merged
merged 3 commits into from Sep 17, 2020

Conversation

sumo-drosiek
Copy link
Contributor

Description

Do not proxy kubernetes internal traffic

Testing performed
  • ci/build.sh
  • Redeploy fluentd and fluentd-events pods
  • Confirm events, logs, and metrics are coming in

@sumo-drosiek
Copy link
Contributor Author

Fixes #914

@sumo-drosiek sumo-drosiek added this to the v1.3 milestone Sep 16, 2020
@@ -32,6 +32,8 @@ sumologic:
## proxy urls
httpProxy: ""
httpsProxy: ""
## Exclude kubernetes internal traffic from proxy
noProxy: kubernetes.default.svc
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Love this approach it is cleaner. Con is that if a customer has a different url where they customize the host in the TF kubernetes provider, they have to also update this. Any way to have one property to control both?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should the cluster endpoint be excluded from the proxy every time?
I can merge both of the config options in helm, but there will be no way to include the kubernetes url then (to proxy)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh ok fair point. In that case we can leave it

Copy link
Contributor

@frankreno frankreno left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@sumo-drosiek sumo-drosiek merged commit 388c1be into master Sep 17, 2020
@sumo-drosiek sumo-drosiek deleted the drosiek-fix-external-proxy branch September 17, 2020 15:24
perk-sumo pushed a commit that referenced this pull request Sep 18, 2020
* Do not proxy kubernetes internal traffic

* Update terraform tests

* Generate new 'setup-sumologic.yaml.tmpl'

Co-authored-by: Travis CI <travis@travis-ci.org>
perk-sumo pushed a commit that referenced this pull request Sep 18, 2020
* Do not proxy kubernetes internal traffic
* Update terraform tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setup process does not work with external Proxy
3 participants