chaostoolkit / walkthrough

A lab based repository of learning about the Chaos Toolkit incrementally
Apache License 2.0
5 stars 2 forks source link

Error installing Traefik #20

Open pablochacin opened 2 years ago

pablochacin commented 2 years ago

When installing traefik on minikube according to the instructions in the setup, I the the following error:

Error from server (Invalid): error when creating "manifests/traefik.yaml": CustomResourceDefinition.apiextensions.k8s.io "ingressroutes.traefik.containo.us" is invalid: spec.versions[0].schema.openAPIV3Schema: Required value: schemas are required

kaeraali-flutterint commented 1 week ago

the method for installing traefik is quite different these days. I successfully followed Traefik's Getting Started With Kubernetes guide and then had to update manifests/all.yaml somewhat, removing the custom types and then adding:

---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: frontend-ingress
spec:
  rules:
    - http:
        paths:
          - path: /
            pathType: Prefix
            backend:
              service:
                name: front
                port:
                  name: http

You will then hit further errors with changes to python code and the fact that the service is now exposed on port 80 rather than port 30080. But it's a start.