eficode-academy / kubernetes-katas

Deliberate exercises for Kubernetes
265 stars 275 forks source link

Error during ingress controller exercises #68

Closed Agger1995 closed 1 year ago

Agger1995 commented 3 years ago

Hi. I have recently been going through the training exercises you've made here. During 06-traefik-ingress exercises, I ran into issues with deploying the traefik ingress controller to my kubernetes cluster. From inspecting the logs of the pod, it provided some information regarding configuration flags:

$ kubectl logs traefik-ingress-controller-b85d96bd6-nb2mf -n kube-system
2021/10/13 14:33:48 command traefik error: failed to decode configuration from flags: field not found, node: kubernetes

From inspecting the manifest file ./ingress-traefik/traefik-deployment.yaml, I discovered that the 'traefik-ingress-controller' deployment does not refer to a specific tag of the traefik container image. This makes it use the latest tag by default which, at the time of writing this bug report, refers to v2.5.3 of traefik.

I then modified the above mentioned manifest file, changing the deployment's specification to use traefik:v1.7 as the container image instead, after which the pod was created successfully.

I suggest that the manifest is updated to use a specific tag of the traefik container image.

zanderhavgaard commented 1 year ago

Hi @Agger1995 I see that we never go to this issue.

We have just released a new version of this katas, and will not be maintaining the old exercises.

I will therefore close this issue.

But feel free to try the new v2 :smile: