-
-
Notifications
You must be signed in to change notification settings - Fork 461
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] error waiting for log line k3s is up and running #1481
Comments
After adding the parameter -v /tmp/asdf:/var/log, Below is the output log.
|
this may be help
|
I was able to get things working without error using the following command: ➜ k3d version
k3d version v5.7.3
k3s version v1.30.3-k3s1 (default)
➜ k3d cluster create mycluster2 --api-port 6550 --servers 3 --agents 3 --image rancher/k3s:v1.30.3-k3s1 --wait
➜ k get node
NAME STATUS ROLES AGE VERSION
k3d-mycluster2-agent-0 Ready <none> 39s v1.30.3+k3s1
k3d-mycluster2-agent-1 Ready <none> 40s v1.30.3+k3s1
k3d-mycluster2-agent-2 Ready <none> 40s v1.30.3+k3s1
k3d-mycluster2-server-0 Ready control-plane,etcd,master 75s v1.30.3+k3s1
k3d-mycluster2-server-1 Ready control-plane,etcd,master 58s v1.30.3+k3s1
k3d-mycluster2-server-2 Ready control-plane,etcd,master 43s v1.30.3+k3s1 |
Had the same problem with a different use-case:
This works with k3d 5.6.0 and 1.27.1<=k3s<=1.27.15 but fails with the image is k3s:v1.27.16-k3s1 with the same error:
With v5.6.0
It fails to start a cluster with k3s v1.27.16+k3s1 although versions more 'recent' in semver terms work fine. This problem is fixed in v5.7.3 The reason appears to be this change that adapts to the change in xargs version shipped in k3s. This can be misleading for users since unsupported versions can only be identified by release date. This issue is probably caused by k3s but I think this project needs to be document, for each minor version the highest patch version supported since not all are. |
yes, i was found this issue. but not work for me. I think is not same problem. |
Getting the same error here, when trying to init a cluster with terraform
Did you solve it? |
What did you do
How was the cluster created?
using command:
k3d cluster create --agents 3 demo
What did you do afterwards?
Just upgrade k3d version to 5.7.3, after I tried several versions, I found that version 5.6.0 works well, and version 5.6.3 does not work.
What did you expect to happen
start cluster error with: error waiting for log line
k3s is up and running
Screenshots or terminal output
If applicable, add screenshots or terminal output (code block) to help explain your problem.
Which OS & Architecture
Which version of
k3d
Which version of docker
The text was updated successfully, but these errors were encountered: