-
Notifications
You must be signed in to change notification settings - Fork 473
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
added rest xds server for endpoints #3799
Conversation
Issues linked to changelog: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update the pr description and fix conflicts
changelog/v1.6.0-beta6/rest-eds.yaml
Outdated
- type: FIX | ||
issueLink: https://github.com/solo-io/gloo/issues/3673 | ||
description: Fix EDS so modifying health checks on Upstream no longer results in 503s | ||
resolvesIssue: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is duplicated, remove
install/test/helm_suite_test.go
Outdated
// file, err := ioutil.ReadFile(fixtureName) | ||
// ExpectWithOffset(1, err).NotTo(HaveOccurred()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove
projects/gloo/api/v1/settings.proto
Outdated
// Some examples are: | ||
// 1. https://github.com/solo-io/gloo/issues/3673 | ||
// 2. https://github.com/solo-io/gloo/issues/3710 | ||
// 3. https://github.com/solo-io/gloo/issues/3673 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is duplicated. perhaps link to the envoy issue instead?
changelog/v1.6.0-beta6/rest-eds.yaml
Outdated
- type: NEW_FEATURE | ||
issueLink: https://github.com/solo-io/gloo/issues/3805 | ||
description: >- | ||
Allow toggling of EDS to rest XDS to avoid the envoy issue described in the following issue: https://github.com/envoyproxy/envoy/issues/13070. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the default? this was a change from the original behavior before, correct?
Issues linked to changelog: |
@@ -15,6 +15,7 @@ spec: | |||
{{- else }} | |||
xdsBindAddr: "0.0.0.0:{{ .Values.gloo.deployment.xdsPort }}" | |||
restXdsBindAddr: "0.0.0.0:{{ .Values.gloo.deployment.restXdsPort }}" | |||
enableRestEds: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should have a helm value for this
// Defaults to `0.0.0.0:9976` | ||
string rest_xds_bind_addr = 11; | ||
|
||
// Whether or not to use rest xds for all EDS by default. | ||
// Set to true by default in versions > `v1.6.0`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only set to true in helm installations, we should fix the implementation to handle nil as true
@@ -66,7 +66,7 @@ require ( | |||
github.com/solo-io/reporting-client v0.1.2 | |||
github.com/solo-io/skv2 v0.8.1 | |||
github.com/solo-io/solo-apis v0.0.0-20200717214114-6a1daa5a5d05 | |||
github.com/solo-io/solo-kit v0.13.13 | |||
github.com/solo-io/solo-kit v0.13.14 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nothing in the changelog for the codegen related changes from this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can add a DEPENDENCY_BUMP. This fixed some errors in the rest xds server
@@ -15,6 +15,7 @@ spec: | |||
{{- else }} | |||
xdsBindAddr: "0.0.0.0:{{ .Values.gloo.deployment.xdsPort }}" | |||
restXdsBindAddr: "0.0.0.0:{{ .Values.gloo.deployment.restXdsPort }}" | |||
enableRestEds: {{ .Values.settings.enableRestEds | default true }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i don't understand why we need the default -- shouldn't the generated values.go file already have the true value?
Description
Allow toggling of EDS to rest XDS to avoid the envoy issue where updates to CDS require new endpoints from the control-plane
Context
envoyproxy/envoy#13070.
Checklist:
make install-go-tools generated-code
to ensure there will be no code diffBOT NOTES:
resolves [Migrated] Modifying configs on a TLS enabled Upstream results in 503s solo-io/gloo#3673
resolves [Migrated] Empty upstreams solo-io/gloo#3710
resolves [Migrated] modifying healthcheck config while in unhealthy state stops future healthchecks solo-io/gloo#3219
resolves [Migrated] Enable rest XDS for endpoints to fix race condition in envoy solo-io/gloo#3805