Welcome to the Linux Foundation Forum!

Lab 5.2 - Ingress Issue

tomp736
tomp736 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?

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  namespace: emojivoto
  name: ingress-emojivoto
  annotations:
    ingress.kubernetes.io/rewrite-target: /
    nginx.ingress.kubernetes.io/service-upstream: "true"
    kubernetes.io/ingress.class: istio
spec:
   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",

Categories

Upcoming Training