[QUESTION] Should I be able to use this playbook for single-node server installation?
neilknowscomputers opened this issue · comments
Expected Behavior
I should be able to run k3s on a single machine acting as the master
and node
as I can do with a single-node server installation using the k3s binary
Current Behavior
When I run the playbook, the agent node fails to connect to the master on TASK [k3s_server : Verify that all nodes actually joined (check k3s-init.service if this fails
Steps to Reproduce
- Set the same IP/host for
[master]
and[node]
inhosts.ini
- Run
ansible-playbook site.yml -i inventory/my-cluster/hosts.ini
Context (variables)
Operating system: Ubuntu Jammy 22.04
Hardware: AMD64 - AWS EC2 - 4 procs - 16 GB mem - 100 GB HD
Variables Used
No change to default configs
Hosts
host.ini
[master]
my-aws-ec2-host
[node]
my-aws-ec2-host
[k3s_cluster:children]
master
node
Possible Solution
- I've checked the General Troubleshooting Guide