openebs added
This commit is contained in:
5
openebs/README.md
Normal file
5
openebs/README.md
Normal file
@@ -0,0 +1,5 @@
|
||||
# openebs
|
||||
|
||||
<https://openebs.io/docs/user-guides/replicated-storage-user-guide/replicated-pv-mayastor/rs-installation>
|
||||
|
||||
mindestens 3 worker nodes notwendig für replicated storage
|
||||
12
openebs/diskpools/work-00.yaml
Normal file
12
openebs/diskpools/work-00.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
apiVersion: openebs.io/v1beta2
|
||||
kind: DiskPool
|
||||
metadata:
|
||||
name: pool-0
|
||||
namespace: openebs
|
||||
spec:
|
||||
node: work-00
|
||||
disks: [aio:///dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1]
|
||||
topology:
|
||||
labelled:
|
||||
topology-key: topology-value
|
||||
12
openebs/diskpools/work-01.yaml
Normal file
12
openebs/diskpools/work-01.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
apiVersion: openebs.io/v1beta2
|
||||
kind: DiskPool
|
||||
metadata:
|
||||
name: pool-1
|
||||
namespace: openebs
|
||||
spec:
|
||||
node: work-01
|
||||
disks: [aio:///dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1]
|
||||
topology:
|
||||
labelled:
|
||||
topology-key: topology-value
|
||||
12
openebs/diskpools/work-02.yaml
Normal file
12
openebs/diskpools/work-02.yaml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
apiVersion: openebs.io/v1beta2
|
||||
kind: DiskPool
|
||||
metadata:
|
||||
name: pool-2
|
||||
namespace: openebs
|
||||
spec:
|
||||
node: work-02
|
||||
disks: [aio:///dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1]
|
||||
topology:
|
||||
labelled:
|
||||
topology-key: topology-value
|
||||
7
openebs/kustomization.yaml
Normal file
7
openebs/kustomization.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
# argocd/kustomization.yaml
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- main.yaml
|
||||
- storageclass.yaml
|
||||
3700
openebs/main.yaml
Normal file
3700
openebs/main.yaml
Normal file
File diff suppressed because it is too large
Load Diff
15
openebs/src/kustomization.yaml
Normal file
15
openebs/src/kustomization.yaml
Normal file
@@ -0,0 +1,15 @@
|
||||
# kubernetes/cilium/kustomization.yaml
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- ns.yaml
|
||||
|
||||
helmCharts:
|
||||
- name: openebs
|
||||
repo: https://openebs.github.io/openebs
|
||||
version: 4.2.0
|
||||
releaseName: openebs
|
||||
includeCRDs: true
|
||||
namespace: openebs
|
||||
valuesFile: values.yaml
|
||||
4
openebs/src/ns.yaml
Normal file
4
openebs/src/ns.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: openebs
|
||||
65
openebs/src/values.yaml
Normal file
65
openebs/src/values.yaml
Normal file
@@ -0,0 +1,65 @@
|
||||
# values.yaml
|
||||
openebs-crds:
|
||||
csi:
|
||||
volumeSnapshots:
|
||||
enabled: true
|
||||
keep: true
|
||||
|
||||
# Refer to https://github.com/openebs/dynamic-localpv-provisioner/blob/v4.1.2/deploy/helm/charts/values.yaml for complete set of values.
|
||||
localpv-provisioner:
|
||||
rbac:
|
||||
create: true
|
||||
|
||||
# Refer to https://github.com/openebs/zfs-localpv/blob/v2.6.2/deploy/helm/charts/values.yaml for complete set of values.
|
||||
zfs-localpv:
|
||||
crds:
|
||||
zfsLocalPv:
|
||||
enabled: true
|
||||
csi:
|
||||
volumeSnapshots:
|
||||
enabled: false
|
||||
|
||||
# Refer to https://github.com/openebs/lvm-localpv/blob/lvm-localpv-1.6.2/deploy/helm/charts/values.yaml for complete set of values.
|
||||
lvm-localpv:
|
||||
crds:
|
||||
lvmLocalPv:
|
||||
enabled: true
|
||||
csi:
|
||||
volumeSnapshots:
|
||||
enabled: false
|
||||
|
||||
# Refer to https://github.com/openebs/mayastor-extensions/blob/v2.7.2/chart/values.yaml for complete set of values.
|
||||
mayastor:
|
||||
csi:
|
||||
node:
|
||||
initContainers:
|
||||
enabled: false
|
||||
etcd:
|
||||
# -- Kubernetes Cluster Domain
|
||||
clusterDomain: cluster.local
|
||||
localpv-provisioner:
|
||||
enabled: false
|
||||
crds:
|
||||
enabled: false
|
||||
|
||||
# -- Configuration options for pre-upgrade helm hook job.
|
||||
preUpgradeHook:
|
||||
image:
|
||||
# -- The container image registry URL for the hook job
|
||||
registry: docker.io
|
||||
# -- The container repository for the hook job
|
||||
repo: bitnami/kubectl
|
||||
# -- The container image tag for the hook job
|
||||
tag: "1.25.15"
|
||||
# -- The imagePullPolicy for the container
|
||||
pullPolicy: IfNotPresent
|
||||
|
||||
engines:
|
||||
local:
|
||||
lvm:
|
||||
enabled: false
|
||||
zfs:
|
||||
enabled: false
|
||||
replicated:
|
||||
mayastor:
|
||||
enabled: true
|
||||
10
openebs/storageclass.yaml
Normal file
10
openebs/storageclass.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
---
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: openebs-3-replicas
|
||||
namespace: openebs
|
||||
parameters:
|
||||
protocol: nvmf
|
||||
repl: "3"
|
||||
provisioner: io.openebs.csi-mayastor
|
||||
Reference in New Issue
Block a user