https://rancher.com/ logo
Title
r

rich-receptionist-74395

02/06/2023, 2:05 PM
Defining Ingress for k3s traefik I am running k3s version 1.25.5 and I would like to define traefik as an ingress for one of the services defined through an external helm chart. I am struggling to find the right ingress definition. I tried with the below yaml file but that gives an error stating
error: resource mapping not found for name: "c8-ingress" namespace: "" from "zeebe-traefik.yaml": no matches for kind "Ingress" in version "extensions/v1beta1"
ensure CRDs are installed first
This seems to be because of the an old
apiVersion
used in the yaml file. How to do it the right way? Thanks.
e

eager-london-83975

02/06/2023, 2:23 PM
Try changing apiVersion to
apiVersion: <http://networking.k8s.io/v1|networking.k8s.io/v1>
the properties of paths: have also changed in this version so you gonna have to look that up