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

An example with multiple controllers #184

Open
ashkraba opened this issue Feb 14, 2023 · 1 comment
Open

An example with multiple controllers #184

ashkraba opened this issue Feb 14, 2023 · 1 comment

Comments

@ashkraba
Copy link

Good day colleagues,

Sorry that I am writing here but could someone provide an example of the yaml file which will deploy the LINSTOR csi plugin along with the needed k8s sidecar containers in case of multiple controllers? In the readme we have only "You will need to change all instances of LINSTOR_IP to point to the controller(s) of the LINSTOR cluster that you wish this plugin to interact with." But what syntax should I use for it. I have a separate k8s cluster and a separate storage cluster. The IPs of the controllers are 10.0.10.1, 10.0.10.2, 10.0.10.3. The IPs of the worker nodes of the cluster are 10.0.10.10-13.

Thanks a lot in advance.

@WanzenBug
Copy link
Member

You'll need to make two changes to the default examples:

  • remove the --linstor-endpoint argument, as it only supports a single IP
  • add a LS_CONTROLLERS variable, where you specify the IPs, separated by ,, so: 10.0.10.1,10.0.10,2,...

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