-
Notifications
You must be signed in to change notification settings - Fork 361
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: support envoy & ratelimit pod affinity and tolerations. #1398
feat: support envoy & ratelimit pod affinity and tolerations. #1398
Conversation
…ions. Signed-off-by: qicz <[email protected]>
Signed-off-by: qicz <[email protected]>
when #1294 merged, will append more unit tests. |
Codecov Report
@@ Coverage Diff @@
## main #1398 +/- ##
==========================================
+ Coverage 62.63% 62.67% +0.04%
==========================================
Files 79 79
Lines 11116 11131 +15
==========================================
+ Hits 6962 6976 +14
- Misses 3699 3701 +2
+ Partials 455 454 -1
|
Signed-off-by: qicz <[email protected]>
Signed-off-by: qicz <[email protected]>
…loyment-affinity-tolerations
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.
To ensure we're prepared to support additional features in K8s resource spec - such as HPA, VPA, volumes, volumeMounts and more - I suggest we establish a clear design beforehand.
In my research, I came across how Istio handles Ingress Gateway customization. Its configuration is quite complex but could be an excellent reference for our EG implementation. You can find more information on KubernetesResourcesSpec at the following link:
https://istio.io/latest/docs/reference/config/istio.operator.v1alpha1/#KubernetesResourcesSpec
hey @zhaohuabing if you are referring to overlays in Istio, im a -1 on it because as a end user, I found it extremely hard to generate the right config |
@arkodg I mean the overall structure of the K8s resource: https://istio.io/latest/docs/reference/config/istio.operator.v1alpha1/#KubernetesResourcesSpec But I agree that we can add new fields when users ask for them. The current structure of envoyDeployment looks good to me. |
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.
LGTM
…loyment-affinity-tolerations
Signed-off-by: qicz <[email protected]>
…qicz/gateway into support-deployment-affinity-tolerations
ptal @arkodg |
internal/infrastructure/kubernetes/ratelimit/testdata/deployments/nodeselector.yaml
Outdated
Show resolved
Hide resolved
Signed-off-by: qicz <[email protected]>
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.
LGTM, thanks for adding this feature !
…roxy#1398) * feat: support envoy & ratelimit pod affinity and tolerations. Signed-off-by: qicz <[email protected]> Co-authored-by: Xunzhuo <[email protected]>
Fixes #1396
support envoy & ratelimit pod affinity and tolerations.