-
Notifications
You must be signed in to change notification settings - Fork 110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: Azure/k8s-deploy@v4 doesn't seem to be working after upgrading to AKS 1.24.9 #282
Comments
P.S. |
Ok, this is very odd: I have set "private-cluster: false" and it went through, while my cluster is a private cluster, and previously it was working only with "private-cluster: true" parameter. I can see on Azure portal: "Private cluster: Enabled" so nothing changed from that perspective. |
Hello @ealasgarov. Thanks for the ping. This is very weird because for private clusters the API server is not publicly accessible. The API server is what kubectl and this action communicate with. The fact that your
Was this run on the GitHub actions runner or some other way? Or is your actions runner a self-hosted runner? |
Hi @OliverMKing, yes, I'm using self-hosted runners which are running on another aks cluster (github-runner-controller project). |
@ealasgarov I will test this in a matching environment when I get the chance. What I believe is happening is your clusters (both the runner and deploy target) are both in the same vnet. In that case you can access the API server endpoint from the runner. What the This might require a documentation update to make more clear. Hopefully when I reproduce, I find what the actual error with |
Thank you for your reply, actually they are in different vnets, however there's a peering, so maybe you're right, but then I'm not sure why did it work prior to that... it would be great if you can test it in a similar environment and yes, also more verbose logging would be appreciated. :) |
This issue is idle because it has been open for 14 days with no activity. |
What happened?
I have upgraded my private cluster to latest stable version 1.24.9, since then cannot get the pipeline to work.
(although I'm also using the new service principle [azure credentials], new clusterrole/binding for that service principle, but I guess here there are no issues).
I have deployed in this way previously with no problems, but now getting "error undefined" upon deploy step.
Here's my pipeline:
I am not sure what else could be an issue. I think if the problem was with credentials I would get a different error.
@OliverMKing Any ideas perhaps?
Many thanks in advance!
Version
Runner
self-hosted on AKS, latest version 2.303
Relevant log output
The text was updated successfully, but these errors were encountered: