-
-
Notifications
You must be signed in to change notification settings - Fork 462
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] K3d cannot start K3s 1.16 & 1.17 in GitHub Actions #663
Comments
Hi @nolar, thanks for opening this issue! The warning shouldn't cause an issue here. Do you have any logs from the k3s containers that k3d created? |
You are right. They are deprecated for a long time. I usually keep the old versions supported as long as it requires near-zero effort (I thought maybe you know a quick solution). This is not the case, it seems — the effort will be high. So I've dropped 1.16 & 1.17. Thanks for the response! |
@nolar we can still try to debug it 😁 |
@iwilltry42 Extracting that info from GitHub Actions' runners is problematic. I simply do not know how to debug that interactively, so I will have to script it in a fake PR — which seems like overkill. It is easier to drop the old K8s versions. I probably needed an excuse to drop 1.16 (and thus CRD v1beta support) from Kopf — and this looks like one. So, no worries. Thanks for the offer. |
Hello. I am the maintainer of a GitHub Actions step for setting up K3s & K3d — https://github.com/nolar/setup-k3d-k3s. In this project and in one of the other projects I test K3s versions down to 1.16 inclusive.
Since recently (26.06.2021 – 30.06.2021), something has changed, and K3d versions 1.17 and 1.16 cannot start properly now. It was fine in GitHub Actions on 26.06.2021 with K3d 1.17 & 1.16. It remains fine with K3s 1.18-1.21. It is all fine on Macbook with all the recent and old versions of K3d. Versions of K3d seems to have no effect on the issue (in either way), but maybe I tried it wrong.
I.e., between Jun 26 and Jun 30, something has broken specifically in GitHub Actions and specifically with K3s 1.16-1.17.
Can you please hint what can that be? And how to debug it? Thanks.
What did you do
How was the cluster created?
k3d cluster create --wait --image=rancher/k3s:v1.17.17-k3s1
(as here)What did you do afterwards?
Nothing.
What did you expect to happen
It starts the cluster and the cluster is accessible to
kubectl get serviceaccount default
.Screenshots or terminal output
E.g., here:
Then, cluster polling begins with
kubectl get serviceaccount default
every 1 second:And so until the build times out.
The only essential difference I have found is this:
In newly broken builds:
In old & new successful builds:
Which OS & Architecture
GitHub Actions, Ubuntu 20.04.2.
Which version of
k3d
4.4.6, 4.4.4, 4.4.3.
Which version of docker
(e.g. here)
The text was updated successfully, but these errors were encountered: