Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Traefik 2.5.0 fetching #4834

Closed
1 task
gelleson opened this issue Dec 23, 2021 · 7 comments
Closed
1 task

Traefik 2.5.0 fetching #4834

gelleson opened this issue Dec 23, 2021 · 7 comments

Comments

@gelleson
Copy link

gelleson commented Dec 23, 2021

Environmental Info:
K3s Version:
k3s version v1.22.5+k3s1
go version go1.16.10

Node(s) CPU architecture, OS, and Version:
Linux k3s 5.4.0-91-generic #102-Ubuntu SMP Fri Nov 5 16:30:45 UTC 2021 aarch64 aarch64 aarch64 GNU/Linux

Cluster Configuration:
single server

Describe the bug:
k3s cannot to up traefik becauserequested version of traefik is 2.5.0
k3s tried to pull rancher/library-traefik:2.5.0 but it doesn't exist in docker hub last presented version is 2.4.9

Steps To Reproduce:
I have install with default

k3sup install --ip {ip_address} --user test --ssh-key ./keys/test --local-path={local_path} --k3s-channel stable

Expected behavior:
i have expected to up traefik :)
Actual behavior:
k3s is pull 2.5.0
Additional context / logs:
Error: ImagePullBackOff
Backporting
I think we need to backort or just create image :)

  • Needs backporting to older releases
@brandond
Copy link
Member

brandond commented Dec 23, 2021

Have you customized the Traefik helm chart configuration to override the image name or tag? Recent releases of K3s, including all releases in the 1.22 branch, use rancher/mirrored-library-traefik, not rancher/library-traefik.

name: "rancher/mirrored-library-traefik"

@gelleson
Copy link
Author

@brandond I haven't customized anything :) I just used default config but just used helm config to override args

apiVersion: helm.cattle.io/v1
kind: HelmChartConfig
metadata:
  name: traefik
  namespace: kube-system
spec:
  set:
    global.systemDefaultRegistry: ""
  valuesContent: |-
    additionalArguments:
      - "--certificatesresolvers.le.acme.dnschallenge.provider=netlify"
      - "--certificatesresolvers.le.acme.storage=/data/acme.json"
    env:
      - name: NETLIFY_TOKEN
        valueFrom:
          secretKeyRef:
            name: netlify
            key: token
    rbac:
      enabled: true
    ports:
      websecure:
        tls:
          enabled: true
    podAnnotations:
      prometheus.io/port: "8082"
      prometheus.io/scrape: "true"
    providers:
      kubernetesIngress:
        publishedService:
          enabled: true
    priorityClassName: "system-cluster-critical"
    image:
      name: "rancher/library-traefik"
    tolerations:
    - key: "CriticalAddonsOnly"
      operator: "Exists"
    - key: "node-role.kubernetes.io/control-plane"
      operator: "Exists"
      effect: "NoSchedule"
    - key: "node-role.kubernetes.io/master"
      operator: "Exists"
      effect: "NoSchedule"

@brandond
Copy link
Member

brandond commented Dec 23, 2021

Yes, you've customized the image configuration to keep the old name, which doesn't have the newer tags.

   image:
     name: "rancher/library-traefik"

@gelleson
Copy link
Author

@brandond oh, yes, you are right! Sorry my mistake :) What's a reason of moving to mirror?

@gelleson
Copy link
Author

I will try to re uninstall with latest stable

@gelleson
Copy link
Author

@brandond it works :) sorry!! When I will be in USA I will buy beer for you!

@brandond
Copy link
Member

The rancher org on github has a mix of stuff that's mirrored from upstream images, and things that we build or rebuild ourselves. We're trying to enforce a convention around clearly naming the things that we mirror.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants