K3D Master + K3S Worker Nodes - Is this possible? #1104
darktempla
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
Thanks in advance for any responses to my discussion.
What am I trying to do?
Spin up a k3d single node cluster (master only) and connect external k3s worker nodes to this cluster.
Why am I trying to do this?
I have found having a raspberry pi as a K3S master over time the CPU gets overworked and becomes un-realiable. So I am attempting to get some stability into my cluster without breaking the bank and use what I currently have.
I have an M1 Mac Mini that has plenty of grunt so my desire is to run the master there.
Some issues I had with other ideas:
Hence why K3D seemed like a great option as I have use it for a couple of years now for testing and it does run on Mac M1. Plus it is isolated as it runs in docker.
What have I tried?
1. Spin up a k3d master node using the following config file
Command used to spin up the cluster
k3d cluster create demo --config k3d-config.yaml
2. Attempted to connect a K3S Client (no love)
From the K3S node I can curl the K3D master.
However if we look at the agent service it appears a CA cert issue from this output.
It says to use the "full" token but I am not sure how to go about that using K3D (details in logs below)
So this is where I get stuck.
journalctl -u k3s-agent.service --since "10 minutes ago"
- extract to show what that the systemctl does not, setup of load balancersystemctl status k3s-agent.service
Beta Was this translation helpful? Give feedback.
All reactions