-
-
Notifications
You must be signed in to change notification settings - Fork 376
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
SSH key supplied on k3sup plan does not output #436
Comments
By giving a quick look at the code, it seems like the |
Hi, k3sup relies on GitHub sponsors or me having spare time to donate to all you good people who enjoy using the tool. You could send a Pull Request or sponsor me if you'd like to see this changed sooner. The Alex |
I've made these requested changes, but I'd encourage each of you to become a sponsor on whatever tier makes sense if you enjoy this tool and would like to see new features added. |
Thanks Alex. I appreciate it. |
Thank you for the sponsorship @rud813 💪 Do also have a look at inlets, you may like some of the ways you can combine it with k3s for a lab: https://inlets.dev/blog/2024/08/15/inlets-operator-with-hetzner.html https://inlets.dev/blog/2022/07/07/access-kubernetes-api-server.html |
Afternoon, i'm currently using k3sup 0.13.6.
It looks like when i try to do a k3sup plan on my json file, the ssh-key i've supplied doesn't carry over to the output.
here's my code to creat the plan:
k3sup plan \ devices.json \ --user debian \ --servers 3 \ --server-k3s-extra-args "--disable traefik" \ --ssh-key "$HOME/.ssh/private_key.pem"
Here is the snippet of the output
`
#!/bin/sh
echo "Setting up primary server 1"
k3sup install --host 10.0.0.180
--user debian
--cluster
--local-path kubeconfig
--context default
--k3s-extra-args "--disable traefik"
echo "Fetching the server's node-token into memory"
export NODE_TOKEN=$(k3sup node-token --host 10.0.0.180 --user debian)
echo "Setting up additional server: 2"
k3sup join
--host 10.0.0.181
--server-host 10.0.0.180
--server
--node-token "$NODE_TOKEN"
--user debian
--k3s-extra-args "--disable traefik"
echo "Setting up additional server: 3"
k3sup join
--host 10.0.0.182
--server-host 10.0.0.180
--server
--node-token "$NODE_TOKEN"
--user debian
--k3s-extra-args "--disable traefik"
echo "Setting up worker: 1"
k3sup join
--host 10.0.0.183
--server-host 10.0.0.180
--node-token "$NODE_TOKEN"
--user debian
echo "Setting up worker: 2"
k3sup join
--host 10.0.0.184
--server-host 10.0.0.180
--node-token "$NODE_TOKEN"
--user debian
echo "Setting up worker: 3"
k3sup join
--host 10.0.0.185
--server-host 10.0.0.180
--node-token "$NODE_TOKEN"
--user debian
`
Is there something i'm doing wrong? Thanks.
The text was updated successfully, but these errors were encountered: