Giter VIP home page Giter VIP logo

Comments (14)

onedr0p avatar onedr0p commented on September 15, 2024 1

Ref: docker/hub-feedback#2314

from operator.

danudey avatar danudey commented on September 15, 2024 1

Docker wrote a blog post to clarify their terrible announcement: https://www.docker.com/blog/we-apologize-we-did-a-terrible-job-announcing-the-end-of-docker-free-teams/

from operator.

ceastman-r7 avatar ceastman-r7 commented on September 15, 2024

I have installed tigera-operator with the following but still find some pods with images from docker.io:

installation:
  kubernetesProvider: EKS
  registry: quay.io/

so far:

kubectl get ds -o yaml -n calico-system csi-node-driver | grep -i 'image:' | sort | uniq
        image: docker.io/calico/csi:v3.24.1
        image: docker.io/calico/node-driver-registrar:v3.24.1

and

kubectl get deploy -o yaml -n calico-system calico-kube-controllers |grep -i 'image:' | sort | uniq
        image: docker.io/calico/kube-controllers:v3.24.1

from operator.

Exagone313 avatar Exagone313 commented on September 15, 2024

I have installed tigera-operator with the following but still find some pods with images from docker.io:

Your configuration may be wrong, can you provide your whole Installation definition? I don't have this issue.

from operator.

ceastman-r7 avatar ceastman-r7 commented on September 15, 2024

That is my whole values.yaml that I pass to to the tigera-operator helm chart. Mostly all the calico images are coming from quay.io, just not the ones I listed above.

from operator.

ceastman-r7 avatar ceastman-r7 commented on September 15, 2024

sorry this must be a cluster issue on my end, i checked another cluster and its fine.

from operator.

tibeer avatar tibeer commented on September 15, 2024

I have another point to do this change: docker.io is still not IPv6 capable. Yes, there is registry.ipv6.docker.com, but in my Scenario, I try to deploy calico on an IPv6 only machine. The operator keeps altering back the deployments and daemonsets to use docker.io which results in an Image Pull Error. Or maybe you guys can provide a config map for the operator and the registry(ies) to use for calico images?

from operator.

tmjd avatar tmjd commented on September 15, 2024

Or maybe you guys can provide a config map for the operator and the registry(ies) to use for calico images?

@tibeer have you tried configuring the registry field in the installation resource? I would think that might address the issue for an IPv6 registry.

Is quay.io IPv6 capable and would fix this issue for you without specifying any additional configuration?

from operator.

tibeer avatar tibeer commented on September 15, 2024

@tmjd this works! Is there an easy option to set this information via helm? I did not find a reference in the chart values.

from operator.

tmjd avatar tmjd commented on September 15, 2024

@tibeer Helm configuration has an embedded installation spec. That is what the installation field in the chart values equates to. So anything you could put in the Installation resource spec you can put in helm, just make sure it is correctly nested as it would be in the the Installation spec. Or at least that is my understanding.

from operator.

tibeer avatar tibeer commented on September 15, 2024

@tmjd after a bit of trying I figured it out:

helm install calico ./tigera-operator --namespace tigera-operator --create-namespace --set installation.registry="quay.io"

This was not easy to find, as the documentation references it as "InstallationSpec", so initially thought InstallationSpec.registry="quay.io" was the right value.

Oh, and another thing: You have to copy the helm-chart manually, as

helm repo add projectcalico https://docs.tigera.io/calico/charts

isn't working on IPv6 only either, since it seems to be hosted on github as well :/

But I got it working for me now, thanks a lot!

from operator.

jodem avatar jodem commented on September 15, 2024

A good rules a thumb from security perspective IMHO is to aways duplicate the chart used images to your own registry. It's painful, it takes times to maintain but reduce risk of availability if original registry goes down (or has rate limits...), and system integrity since the source image could get compromised afterward (with a malware for instance).

from operator.

tibeer avatar tibeer commented on September 15, 2024

@Exagone313 @tmjd since the issue is now almost a year old and considering that the calico images are still pulled from dockerhub and nothing bad happened in that time, can we close this issue?

from operator.

Exagone313 avatar Exagone313 commented on September 15, 2024

I think it should be more straightforward to use Quay instead of Docker Hub. Currently, if I try to install Calico, I would not even know that images are also pushed on Quay.

As far as I know, Docker Hub still has some of these quota built-in unlike Quay. Also Docker Hub randomly fails (EOF) and does not support IPv6 from what is told above.

What is the advantage of keeping Docker Hub the default?

from operator.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.