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.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct