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.
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.