Skip to content

Add replicas & resources to EnvoySpec/EnvoyValues#62

Open
ArnobKumarSaha wants to merge 1 commit into
masterfrom
arnob-envoy-scale
Open

Add replicas & resources to EnvoySpec/EnvoyValues#62
ArnobKumarSaha wants to merge 1 commit into
masterfrom
arnob-envoy-scale

Conversation

@ArnobKumarSaha

Copy link
Copy Markdown
Member

Adds Replicas *int32 and Resources core.ResourceRequirements to both EnvoySpec and EnvoyValues in api/gateway/v1alpha1/gatewayconfig_types.go.

This lets the service-gateway EnvoyProxy be scaled per-tenant:

  • Horizontal: envoyDeployment.replicas
  • Vertical: envoyDeployment.container.resources (e.g. limits.memory: 1.5Gi)

Deepcopy regenerated via make generate. openapi unchanged (these types are not part of the CRD surface).

Consumed by the service-gateway and service-gateway-presets charts in the installer repo (follow-up PR after this is tagged).

Allow per-tenant horizontal (envoyDeployment.replicas) and vertical
(container.resources) scaling of the service-gateway EnvoyProxy.

Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
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.

2 participants