Usage
Detailed instructions can be found in the LINSTOR User Guide.
Deploy using kubectl
$ cat <<EOF > kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: linbit-sds
resources:
- https://charts.linstor.io/static/latest.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"}}}
EOF
$ kubectl apply -k .
$ kubectl apply -f - <<EOF
apiVersion: piraeus.io/v1
kind: LinstorCluster
metadata:
name: linstorcluster
spec: {}
EOF
Deploy using helm
$ MY_LINBIT_USER=my-linbit-user
$ MY_LINBIT_PASSWORD=my-linbit-password
$ helm repo add linstor https://charts.linstor.io
"linstor" has been added to your repositories
$ helm install linstor-operator linstor/linstor-operator \
--set imageCredentials.username=$MY_LINBIT_USER \
--set imageCredentials.password=$MY_LINBIT_PASSWORD \
--wait
...
LINSTOR Operator v2.3.0 installed.
To get started with LINBIT SDS, deploy the linbit-sds chart:
helm install linbit-sds linstor/linbit-sds
$ helm install linbit-sds linstor/linbit-sds
...
LinstorCluster: linbit-sds
Successfully deployed!
For next steps, see our users guide: https://linbit.com/drbd-user-guide/linstor-guide-1_0-en/#s-kubernetes-basic-configuration-and-deployment
Or check available values with:
helm show values linstor/linbit-sds