diff --git a/examples/gke/tei-deployment/cpu-config/ingress.yaml b/examples/gke/tei-deployment/cpu-config/ingress.yaml index cd5e3c4e..f46f916f 100644 --- a/examples/gke/tei-deployment/cpu-config/ingress.yaml +++ b/examples/gke/tei-deployment/cpu-config/ingress.yaml @@ -2,16 +2,15 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: tei-ingress - annotations: - kubernetes.io/ingress.class: "gce" spec: + ingressClassName: "gce" rules: - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: tei-service - port: - number: 8080 + paths: + - path: / + pathType: Prefix + backend: + service: + name: tei-service + port: + number: 8080 diff --git a/examples/gke/tei-deployment/gpu-config/ingress.yaml b/examples/gke/tei-deployment/gpu-config/ingress.yaml index cd5e3c4e..f46f916f 100644 --- a/examples/gke/tei-deployment/gpu-config/ingress.yaml +++ b/examples/gke/tei-deployment/gpu-config/ingress.yaml @@ -2,16 +2,15 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: tei-ingress - annotations: - kubernetes.io/ingress.class: "gce" spec: + ingressClassName: "gce" rules: - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: tei-service - port: - number: 8080 + paths: + - path: / + pathType: Prefix + backend: + service: + name: tei-service + port: + number: 8080 diff --git a/examples/gke/tei-from-gcs-deployment/cpu-config/ingress.yaml b/examples/gke/tei-from-gcs-deployment/cpu-config/ingress.yaml index d89a14a1..34e64170 100644 --- a/examples/gke/tei-from-gcs-deployment/cpu-config/ingress.yaml +++ b/examples/gke/tei-from-gcs-deployment/cpu-config/ingress.yaml @@ -3,16 +3,15 @@ kind: Ingress metadata: name: tei-ingress namespace: hf-gke-namespace - annotations: - kubernetes.io/ingress.class: "gce" spec: + ingressClassName: "gce" rules: - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: tei-service - port: - number: 8080 + paths: + - path: / + pathType: Prefix + backend: + service: + name: tei-service + port: + number: 8080 diff --git a/examples/gke/tei-from-gcs-deployment/gpu-config/ingress.yaml b/examples/gke/tei-from-gcs-deployment/gpu-config/ingress.yaml index d89a14a1..34e64170 100644 --- a/examples/gke/tei-from-gcs-deployment/gpu-config/ingress.yaml +++ b/examples/gke/tei-from-gcs-deployment/gpu-config/ingress.yaml @@ -3,16 +3,15 @@ kind: Ingress metadata: name: tei-ingress namespace: hf-gke-namespace - annotations: - kubernetes.io/ingress.class: "gce" spec: + ingressClassName: "gce" rules: - http: - paths: - - path: / - pathType: Prefix - backend: - service: - name: tei-service - port: - number: 8080 + paths: + - path: / + pathType: Prefix + backend: + service: + name: tei-service + port: + number: 8080 diff --git a/examples/gke/tgi-deployment/config/ingress.yaml b/examples/gke/tgi-deployment/config/ingress.yaml index 2aac93a7..11cb1a20 100644 --- a/examples/gke/tgi-deployment/config/ingress.yaml +++ b/examples/gke/tgi-deployment/config/ingress.yaml @@ -2,9 +2,8 @@ apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: tgi-ingress - annotations: - kubernetes.io/ingress.class: "gce" spec: + ingressClassName: "gce" rules: - http: paths: diff --git a/examples/gke/tgi-from-gcs-deployment/config/ingress.yaml b/examples/gke/tgi-from-gcs-deployment/config/ingress.yaml index d4f8ba28..f8710e17 100644 --- a/examples/gke/tgi-from-gcs-deployment/config/ingress.yaml +++ b/examples/gke/tgi-from-gcs-deployment/config/ingress.yaml @@ -3,9 +3,8 @@ kind: Ingress metadata: name: tgi-ingress namespace: hf-gke-namespace - annotations: - kubernetes.io/ingress.class: "gce" spec: + ingressClassName: "gce" rules: - http: paths: