diff --git a/kubernetes/thin/apps/openebs/app/helm-release.yaml b/kubernetes/thin/apps/openebs/app/helm-release.yaml index b3b30b5..37c2c8e 100644 --- a/kubernetes/thin/apps/openebs/app/helm-release.yaml +++ b/kubernetes/thin/apps/openebs/app/helm-release.yaml @@ -29,6 +29,7 @@ spec: enabled: true hostpathClass: enabled: true + reclaimPolicy: Retain # Refer to https://github.com/openebs/mayastor-extensions/blob/v2.7.0/chart/values.yaml for complete set of values. mayastor: @@ -41,7 +42,9 @@ spec: initContainers: enabled: true etcd: - # -- Kubernetes Cluster Domain + localpvScConfig: + enabled: true + reclaimPolicy: Retain clusterDomain: cluster.local crds: enabled: false @@ -50,9 +53,7 @@ spec: loki-stack: enabled: false storageClass: - nameSuffix: single - reclaimPolicy: Retain - allowVolumeExpansion: true + enabled: false tolerations: # tolerate control plane - key: "node-role.kubernetes.io/control-plane" diff --git a/kubernetes/thin/apps/openebs/storage-class/kustomization.yaml b/kubernetes/thin/apps/openebs/storage-class/kustomization.yaml index 20cd2b1..8cd59be 100644 --- a/kubernetes/thin/apps/openebs/storage-class/kustomization.yaml +++ b/kubernetes/thin/apps/openebs/storage-class/kustomization.yaml @@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization resources: - ./pool.yaml +- ./single-replica-sc.yaml - ./dual-replica-sc.yaml \ No newline at end of file diff --git a/kubernetes/thin/apps/openebs/storage-class/single-replica-sc.yaml b/kubernetes/thin/apps/openebs/storage-class/single-replica-sc.yaml new file mode 100644 index 0000000..b72765c --- /dev/null +++ b/kubernetes/thin/apps/openebs/storage-class/single-replica-sc.yaml @@ -0,0 +1,10 @@ +apiVersion: storage.k8s.io/v1 +kind: StorageClass +metadata: + name: openebs-single +parameters: + protocol: nvmf + repl: "1" +reclaimPolicy: Retain +allowVolumeExpansion: true +provisioner: io.openebs.csi-mayastor \ No newline at end of file