gateway-helm

by tonyhhyip

Helm chartv1.11.0-rc.0App v1.11.0-rc.0

The Helm chart for Envoy Gateway

About this chart

gateway-helm

The Helm chart for Envoy Gateway

Homepage: https://gateway.envoyproxy.io/

Maintainers

NameEmailUrl
envoy-gateway-steering-committeehttps://github.com/envoyproxy/gateway/blob/main/GOVERNANCE.md
envoy-gateway-maintainershttps://github.com/envoyproxy/gateway/blob/main/CODEOWNERS

Source Code

Requirements

RepositoryNameVersion
crds0.0.0

Usage

Helm must be installed to use the charts. Please refer to Helm's documentation to get started.

Install from DockerHub

Once Helm has been set up correctly, install the chart from dockerhub:

helm install eg oci://docker.io/envoyproxy/gateway-helm --version v0.0.0-latest -n envoy-gateway-system --create-namespace

Image overrides target different components. global.images.envoyGateway.* configures the Envoy Gateway control plane Deployment rendered by this chart. global.images.envoyProxy.* configures the managed Envoy Proxy data plane through the generated EnvoyGateway config.

This command installs both Gateway API CRDs and Envoy Gateway CRDs. If your Kubernetes provider already manages Gateway API CRDs for the cluster, confirm that the provider-installed Gateway API version and channel are compatible with the Envoy Gateway release and the Gateway API resources you plan to use. If they are compatible, install only the Envoy Gateway CRDs separately and use --set crds.enabled=false when installing this chart.

You can find all helm chart release in Dockerhub

Install from Source Code

You can also install the helm chart from the source code:

To install the eg chart along with Gateway API CRDs and Envoy Gateway CRDs:

make kube-deploy TAG=latest

Skip install CRDs

You can install the eg chart without the bundled Gateway API CRDs, Envoy Gateway CRDs, and Gateway API safe upgrade policy resources by setting crds.enabled=false. Make sure these resources exist in the cluster before installing the chart with --set crds.enabled=false, otherwise Envoy Gateway may fail to start.

If your Kubernetes provider manages compatible Gateway API CRDs, install only the Envoy Gateway CRDs from the gateway-crds-helm chart first:

helm template eg-crds oci://docker.io/envoyproxy/gateway-crds-helm --set 'crds.gatewayAPI.enabled=false' --set 'crds.envoyGateway.enabled=true' \
    --version v0.0.0-latest | kubectl apply --server-side -f -

If the provider-managed Gateway API CRDs are not compatible, use a compatible Gateway API CRD installation method for the cluster first, then install this chart with --set crds.enabled=false.

After the required CRDs are installed, install the eg chart with --set crds.enabled=false. Setting crds.enabled=false also skips the Gateway API safe upgrade policy resources (the safe-upgrades ValidatingAdmissionPolicy and binding shipped with the Gateway API bundle), so manage them outside this chart when these resources are owned elsewhere:

helm install eg --create-namespace oci://docker.io/envoyproxy/gateway-helm --version v0.0.0-latest -n envoy-gateway-system --set crds.enabled=false

To uninstall the chart:

helm uninstall eg -n envoy-gateway-system

Values

