Fix: Make appProtocols optional in flyteadmin and flyteconsole services in helm chart #5944
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Why are the changes needed?
#5240, among other things, set
appProtocol
values ofTCP
for the ports of the flyteadmin and flyteconsole services in the flyte-core helm chart.This comment by @ddl-ebrown explains why this was necessary in their deployment which uses an ingress in combination with the istio service mesh:
In my deployment (which also uses istio but not with an nginx ingress but instead with a GCE ingress and an istio ingress gateway, see here for deplyoment guide), this particular change is problematic:
#5240 intentionally sets the
appProtocol
for thegrpc
port toTCP
overgrpc
. In my deployment this prevents traffic flowing from the istio ingress gateway to the flyteadmin pod.This worked before the
appProtocol
was set (assumably because the protocol was derived from the name of the port) and it does also work if I change the protocol togrpc
.What changes were proposed in this pull request?
I currently cannot upgrade my deployment without manually patching the service after deployment. Because of this I'd like to make the
appProtocol
values in the helm chart optional.Because the app protocols used to not be set since they are not required for the default nginx ingress/no service mesh deployment the helm chart provides, I propose to disable the app protocol fields by default.
This would mean that you, @ddl-ebrown, need to set the flags to true when upgrading to a helm chart version that contains this change.
If somebody has the opinion that the default should be true, I'm absolutely happy to discuss this.
How was this patch tested?
The app protocol values used to not be set and are not needed for the default nginx ingress deployment offered by the helm chart.
Check all the applicable boxes