Giter Site home page Giter Site logo

Failed to pull image public.ecr.aws/eks-distro/kubernetes/etcd:3.4.13-0 when installing with kubernetes-version v1.21.2-eks-1-21-3 about eks-distro HOT 3 CLOSED

aws avatar aws commented on June 28, 2024
Failed to pull image public.ecr.aws/eks-distro/kubernetes/etcd:3.4.13-0 when installing with kubernetes-version v1.21.2-eks-1-21-3

from eks-distro.

Comments (3)

jaxesn avatar jaxesn commented on June 28, 2024

The kubeadm config file needs to have the etcd and coredns sections to override the tags otherwise kubeadm is going to use the default upstream tag which is why it's trying to download an image that doesn't exist in our repo.

Looking at that doc, it uses kubeadmin init with flags to override the kubernetes version and image repo. I'm not sure if there are flags for etcd and coredns. You may need to generate a kubeadm config instead and add the etcd/coredns parts then run init, passing the kubeadm config.

The kubeadm config for etcd/coredns will look something like this

https://github.com/aws/eks-anywhere/blob/d07c35902107f4d21c785ac7ee93439cfc8177d7/pkg/executables/testdata/kind_config.yaml#L5

As a side note, if you happen to be using vsphere/vcenter as your infrastructure provider you may want to check out eks anywhere instead of self managing with kubeadm.

from eks-distro.

wakinowen avatar wakinowen commented on June 28, 2024

The kubeadm config file needs to have the etcd and coredns sections to override the tags otherwise kubeadm is going to use the default upstream tag which is why it's trying to download an image that doesn't exist in our repo.

Looking at that doc, it uses kubeadmin init with flags to override the kubernetes version and image repo. I'm not sure if there are flags for etcd and coredns. You may need to generate a kubeadm config instead and add the etcd/coredns parts then run init, passing the kubeadm config.

The kubeadm config for etcd/coredns will look something like this

https://github.com/aws/eks-anywhere/blob/d07c35902107f4d21c785ac7ee93439cfc8177d7/pkg/executables/testdata/kind_config.yaml#L5

As a side note, if you happen to be using vsphere/vcenter as your infrastructure provider you may want to check out eks anywhere instead of self managing with kubeadm.

Thank you so much Jackson!
I will try pass a config file with coredns and etcd image repo configured then.

from eks-distro.

wakinowen avatar wakinowen commented on June 28, 2024

The issue is resolved when passing a config file to specify image tag for etcd and coredns

from eks-distro.

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.