Skip to content

Commit

Permalink
Adding koku-metrics resources
Browse files Browse the repository at this point in the history
  • Loading branch information
dystewart committed Jan 25, 2023
0 parents commit 80c96c6
Show file tree
Hide file tree
Showing 8 changed files with 55 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<h1>Guide for installing curator operator in NERC OpenShift clusters</h1>

[Prerequsites](https://curator-operator.readthedocs.io/en/latest/requirements.html#prerequisite):
1. Install koku metrics operator
i. apply koku-metrics kustomization
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: koku-metrics-operator
resources:
- namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: koku-metrics-operator
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- operatorgroup.yaml
namespace: koku-metrics-operator
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
apiVersion: operators.coreos.com/v1
kind: OperatorGroup
metadata:
name: koku-metrics-operator
spec:
targetNamespaces:
- koku-metrics-operator
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- subscription.yaml
namespace: koku-metrics-operator
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: operators.coreos.com/v1alpha1
kind: Subscription
metadata:
name: koku-metrics-operator
spec:
channel: beta
installPlanApproval: Automatic
name: koku-metrics-operator
source: community-operators
sourceNamespace: openshift-marketplace
14 changes: 14 additions & 0 deletions curator-operator/koku-metrics-configs/kokumetrics-cfg.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: koku-metrics-cfg.openshift.io/v1beta1
kind: KokuMetricsConfig
metadata:
name: kokumetricscfg
spec:
authentication: {}
packaging:
max_reports_to_store: 25
max_size_MB: 500
prometheus_config: {}
source: {}
upload:
upload_cycle: 360
upload_toggle: false

0 comments on commit 80c96c6

Please sign in to comment.