Add openebs
parent
69cebd3013
commit
144240825d
@ -0,0 +1,10 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
namespace: openebs
|
||||
metadata:
|
||||
name: openebs
|
||||
resources:
|
||||
- app/namespace.yaml
|
||||
- app/release.yaml
|
||||
- app/ssd-storageclass.yaml
|
||||
- app/hdd-storageclass.yaml
|
@ -0,0 +1,19 @@
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: ebs-hdd
|
||||
namespace: openebs
|
||||
annotations:
|
||||
openebs.io/cas-type: local
|
||||
cas.openebs.io/config: |
|
||||
- name: StorageType
|
||||
value: hostpath
|
||||
- name: BasePath
|
||||
value: /mnt/data/clusterstore
|
||||
provisioner: openebs.io/local
|
||||
volumeBindingMode: WaitForFirstConsumer
|
||||
allowedTopologies:
|
||||
- matchLabelExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
values:
|
||||
- cluster-dedicated-1
|
@ -0,0 +1,6 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: openebs
|
||||
labels:
|
||||
name: openebs
|
@ -0,0 +1,19 @@
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: openebs
|
||||
namespace: openebs
|
||||
spec:
|
||||
releaseName: openebs
|
||||
chart:
|
||||
spec:
|
||||
chart: openebs
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: openebs
|
||||
namespace: repos
|
||||
interval: 60m
|
||||
install:
|
||||
remediation:
|
||||
retries: 3
|
||||
values:
|
@ -0,0 +1,21 @@
|
||||
apiVersion: storage.k8s.io/v1
|
||||
kind: StorageClass
|
||||
metadata:
|
||||
name: ebs-ssd
|
||||
namespace: openebs
|
||||
annotations:
|
||||
openebs.io/cas-type: local
|
||||
cas.openebs.io/config: |
|
||||
- name: StorageType
|
||||
value: hostpath
|
||||
- name: BasePath
|
||||
value: /var/clusterstore
|
||||
provisioner: openebs.io/local
|
||||
volumeBindingMode: WaitForFirstConsumer
|
||||
allowedTopologies:
|
||||
- matchLabelExpressions:
|
||||
- key: kubernetes.io/hostname
|
||||
values:
|
||||
- cluster-server-1
|
||||
- cluster-server-2
|
||||
- cluster-dedicated-1
|
@ -0,0 +1,9 @@
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta2
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: openebs
|
||||
namespace: repos
|
||||
spec:
|
||||
type: oci
|
||||
interval: 60m
|
||||
url: oci://ghcr.io/openebs/charts
|
Loading…
Reference in New Issue