Skip to content

Support envoy replicas & resources in service-gateway charts#1292

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

Support envoy replicas & resources in service-gateway charts#1292
ArnobKumarSaha wants to merge 1 commit into
masterfrom
arnob-envoy-scale

Conversation

@ArnobKumarSaha

Copy link
Copy Markdown
Member

Wires per-tenant scaling of the service-gateway EnvoyProxy through both charts:

  • Horizontal: envoy.replicasspec.provider.kubernetes.envoyDeployment.replicas (Deployment only; omitted for DaemonSet)
  • Vertical: envoy.resourcesenvoyDeployment.container.resources (e.g. limits.memory: 1.5Gi)

Changes

  • charts/service-gateway/templates/gateway/gwclass.yaml: render replicas (guarded to Deployment) and resources on the EnvoyProxy container.
  • charts/service-gateway/values.yaml, charts/service-gateway-presets/values.yaml: document the optional envoy.replicas / envoy.resources keys (commented; defaults unchanged).
  • Regenerated values.openapiv3_schema.yaml for both charts.
  • Bumped go.bytebuilders.dev/catalog to pick up the new EnvoySpec/EnvoyValues fields (Add replicas & resources to EnvoySpec/EnvoyValues catalog#62).

The presets chart needs no template change — gateway-config.yaml passes .Values straight into the GatewayConfig spec.

Depends on appscode-cloud/catalog#62.

Wire envoyDeployment.replicas (horizontal) and container.resources
(vertical, e.g. limits.memory) through the service-gateway and
service-gateway-presets charts, backed by the new EnvoySpec/EnvoyValues
fields in go.bytebuilders.dev/catalog.

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