Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenEBS addon requirement: iSCSI #302

Open
tholu opened this issue Dec 11, 2019 · 4 comments
Open

OpenEBS addon requirement: iSCSI #302

tholu opened this issue Dec 11, 2019 · 4 comments

Comments

@tholu
Copy link

tholu commented Dec 11, 2019

The OpenEBS addon requires iSCSI to be running on the worker nodes: https://docs.openebs.io/docs/next/prerequisites.html

I already created my cluster. How can I now make sure, that all my worked nodes have this service installed and running? And how do you make sure, that your packages on the worker nodes are up-to-date (basically regularly running apt-get upgrade)?

Copy link
Owner

xetys commented Dec 16, 2019

One solution for the moment is the cloud-init approach, to install iSCSI.

Actually we should add an installation routine to the OpenEBS addon as well. About the upgrade question, ubuntu would usually upgrade all packages which are not marked to be kept.

Would you like to propose a PR for this here as well?

@tholu
Copy link
Author

tholu commented Dec 17, 2019

I have several questions here, sorry I'm quite new to Kubernetes and hetzner-kube in general.

One solution for the moment is the cloud-init approach, to install iSCSI.

Do I have to recreate the nodes or can I install it into the running cluster via cloud-init somehow?

About the upgrade question, ubuntu would usually upgrade all packages which are not marked to be kept.

When exactly would this be happening? Can I trigger this somehow?

I'll gladly do the PR, once I have a better understanding of the best practices here.

Copy link
Owner

xetys commented Dec 18, 2019

In the end, you just can SSH to your nodes and install iSCSI in your own. There is no need to go via cloud-init afterwards.

The upgrade happens when you ‘apt update && apt upgrade‘

The best practice for this issue would be to install iSCSI during add-on installation of openebs, and in the best case uninstall it when running the remove procedure if the add-on

@tholu
Copy link
Author

tholu commented Dec 19, 2019

@xetys Manually ssh-ing into the nodes and installing packages seems like a last-resort solution. Of course this works, but it would be great to automate this more. How are you making sure that your nodes don't use outdated software?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants