Best way to install packages in LKE nodes?
I want to use Longhorn in my cluster but before I deploy Longhorn, I need to install a few packages in every node in the cluster, among them nfsv4, notably.
How to do this? I imagine a few approaches, but don't know whether they are feasible or not:
- Write a script using linode-cli to automatically do this
- Write a script using kubectl to automatically do this
- Use IaC tools like Ansible to do this
Can you give me some suggestions?
Thank you!
1 Reply
For anyone who has similar questions, https://github.com/longhorn/longhorn/tree/master/deploy/prerequisite could be a solution. I will try it out.