Comments (3)
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
- https://cert-manager.io/docs/installation/compatibility/#gke
- https://cloud.google.com/kubernetes-engine/docs/how-to/private-clusters#add_firewall_rules
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.
im experiencing the same issue but only in standard clusters... it does work on autopilot clusters (using self-signed certificate)
from gtoken.
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)
- Where does $GSA_SA come from? HOT 1
- crash on no service account
- webhook config should prevent deadlock HOT 2
- Pod cannot be terminated
- CronJob doesn't finish HOT 5
- Inquiry: access AWS ECR
- Small typo in README
- kubernetes api compatibility HOT 1
- readme - run demo instructions are no longer supported by gke HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gtoken.