Unable to create cluster when using go get
to install k3d
#572
-
What did you doI've upgraded k3d to v4.4.1 using
What did you expect to happenI expect a new cluster to be created and ready to be used. Screenshots or terminal output
Which OS & Architecture
Which version of
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
Hi @FedericoAntoniazzi , thanks for opening this issue! The k3s:
extraagentargs: '[]'
extraserverargs: '[]' should actually be k3s:
extraagentargs: []
extraserverargs: [] The way it happens to be in your case, the brackets will be treated as text/string instead of array/slice. |
Beta Was this translation helpful? Give feedback.
-
Hi @iwilltry42, thank you for your reply. I've just tried compiling k3d on my pc and installing using curl/wget, both methods work. On the other hand, using Extra notes:The README.md and k3d.io include the installation using
so I append @v4.4.2
Looking at the go.mod file, it has /v4 after the module's name and I try to add it to the install command
I don't know a lot about go packages but the go.mod file contains a |
Beta Was this translation helpful? Give feedback.
-
You're actually right there. |
Beta Was this translation helpful? Give feedback.
-
Thank you @iwilltry42. Shall I close the issue and edit the title since this is not a bug? |
Beta Was this translation helpful? Give feedback.
You're actually right there.
We're currently using a Viper Fork as we're waiting for a PR to be merged upstream.
Since
go get
doesn't honorreplace
directives (golang/go#30354), this fails when using thego get
install method.As mentioned, this is intended to be temporary, so I hope that
go get
ting k3d for installation will work again soon.