Welcome to the Linux Foundation Forum!

Lab 7.2 Traefik image tag 1.7 needs to be specified

I think version 2 made changes that break the way the lab is setup. Without specifying the tag, I get the following error

  1. $ kubectl logs -n kube-system traefik-ingress-controller-ghn8w --follow
  2. 2019/10/04 01:24:38 command traefik error: failed to decode configuration from flags: field not found, node: kubernetes

The solution appears rather simple.

  1. # . . . . .
  2. hostNetwork: True
  3. containers:
  4. - image: traefik:1.7 # Add the 1.7 tag here
  5. name: traefik-ingress-lb
  6. ports:
  7. # . . . . .

If you have a better solution feel free to share, but this one worked for me.

Comments

  • Posts: 2,453

    Hi @jdnovick,
    You are correct, due to the latest v.2 released about 1 week ago, we now have to tag the traefik image in the yaml config file.
    Thank you for posting the issue. The exercise will be updated in a future course update release.

    Regards,
    -Chris

  • It worked for me, thanks

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