Runner not installing due to webhook error #537
-
Hey, I'm facing a issue which I've seen before;
controller-manager logs:
I've already done the following, which helped before but it seems it doesn't now:
The weird thing is that this approach worked before, and I've followed the advice here: Also installing the controller-manager without the webhooks does work. I'm running the cluster over at DigitalOcean, Scaleway does not seem to have the issue. Any ideas? |
Beta Was this translation helpful? Give feedback.
Replies: 21 comments 9 replies
-
Hmm interesting, installing the helm chart seems to work, but the yaml from v0.17 release does not. |
Beta Was this translation helpful? Give feedback.
-
@leovanhaaren Yeah interesting. The error still says you have webhook configuration(s) existing on the cluster. To double-check, (and if you have not done yet), could you run |
Beta Was this translation helpful? Give feedback.
-
Installing from helm chart gave me the same error by the way. |
Beta Was this translation helpful? Give feedback.
-
@andoriyu Hey! Could you provide me the exact steps to reproduce it and the exact error message you've seen? |
Beta Was this translation helpful? Give feedback.
-
Sure thing.
If I run helm values:
Runner manifest:
|
Beta Was this translation helpful? Give feedback.
-
@andoriyu Thanks! Apparently, it is different than the original issue. The original issue was Yours happens when e.g.:
So, would you firstly share me the result of |
Beta Was this translation helpful? Give feedback.
-
Oh, my bad. When I originally investigated this - I was able to curl webhook service btw. Here is service:
|
Beta Was this translation helpful? Give feedback.
-
@mumoshu so any ideas what's the issue? |
Beta Was this translation helpful? Give feedback.
-
@andoriyu Unfortunately no. Your information indicates that everything's working well... To be extra sure, have you tried holding on for a few seconds to a minute before applying |
Beta Was this translation helpful? Give feedback.
-
Yup, I tried waiting a whole day. I don't really get why it's working fine without hooks installed and only fails when they are installed. |
Beta Was this translation helpful? Give feedback.
-
@andoriyu Out of curiosity, how is your K8s cluster provisioned? Self-managed, AWS EKS, or else? If you're on e.g. EKS, are you using non-standard CNI plugin like Cilium without the ENI support, Flannel, etc? |
Beta Was this translation helpful? Give feedback.
-
@andoriyu Oh, and I should have noted earlier... you can just delete |
Beta Was this translation helpful? Give feedback.
-
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Beta Was this translation helpful? Give feedback.
-
Can they be removed from the helm chart if they are not being used. They are also causing issues for me |
Beta Was this translation helpful? Give feedback.
-
@michaelst I have some plan to actually use it for more validation for usability. Are you sure you've installed |
Beta Was this translation helpful? Give feedback.
-
@andoriyu I recently learned about GKE a bit and your issue might be due your private GKE cluster's firewall blocking your K8s apiserver from accessing the webhook service. Does it work if you used port |
Beta Was this translation helpful? Give feedback.
-
Let me turn this into a discussion. Deprecating and removing the validating/mutating webhook isn't an option right now. This still seems not an issue in actiosn-runner-controller code, but a cluster configuration issue. We need more information about your environment to further debug this, like what kind of cloud provider you use and how your cluster networking is configured. |
Beta Was this translation helpful? Give feedback.
-
where can I change the port to try? |
Beta Was this translation helpful? Give feedback.
-
I'm sorry. I would like to ask for your support on this matter. |
Beta Was this translation helpful? Give feedback.
-
The same problem seems to occur in GCP if autopilot is enabled. |
Beta Was this translation helpful? Give feedback.
-
We're locking this discussion because it has not had recent activity and/or other members have asked for more information to assist you but received no response. Thank you for helping us maintain a productive and tidy community for all our members. |
Beta Was this translation helpful? Give feedback.
I'm sorry. I would like to ask for your support on this matter.
We are using AWS EKS, and the configuration of the NW is such that we have worker nodes in the privateSubnet and NatGateway in the publicSubnet.
What we have done is simple.
I installed cert-manager in helm.
After that, I followed the URL below to activate the Issuer.
https://cert-manager.io/docs/configuration/selfsigned/
Finally, I installed actions-runner-contoroller with kubectl, stored the Secret and confirmed that the controller-manager Pod is running.
Then, in the same way, "Error from server (InternalError): error when creating "repo-runner.yaml": Internal error occurred: failed calling webhook "mutate. runner.actions.…