Skip to content

Commit

Permalink
Adding OpenShift Custom Metrics Autoscaler Operator to OpenShift Prod
Browse files Browse the repository at this point in the history
The Ecological Forecasting project wishes to scale up their consumers of
rabbitmq queues based on the number of messages in the queue. This is an
out-of-the-box feature of the OpenShift Custom Metrics Autoscaler Operator. The
ScaledObject CRD provided by this operator will allow us to specify the
Deployment we wish to scale, the min and max replica count, and the RabbitMQ
queue connection details.
  • Loading branch information
computate authored and jtriley committed Oct 4, 2023
1 parent bde2e93 commit 23775da
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions clusters/nerc-ocp-prod/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ resources:
- acct-mgt
- fake-metrics-server
- xdmod-reader
- openshift-custom-metrics-autoscaler-controller

nameSuffix: -prod

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: openshift-custom-metrics-autoscaler-controller
labels:
nerc.mghpcc.org/sync-policy: common
spec:
project: default
source:
repoURL: https://github.com/ocp-on-nerc/nerc-ocp-config.git
targetRevision: HEAD
path: openshift-custom-metrics-autoscaler-controller/overlays/nerc-ocp-prod
destination:
name: nerc-ocp-prod
namespace: openshift-keda
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- application.yaml

0 comments on commit 23775da

Please sign in to comment.