https://rancher.com/ logo
#k3d
Title
# k3d
a

adamant-kite-43734

12/27/2022, 10:54 AM
This message was deleted.
w

wide-garage-9465

12/27/2022, 12:09 PM
Hey 👋 You can use the --image flag to choose any k3s version image you like to use with k3d. It's also shown in the action docs: https://github.com/marketplace/actions/absaoss-k3d-action#version-mapping-and-override
r

ripe-yacht-78857

12/27/2022, 12:13 PM
thank you. I will try that out.
so this is what I tried
Copy code
AbsaOSS/k3d-action@v2

args: >-
          --agents 3
          --image <http://docker.io/rancher/k3s:v1.24.7+k3s1|docker.io/rancher/k3s:v1.24.7+k3s1>
and I got into below problem
Copy code
ERRO[0001] Failed Cluster Creation: failed setup of server/agent node k3d-kanister-run-helm-test-server-0: failed to create node: runtime failed to create node 'k3d-kanister-run-helm-test-server-0': failed to create container for node 'k3d-kanister-run-helm-test-server-0': docker failed to create container 'k3d-kanister-run-helm-test-server-0': Error response from daemon: invalid reference format
it looks like something is wrong with the image format.
w

wide-garage-9465

12/27/2022, 2:38 PM
Change the + for a -
K3s version tags have a + and that's changed when the images are uploaded to dockerhub, as + is not allowed there
r

ripe-yacht-78857

12/27/2022, 2:39 PM
ok, thank you.
Hi @wide-garage-9465 It is working after changing the image tag, thank you for the help.
25 Views