-
Notifications
You must be signed in to change notification settings - Fork 347
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
Support configuring number of replicas of Envoy Proxy #713
Comments
@gitanuj tya is for creating the issue. Are you willing to work on a PR to fix this issue? If so, I would be happy to help provide guidance. |
@danehans It'll be great if you can give me some pointers to get started on this and I can work on it sometime next week. Would love for this to be included in the next release. |
Since the EnvoyProxy API is currently unimplemented, fixing this issue will require more work than what will be needed in the future. Implementation Tasks
Notes:
@arkodg @skriss @AliceProxy @Xunzhuo feel free to provide any additional guidance. |
it would be good to design the API with future expansion in mind. |
@arkodg thanks for sharing the Istio reference. If we take the KubernetesResourcesSpec approach, EnvoyProxy will need a higher-level abstraction similar to provider in EnvoyGateway to wrap the Kube-isms. For example: apiVersion: config.gateway.envoyproxy.io/v1alpha1
kind: EnvoyProxy
metadata:
name: envoyproxy-sample
spec:
provider:
type: Kubernetes
kubernetes:
replicasCount: 2
... The KubernetesResourcesSpec approach provides a high level of configurability. However, it also provides a higher support burden and potential UX issues over a more fine-grained API surface. |
yah @danehans above approach looks good |
Understood, but I don't necessarily agree that the KubernetesResourcesSpec approach needs to be taken. This approach allows users to configure every aspect of a resource which has the potential for providing a poor UX and instability. We can take more of a surgical approach to exposing Envoy configuration. |
Currently EG deploys only a single instance of Envoy Proxy. For scaling to high number of requests it will be useful to be able to increase number of replicas of Envoy Proxy to distribute load. It can be used for the following scenario -
This property can be exposed through Envoy Proxy Config API - #703
The text was updated successfully, but these errors were encountered: