Welcome to the Linux Foundation Forum!

Lab 5.2 - Ingress Issue

Posts: 13
edited January 2023 in LFS243 Class Forum

I am unable to complete this lab due to kubernetes complaining about ingress annotations. What would be the correct way to resolve this for the purposes of this lab?

  1. apiVersion: networking.k8s.io/v1
  2. kind: Ingress
  3. metadata:
  4. namespace: emojivoto
  5. name: ingress-emojivoto
  6. annotations:
  7. ingress.kubernetes.io/rewrite-target: /
  8. nginx.ingress.kubernetes.io/service-upstream: "true"
  9. kubernetes.io/ingress.class: istio
  10. spec:
  11. ingressClassName: nginx

kubectl apply -f emojivote/ingress.yaml

The Ingress \"ingress-emojivoto\" is invalid: annotations.kubernetes.io/ingress.class: Invalid value: \"istio\": can not be set when the class field is also set",

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training