Code Monkey home page Code Monkey logo

Comments (3)

langesven avatar langesven commented on August 28, 2024 1

I've set this up recently and can definitely say it works for us.

One thing I had to adjust was moving the service and application to port 10250 because we are using GKE private clusters and they have some fun firewall limitations out of the box.
See

After that it worked because the webhook was no longer timing out.
You can try if this helps you.

One thing that helped me in debugging was tuning the failurePolicy for the mutating webhook from Ignore to Fail, this made it very visible that on pod scheduling nothing was happening because the GKE control plane was unable to talk to the service behind the webhook and thus my pods were unschedulable.

from gtoken.

RonaldCrb avatar RonaldCrb commented on August 28, 2024

im experiencing the same issue but only in standard clusters... it does work on autopilot clusters (using self-signed certificate)

from gtoken.

ramondeklein avatar ramondeklein commented on August 28, 2024

I've deployed gtoken as mentioned in read me. But I couldn't achieve to access aws resource. Actually, webhook doesn't run properly. I couldn't see any log in webhook pod. there is only following logs time="2023-03-24T09:26:19Z" level=info msg="listening on https://:8443"

when I tried aws command in test pod I saw the following error. Unable to locate credentials. You can configure credentials by running "aws configure".

I had the same issue. In my case, there was a problem with the CA bundle (it was base64 encoded twice). This doesn't show up as an error, but it just never triggers the webhook. After I changed the CA bundle, then the webhook got triggered.

from gtoken.

Related Issues (10)

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.