Comments (7)
yeah, that is the user being explicit, if the user sets both replica and hpa, they will encounter the battle of the controllers, we can flag it, but its legal in k8s today
we could add a note similar to this https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#migrating-deployments-and-statefulsets-to-horizontal-autoscaling
saying dont set replica if hpa is set
make sense, let me adjust it then
from gateway.
hi folks @arkodg @zirain , it looks like this issue is still happening, as I observed, it looks like because we are leveraging the Update API instead of Patch API in the infra-client code, below:
gateway/internal/infrastructure/kubernetes/infra_client.go
Lines 40 to 45 in c655811
Therefore, I tried in my local to change with Patch API, it worked as expected. Should I re-open this issue, or create a new issue?
yes please open a new issue for this ....
from gateway.
if this is reasonable, I would like to work on this
from gateway.
looks like we've discussed this a while ago #703 (comment)
imo the fix here is to not set any default replica, which we are doing today, this code needs to be removed
from gateway.
imo the fix here is to not set any default replica, which we are doing today, this code needs to be removed
However @arkodg , it seems to me that unsetting the default replica only addresses the default value behavior, but when a user accidentally sets EnvoyProxy.spec.provider.kubernetes.envoyDeployment.replicas
, it will still revert to its replica value, right? wdyt?
from gateway.
imo the fix here is to not set any default replica, which we are doing today, this code needs to be removed
However @arkodg , it seems to me that unsetting the default replica only addresses the default value behavior, but when a user accidentally sets
EnvoyProxy.spec.provider.kubernetes.envoyDeployment.replicas
, it will still revert to its replica value, right? wdyt?
yeah, that is the user being explicit, if the user sets both replica
and hpa
, they will encounter the battle of the controllers, we can flag it, but its legal in k8s today
we could add a note similar to this https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#migrating-deployments-and-statefulsets-to-horizontal-autoscaling
saying dont set replica if hpa
is set
from gateway.
hi folks @arkodg @zirain , it looks like this issue is still happening, as I observed, it looks like because we are leveraging the Update API instead of Patch API in the infra-client code, below:
gateway/internal/infrastructure/kubernetes/infra_client.go
Lines 40 to 45 in c655811
Therefore, I tried in my local to change with Patch API, it worked as expected. Should I re-open this issue, or create a new issue?
from gateway.
Related Issues (20)
- e2e: add `egctl install/uninstall` test HOT 1
- Restrict Login Email with Google OAuth2.0 to Specific Domain Name
- Way to include id token claims as headers? HOT 1
- conformance: enable HTTPRouteBackendRequestHeaderModifier HOT 1
- Under https://gateway.envoyproxy.io/v1.0.1/tasks/observability/proxy-observability/#traces HOT 6
- envoy-gateway pod suddenly starts crashing on startup with: no matches for kind "GRPCRoute" HOT 3
- Add support for the header hash policy in the consistent hash load balancer
- feat: add support to configuring downstream idle timeout for TCP listener HOT 1
- Enable GatewayHTTPListenerIsolation conformance test
- Refactor XDS UDP Listener for UDPRoute HOT 2
- flaky: TestE2E/ExtProc/http_route_without_proc_mode HOT 1
- Add-on / Extended Helm Chart HOT 6
- feat: add support to enable IP Transparency for TCP via Original Source listener filter HOT 1
- Got `"unknown_service"` when enable Open Telemetry sink for EG CP metrics HOT 1
- Mixed metrics when enable Open Telemetry sink for EG CP & DP at the same time HOT 4
- E2E: multiple GatewayClass test
- Envoy Gateway Extension still a viable in stable version? HOT 1
- Link helm reference docs on helm installation page HOT 5
- Authorization base on JWT claims
- Consider moving away from promStatsdExporterContainer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gateway.