-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Configure ODF for NESE storage
Attempt to configure an ODF external storage cluster. It looks as if the APIs have changed since we did this with 4.8, so we need to figure out what impact this has on the required manifests. x-branch: feature/odf
- Loading branch information
Showing
11 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
cluster-scope/base/ocs.openshift.io/ocsinitializations/ocsinit/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ocsinitialization.yaml |
7 changes: 7 additions & 0 deletions
7
cluster-scope/base/ocs.openshift.io/ocsinitializations/ocsinit/ocsinitialization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: ocs.openshift.io/v1 | ||
kind: OCSInitialization | ||
metadata: | ||
name: ocsinit | ||
namespace: openshift-storage | ||
spec: | ||
enableCephTools: true |
5 changes: 5 additions & 0 deletions
5
...cope/base/odf.openshift.io/storageclusters/ocs-external-storagecluster/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: openshift-storage | ||
resources: | ||
- storagecluster.yaml |
7 changes: 7 additions & 0 deletions
7
...ope/base/odf.openshift.io/storageclusters/ocs-external-storagecluster/storagecluster.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: ocs.openshift.io/v1 | ||
kind: StorageCluster | ||
metadata: | ||
name: ocs-external-storagecluster | ||
spec: | ||
externalStorage: | ||
enable: true |
5 changes: 5 additions & 0 deletions
5
....openshift.io/storagesystems/ocs-external-storagecluster-storagesystem/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
namespace: openshift-storage | ||
resources: | ||
- storagesystem.yaml |
8 changes: 8 additions & 0 deletions
8
....openshift.io/storagesystems/ocs-external-storagecluster-storagesystem/storagesystem.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: odf.openshift.io/v1alpha1 | ||
kind: StorageSystem | ||
metadata: | ||
name: ocs-external-storagecluster-storagesystem | ||
spec: | ||
kind: storagecluster.ocs.openshift.io/v1 | ||
name: ocs-external-storagecluster | ||
namespace: openshift-storage |
4 changes: 4 additions & 0 deletions
4
...ase/storage.k8s.io/storageclasses/ocs-external-storagecluster-ceph-rbd/kustomization.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- storageclass.yaml |
12 changes: 12 additions & 0 deletions
12
...base/storage.k8s.io/storageclasses/ocs-external-storagecluster-ceph-rbd/storageclass.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
allowVolumeExpansion: true | ||
apiVersion: storage.k8s.io/v1 | ||
kind: StorageClass | ||
metadata: | ||
annotations: | ||
description: Provides RWO Filesystem volumes, and RWO and RWX Block volumes | ||
storageclass.kubernetes.io/is-default-class: "true" | ||
name: ocs-external-storagecluster-ceph-rbd | ||
parameters: {} | ||
provisioner: openshift-storage.rbd.csi.ceph.com | ||
reclaimPolicy: Delete | ||
volumeBindingMode: Immediate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
resources: | ||
- ../odf | ||
- ../../base/odf.openshift.io/storagesystems/ocs-external-storagecluster-storagesystem | ||
- ../../base/odf.openshift.io/storageclusters/ocs-external-storagecluster | ||
- ../../base/storage.k8s.io/storageclasses/ocs-external-storagecluster-ceph-rbd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters