forked from OCP-on-NERC/nerc-ocp-config
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ACM metrics 2ti object bucket claim & storage
fixes partly nerc-project/operations#745 This PR tackles part of the issue by adding acm-metrics-2ti and updating existing observability and storage settings. The changes try to solve or reproduce the errors in #745. But this is only the first step, see #745. Signed-off-by: /Thor(sten)?/ Schwesig <[email protected]>
- Loading branch information
Showing
8 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
4 changes: 4 additions & 0 deletions
4
cluster-scope/base/objectbucket.io/objectbucketclaims/acm-metrics-2ti/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: | ||
- objectbucketclaim.yaml |
8 changes: 8 additions & 0 deletions
8
cluster-scope/base/objectbucket.io/objectbucketclaims/acm-metrics-2ti/objectbucketclaim.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: objectbucket.io/v1alpha1 | ||
kind: ObjectBucketClaim | ||
metadata: | ||
name: acm-metrics-2ti | ||
namespace: open-cluster-management-observability | ||
spec: | ||
generateBucketName: acm-metrics-2ti | ||
storageClassName: acm-metrics-2ti-bucket-storage |
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
13 changes: 13 additions & 0 deletions
13
cluster-scope/overlays/nerc-ocp-infra/acm-metrics-2ti-storage/backingstore.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,13 @@ | ||
apiVersion: noobaa.io/v1alpha1 | ||
kind: BackingStore | ||
metadata: | ||
name: acm-metrics-backing-store | ||
namespace: openshift-storage | ||
spec: | ||
pvPool: | ||
numVolumes: 2 | ||
resources: | ||
requests: | ||
storage: 1Ti | ||
storageClass: ocs-external-storagecluster-ceph-rbd | ||
type: pv-pool |
10 changes: 10 additions & 0 deletions
10
cluster-scope/overlays/nerc-ocp-infra/acm-metrics-2ti-storage/bucketclass.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,10 @@ | ||
apiVersion: noobaa.io/v1alpha1 | ||
kind: BucketClass | ||
metadata: | ||
name: acm-metrics-2ti-bucket-class | ||
namespace: openshift-storage | ||
spec: | ||
placementPolicy: | ||
tiers: | ||
- backingStores: | ||
- acm-metrics-2ti-backing-store |
8 changes: 8 additions & 0 deletions
8
cluster-scope/overlays/nerc-ocp-infra/acm-metrics-2ti-storage/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,8 @@ | ||
apiVersion: kustomize.config.k8s.io/v1beta1 | ||
kind: Kustomization | ||
commonLabels: | ||
app: noobaa | ||
resources: | ||
- backingstore.yaml | ||
- bucketclass.yaml | ||
- storageclass.yaml |
11 changes: 11 additions & 0 deletions
11
cluster-scope/overlays/nerc-ocp-infra/acm-metrics-2ti-storage/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,11 @@ | ||
apiVersion: storage.k8s.io/v1 | ||
kind: StorageClass | ||
metadata: | ||
annotations: | ||
description: Provides Object Bucket Claims (OBCs) for ACM metrics | ||
name: acm-metrics-2ti-bucket-storage | ||
parameters: | ||
bucketclass: acm-metrics-2ti-bucket-class | ||
provisioner: openshift-storage.noobaa.io/obc | ||
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