I have a k3d local setup which has 1 server and 3 ...
# k3d
b
I have a k3d local setup which has 1 server and 3 agents.. I am trying to either move it to 1 server and 1 agent .. or just 1 server. I tried just doing k3d node delete agent 1 and 2 (so 0 is there) - but they just turned "NotReady" - and nothing else seems to be happening?
w
Well, the nodes themselves (docker containers) are gone now. Now you have to tell Kubernetes, that they're gone for good via
kubectl delete node
b
ahh
atleast those pods are now terminating.. I would have figured k8s would detect the pods wasn't responding and re-spin them on the remaining node
(the only ready one)
very weird it didn't detect pods wasn't actually running ?
can I spin down the last agent? or did k3d taint the server as to not run some pods (like cni).. or how does that work in k3d ?
w
Single server is fine. That's a K3s thing btw. k3d tries not to do anything non-essential with respect to Kubernetes.
b
so k3s server alone will work fine and run everything ?
w
I mean, you can just check if there's a taint using kubectl
kubectl describe node
should show you
Taints:             <none>
b
perfect. zero taints
I'll remove the last agent then
thank you
why is there a seperate k3d-management-cluster-serverlb node too?
now I have just 1 node in nodes list 🙂
w
The serverlb is a k3d auxiliary required for port-mappings to the cluster. It enables you to modify port-mappings after the cluster is created.
👍 1