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

feat(charts/nd-common): Adding support for istio sidecar resource override #256

Merged
merged 6 commits into from
Jan 10, 2024

Conversation

scohen-nd
Copy link
Contributor

@scohen-nd scohen-nd commented Jan 10, 2024

Motivation
Due to an incident, we found out that once one of the values is set through annotation. It overides the other values which is what led to the incident.
This behaviour is not documents nor it makes sense in any ways.
Description
Once a value is set to any of the istio.(proxyCPU, proxyCPULimit, proxyMemory, proxyMemoryLimit), all the 4 annotations will get created.
Fallbacking to the current implemented default resources for any annotation that is not specifically set:
Limits:
cpu: 2
memory: 1Gi
Requests:
cpu: 100m
memory: 128Mi

The PR includes:

  • Adding support for istio sidecar resource override in nd-common istio-annotations.
  • Updating dependant charts to use the new nd-common.

@scohen-nd scohen-nd requested a review from a team as a code owner January 10, 2024 20:47
charts/nd-common/Chart.yaml Outdated Show resolved Hide resolved
charts/nd-common/templates/_istio.tpl Outdated Show resolved Hide resolved
charts/nd-common/templates/_istio.tpl Outdated Show resolved Hide resolved
@scohen-nd scohen-nd merged commit ed04d7a into main Jan 10, 2024
2 checks passed
@scohen-nd scohen-nd deleted the istio_sidecar_resources branch January 10, 2024 22:08
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.

3 participants