diff --git a/content/en/docs/tasks/traffic-management/ingress/gateway-api/index.md b/content/en/docs/tasks/traffic-management/ingress/gateway-api/index.md index 61dc35b57a..7c31d80946 100644 --- a/content/en/docs/tasks/traffic-management/ingress/gateway-api/index.md +++ b/content/en/docs/tasks/traffic-management/ingress/gateway-api/index.md @@ -231,7 +231,7 @@ Resource attachment is currently experimental. Resources can be *attached* to a `Gateway` to customize it. However, most Kubernetes resources do not currently support attaching directly to a `Gateway`, but they can be attached to the corresponding generated `Deployment` and `Service` instead. -This is easily done because both of these resources are generated with the same name as the `Gateway` and with a label `istio.io/gateway-name: `. +This is easily done because both of these resources are generated with name `-` and with a label `istio.io/gateway-name: `. For example, to deploy a `Gateway` with a `HorizontalPodAutoscaler` and `PodDisruptionBudget`: @@ -261,7 +261,7 @@ spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment - name: gateway + name: gateway-istio minReplicas: 2 maxReplicas: 5 metrics: diff --git a/content/en/docs/tasks/traffic-management/ingress/gateway-api/snips.sh b/content/en/docs/tasks/traffic-management/ingress/gateway-api/snips.sh index c15f76e121..5e0d46741b 100644 --- a/content/en/docs/tasks/traffic-management/ingress/gateway-api/snips.sh +++ b/content/en/docs/tasks/traffic-management/ingress/gateway-api/snips.sh @@ -180,7 +180,7 @@ spec: scaleTargetRef: apiVersion: apps/v1 kind: Deployment - name: gateway + name: gateway-istio minReplicas: 2 maxReplicas: 5 metrics: