Deploy and Verify the Gateway
You're reading API Gateway 1.1.0. The newest release is 1.2.0. Go to the newest release
Deploy the Chart
- OCI Registry (Recommended)
- Local Chart (Testing Only)
helm install ap-gateway oci://ghcr.io/wso2/api-platform/helm-charts/gateway \
--version 1.1.3 \
--namespace ap-gateway \
--create-namespace \
--values ./values.yaml \
--wait \
--timeout 5m
helm install ap-gateway ./kubernetes/helm/gateway-helm-chart \
--namespace ap-gateway \
--create-namespace \
--values ./values.yaml \
--wait \
--timeout 5m
Verify the Deployment
Check all pods are running:
kubectl get pods -n ap-gateway
Check all services:
kubectl get svc -n ap-gateway
Controller health check:
kubectl exec -n ap-gateway deploy/ap-gateway-controller -- \
wget -qO- http://localhost:9094/api/admin/v0.9/health
Upgrade Procedure
Pull latest chart values to see what changed:
helm show values oci://ghcr.io/wso2/api-platform/helm-charts/gateway --version <new-version>
Diff current release vs the new chart (requires the helm-diff plugin):
helm diff upgrade ap-gateway oci://ghcr.io/wso2/api-platform/helm-charts/gateway \
--version <new-version> \
--namespace ap-gateway \
--values ./values.yaml
Upgrade:
helm upgrade ap-gateway oci://ghcr.io/wso2/api-platform/helm-charts/gateway \
--version <new-version> \
--namespace ap-gateway \
--values ./values.yaml \
--wait \
--timeout 5m
Rollback if needed:
helm rollback ap-gateway --namespace ap-gateway
note
The controller pod restarts on upgrade. Because the gateway runtime syncs policy configuration via xDS from the controller, keep replicaCount at ≥ 2 for the runtime so in-flight requests continue to be served during controller restarts.
Was this page helpful?