An open API service indexing awesome lists of open source software.

https://github.com/linbit/linstor-operator-builder

Builds the linstor-operator from the piraeus-operator
https://github.com/linbit/linstor-operator-builder

Last synced: over 1 year ago
JSON representation

Builds the linstor-operator from the piraeus-operator

Awesome Lists containing this project

README

          

# LINBIT SDS on K8s

See [the users guide](https://linbit.com/drbd-user-guide/linstor-guide-1_0-en/#s-kubernetes-deploy-linstor-operator-v2)

To deploy LINBIT SDS, you need to:
* Have a working Kubernetes Cluster
* `kubectl` configured to point at the Cluster
* Your customer credentials for [my.linbit.com](https://my.linbit.com)

1. Create a `kustomization.yaml` file with the following content. Replace `MY_LINBIT_USER` and `MY_LINBIT_PASSWORD` with
your own credentials.
```yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: linbit-sds
resources:
- https://charts.linstor.io/static/v2.5.2.yaml
generatorOptions:
disableNameSuffixHash: true
secretGenerator:
- name: drbdio-pull-secret
type: kubernetes.io/dockerconfigjson
literals:
- .dockerconfigjson={"auths":{"drbd.io":{"username":"MY_LINBIT_USER","password":"MY_LINBIT_PASSWORD"}}}
```
2. Apply the kustomization.yaml file, by using kubectl command, and wait for the Operator to start:
```
$ kubectl apply -k .
namespace/linbit-sds created
...
$ kubectl -n linbit-sds wait pod --for=condition=Ready --all
pod/linstor-operator-controller-manager-6d9847d857-zc985 condition met
```
3. Create a `LinstorCluster` resource to deploy the fill LINBIT SDS stack:
```
$ kubectl create -f - <