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
- Host: GitHub
- URL: https://github.com/linbit/linstor-operator-builder
- Owner: LINBIT
- License: apache-2.0
- Created: 2020-03-03T14:38:55.000Z (over 6 years ago)
- Default Branch: v2
- Last Pushed: 2024-12-02T13:59:22.000Z (over 1 year ago)
- Last Synced: 2025-02-13T00:33:50.700Z (over 1 year ago)
- Language: Smarty
- Size: 3.71 MB
- Stars: 6
- Watchers: 9
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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 - <