Can I log in to a k8s node to do additional setup?
I want to run a kubernetes cluster using LKE. Once it has nodes, can I log in to each node and set up some stuff and expect it to stay in place?
Like, firewalls, log shipping, ssh. I have existing ansible configs to set up my existing non-k8s linodes.
1 Reply
You can use a tool developed by one of our LKE developers called dssh to add your SSH keys to your LKE nodes upon creation. However, once those nodes get recycled I would assume other changes made outside of your workload deployment would not be saved.
This post titled Securing k8s cluster outlines the preferred method for keeping your workloads secure and avoiding firewall setup on individual nodes.
For persistent logging, I suggest reading over the Kubernetes Logging Architecture documentation.