Skip to content

Commit afb6b16

Browse files
authored
fix gateway yaml format and missing label (#455)
* fix gateway api label Signed-off-by: Jooho Lee <[email protected]> * fix format of yaml Signed-off-by: Jooho Lee <[email protected]> --------- Signed-off-by: Jooho Lee <[email protected]>
1 parent 64b6efb commit afb6b16

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/admin/gatewayapi_migration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ kubectl rollout restart deployment kserve-controller-manager -n kserve
129129
If you are using a cloud provider, you may need to configure the external traffic to the LoadBalancer service created in [step 4](#4-create-gateway-resource).
130130

131131
```shell
132-
kubectl get svc kserve-ingress-gateway -l -A
132+
kubectl get svc -l serving.kserve.io/gateway=kserve-ingress-gateway -A
133133
```
134134

135135
## 8. Verify the Gateway API configuration

docs/admin/kubernetes_deployment.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ The minimally required Cert Manager version is 1.15.0 and you can refer to [Cert
5555
- name: http
5656
protocol: HTTP
5757
port: 80
58-
allowedRoutes:
59-
namespaces:
60-
from: All
58+
allowedRoutes:
59+
namespaces:
60+
from: All
6161
- name: https
6262
protocol: HTTPS
6363
port: 443
@@ -70,9 +70,9 @@ The minimally required Cert Manager version is 1.15.0 and you can refer to [Cert
7070
allowedRoutes:
7171
namespaces:
7272
from: All
73-
infrastructure:
74-
labels:
75-
serving.kserve.io/gateway: kserve-ingress-gateway
73+
infrastructure:
74+
labels:
75+
serving.kserve.io/gateway: kserve-ingress-gateway
7676
```
7777
!!! note
7878
KServe comes with a default `Gateway` named kserve-ingress-gateway. You can enable the default gateway by setting Helm value `kserve.controller.gateway.ingressGateway.createGateway` to `true`.

0 commit comments

Comments
 (0)