Giter Club home page Giter Club logo

Comments (6)

abhay-krishna avatar abhay-krishna commented on May 27, 2024

Hello @pulberg, thank you for submitting the issue. Does your corp environment have access to https://public.ecr.aws?

from eks-anywhere.

pulberg avatar pulberg commented on May 27, 2024

Yes, these pulled correctly -

public.ecr.aws/eks-anywhere/cli-tools:v0.1.0-eks-a-1
public.ecr.aws/eks-anywhere/kubernetes-sigs/kind/node:v1.21.2-eks-d-1-21-4-eks-a-1

I also tested pulling the cert-manager images manually and that works, so there is something happening in the setup of the cluster that is not happy with the corp CA. Even after pulling the images manually the x509 errors persist.

from eks-anywhere.

jaxesn avatar jaxesn commented on May 27, 2024

The cert manager image, along with a number of others, are pulled inside the bootstrap kind cluster whereas those other two you mentioned are pulled on the host machine. The host must have the trusted certs /ca whereas the kind cluster does not.

Not sure the best way to handle this but we can do some looking around. One option would be to do all pulling on the host and use kind's load image ability to load them into the running bootstrap container.

from eks-anywhere.

antoniordz96 avatar antoniordz96 commented on May 27, 2024

The cert manager image, along with a number of others, are pulled inside the bootstrap kind cluster whereas those other two you mentioned are pulled on the host machine. The host must have the trusted certs /ca whereas the kind cluster does not.

kubernetes-sigs/kind#941 documents this error and provides a workaround to add the trusted cert/ca to the kind cluster. Kind does offer also the ability to mount volumes with extraMounts in the config kubernetes-sigs/kind#1010.

Not sure the best way to handle this but we can do some looking around. One option would be to do all pulling on the host and use kind's load image ability to load them into the running bootstrap container.

All images needed by the kind cluster could be pulled from the workstation and archived. Then it would be a simple load of the archive to kind cluster. Ref: https://kind.sigs.k8s.io/docs/user/quick-start/#loading-an-image-into-your-cluster.

from eks-anywhere.

jaxesn avatar jaxesn commented on May 27, 2024

Thanks @antoniordz96!

The more I think about it the more I'm not sure about the pulling images on the host approach. That would def solve this exact problem, but if you were creating a vsphere cluster the kind cluster would be need to be able to make calls to the vcenter api, would those also be being intercepted like this and need the CA? Technically for vcenter we can ignore cert failures by providing the thumbprint or just ignoring tls, but I wonder if in a general sense we would just be kicking the problem down the line in the process. If you were standing up a vsphere cluster, would this custom CA be something you would want to exist in your cluster in case services are making calls to other internal services using this CA?

from eks-anywhere.

github-actions avatar github-actions commented on May 27, 2024

There has been no activity on this issue for 60 days. Labeling as stale and closing in 7 days if no further activity.

from eks-anywhere.

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.