diff --git a/docs/artifacthub-repo.yml b/docs/artifacthub-repo.yml index 59640261..82bf2d5a 100644 --- a/docs/artifacthub-repo.yml +++ b/docs/artifacthub-repo.yml @@ -1,5 +1,5 @@ # Configuration for our Artifact Hub repository -# See https://github.com/artifacthub/hub/blob/main/docs/metadata/artifacthub-repo.yml +# See https://github.com/artifacthub/hub/blob/master/docs/metadata/artifacthub-repo.yml repositoryID: e7f9f3ad-5080-4095-8ff9-98a0b71371b4 owners: - name: KEDA Maintainers diff --git a/keda/README.md b/keda/README.md index 39837a8e..6d983c69 100644 --- a/keda/README.md +++ b/keda/README.md @@ -63,6 +63,7 @@ their default values. | `crds.install` | Defines whether the KEDA CRDs have to be installed or not. | `true` | | `watchNamespace` | Defines Kubernetes namespaces to watch to scale their workloads. Default watches all namespaces | `` | | `operator.name` | Name of the KEDA operator | `keda-operator` | +| `operator.replicaCount` | Capability to configure the number of replicas for KEDA operator.

While you can run more replicas of our operator, only one operator instance will be the leader and serving traffic.

You can run multiple replicas, but they will not improve the performance of KEDA, it could only reduce downtime during a failover.| `1` | | `metricsServer.dnsPolicy` | Defined the DNS policy for the metric server | `ClusterFirst` | `metricsServer.useHostNetwork` | Enable metric server to use host network | `false` | `imagePullSecrets` | Name of secret to use to pull images to use to pull Docker images | `[]` | diff --git a/keda/templates/12-keda-deployment.yaml b/keda/templates/12-keda-deployment.yaml index 1a5b70e9..1e972898 100644 --- a/keda/templates/12-keda-deployment.yaml +++ b/keda/templates/12-keda-deployment.yaml @@ -9,7 +9,7 @@ metadata: app.kubernetes.io/name: {{ .Values.operator.name }} {{- include "keda.labels" . | indent 4 }} spec: - replicas: 1 + replicas: {{ .Values.operator.replicaCount}} selector: matchLabels: app: {{ .Values.operator.name }} diff --git a/keda/values.yaml b/keda/values.yaml index ef27dafb..aa2ce93e 100644 --- a/keda/values.yaml +++ b/keda/values.yaml @@ -20,7 +20,8 @@ watchNamespace: "" imagePullSecrets: [] operator: - name: keda-operator + name: keda-operator + replicaCount: 1 metricsServer: # use ClusterFirstWithHostNet if `useHostNetwork: true` https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/#pod-s-dns-policy