KeyTypeDefaultDescription
certgenobject{"job":{"affinity":{},"annotations":{},"args":[],"nodeSelector":{},"pod":{"annotations":{},"labels":{},"securityContext":{"fsGroup":65532,"runAsGroup":65532,"runAsNonRoot":true,"runAsUser":65532,"seccompProfile":{"type":"RuntimeDefault"}}},"resources":{},"securityContext":{"allowPrivilegeEscalation":false,"capabilities":{"drop":["ALL"]},"privileged":false,"readOnlyRootFilesystem":true,"runAsGroup":65532,"runAsNonRoot":true,"runAsUser":65532,"seccompProfile":{"type":"RuntimeDefault"}},"tolerations":[],"ttlSecondsAfterFinished":30},"rbac":{"annotations":{},"labels":{}}}Certgen is used to generate the certificates required by EnvoyGateway. If you want to construct a custom certificate, you can generate a custom certificate through Cert-Manager before installing EnvoyGateway. Certgen will not overwrite the custom certificate. Please do not manually modify values.yaml to disable certgen, it may cause EnvoyGateway OIDC,OAuth2,etc. to not work as expected.
commonLabelsobject{}Labels to apply to all resources
config.envoyGatewayobject{"extensionApis":{},"gateway":{"controllerName":"gateway.envoyproxy.io/gatewayclass-controller"},"logging":{"level":{"default":"info"}},"provider":{"type":"Kubernetes"}}EnvoyGateway configuration. Visit https://gateway.envoyproxy.io/docs/api/extension_types/#envoygateway to view all options.
crds.enabledbooltrueInstall Envoy Gateway CRDs, Gateway API CRDs, and Gateway API safe upgrade policy resources. Set to false when these resources are managed separately.
createNamespaceboolfalse
deployment.annotationsobject{}
deployment.envoyGateway.extraEnvlist[]Additional environment variables for the envoy-gateway container.
deployment.envoyGateway.image.repositorystring""
deployment.envoyGateway.image.tagstring""
deployment.envoyGateway.imagePullPolicystring""
deployment.envoyGateway.imagePullSecretslist[]
deployment.envoyGateway.livenessProbe.httpGet.pathstring"/healthz"
deployment.envoyGateway.livenessProbe.httpGet.portint8081
deployment.envoyGateway.livenessProbe.periodSecondsint20
deployment.envoyGateway.livenessProbe.successThresholdint1
deployment.envoyGateway.livenessProbe.timeoutSecondsint1
deployment.envoyGateway.readinessProbe.httpGet.pathstring"/readyz"
deployment.envoyGateway.readinessProbe.httpGet.portint8081
deployment.envoyGateway.readinessProbe.periodSecondsint10
deployment.envoyGateway.readinessProbe.successThresholdint1
deployment.envoyGateway.readinessProbe.timeoutSecondsint1
deployment.envoyGateway.resources.limits.memorystring"1024Mi"
deployment.envoyGateway.resources.requests.cpustring"100m"
deployment.envoyGateway.resources.requests.memorystring"256Mi"
deployment.envoyGateway.securityContext.allowPrivilegeEscalationboolfalse
deployment.envoyGateway.securityContext.capabilities.drop[0]string"ALL"
deployment.envoyGateway.securityContext.privilegedboolfalse
deployment.envoyGateway.securityContext.readOnlyRootFilesystembooltrue
deployment.envoyGateway.securityContext.runAsGroupint65532
deployment.envoyGateway.securityContext.runAsNonRootbooltrue
deployment.envoyGateway.securityContext.runAsUserint65532
deployment.envoyGateway.securityContext.seccompProfile.typestring"RuntimeDefault"
deployment.envoyGateway.startupProbe.failureThresholdint30
deployment.envoyGateway.startupProbe.httpGet.pathstring"/healthz"
deployment.envoyGateway.startupProbe.httpGet.portint8081
deployment.envoyGateway.startupProbe.periodSecondsint1
deployment.envoyGateway.startupProbe.successThresholdint1
deployment.envoyGateway.startupProbe.timeoutSecondsint1
deployment.envoyGateway.strategyobject{}Volume source for the Wasm module cache mounted at /var/lib/eg/wasm. Defaults to an emptyDir when left empty. Example: persist the Wasm module cache across controller restarts by backing it with a PersistentVolumeClaim: wasmCacheVolume: persistentVolumeClaim: claimName: envoy-gateway-wasm-cache
deployment.envoyGateway.wasmCacheVolumeobject{}
deployment.pod.affinityobject{}
deployment.pod.annotations."prometheus.io/port"string"19001"
deployment.pod.annotations."prometheus.io/scrape"string"true"
deployment.pod.extraContainerslist[]Additional sidecar containers on the deployment definition.
deployment.pod.extraVolumeMountslist[]
deployment.pod.extraVolumeslist[]
deployment.pod.initContainerslist[]Additional init containers on the deployment definition. Also used for native sidecars (an init container with restartPolicy: Always).
deployment.pod.labelsobject{}
deployment.pod.nodeSelectorobject{}
deployment.pod.securityContext.fsGroupint65532
deployment.pod.securityContext.runAsGroupint65532
deployment.pod.securityContext.runAsNonRootbooltrue
deployment.pod.securityContext.runAsUserint65532
deployment.pod.securityContext.seccompProfile.typestring"RuntimeDefault"
deployment.pod.tolerationslist[]
deployment.pod.topologySpreadConstraintslist[]
deployment.ports[0].namestring"grpc"
deployment.ports[0].portint18000
deployment.ports[0].targetPortint18000
deployment.ports[1].namestring"ratelimit"
deployment.ports[1].portint18001
deployment.ports[1].targetPortint18001
deployment.ports[2].namestring"wasm"
deployment.ports[2].portint18002
deployment.ports[2].targetPortint18002
deployment.ports[3].namestring"metrics"
deployment.ports[3].portint19001
deployment.ports[3].targetPortint19001
deployment.priorityClassNamestringnil
deployment.replicasint1
global.imagePullSecretslist[]Global override for image pull secrets
global.imageRegistrystring""Global override for image registry
global.images.envoyGateway.imagestringnilFull image for the Envoy Gateway control plane Deployment installed by this chart.
global.images.envoyGateway.pullPolicystringnilImage pull policy for the Envoy Gateway control plane Deployment. Default behavior: latest images will be Always else IfNotPresent.
global.images.envoyGateway.pullSecretslist[]Pull secrets for the Envoy Gateway control plane Deployment.
global.images.envoyProxy.imagestring""Full image for the managed Envoy Proxy data plane. This updates the generated envoyProxy config and does not change the envoy-gateway control plane Deployment image. If not specified, the default image built into envoy-gateway is used.
global.images.envoyProxy.pullPolicystring""Image pull policy for the managed Envoy Proxy data plane. Default behavior: IfNotPresent.
global.images.envoyProxy.pullSecretslist[]Pull secrets for the managed Envoy Proxy data plane.
global.images.ratelimit.imagestring"docker.io/envoyproxy/ratelimit:master"
global.images.ratelimit.pullPolicystring"IfNotPresent"
global.images.ratelimit.pullSecretslist[]
hpa.behaviorobject{}
hpa.enabledboolfalse
hpa.maxReplicasint1
hpa.metricslist[]
hpa.minReplicasint1
kubernetesClusterDomainstring"cluster.local"
namespaceOverridestring""Override the namespace for resources deployed by the chart. Defaults to the release namespace.
podDisruptionBudget.minAvailableint0
service.annotationsobject{}
service.trafficDistributionstring""
service.typestring"ClusterIP"Service type. Can be set to LoadBalancer with specific IP, e.g.: type: LoadBalancer loadBalancerIP: 10.236.90.20
topologyInjector.annotationsobject{}
topologyInjector.enabledbooltrue

Deploy gateway-helm with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has gateway-helm on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartgateway-helm is pinned at v1.11.0-rc.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply