File tree 4 files changed +83
-1
lines changed
4 files changed +83
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ apiVersion: v2
21
21
appVersion : " 2.9.2"
22
22
description : Apache Pulsar Helm chart for Kubernetes
23
23
name : pulsar
24
- version : 2.9.2
24
+ version : 2.9.3
25
25
home : https://pulsar.apache.org
26
26
sources :
27
27
- https://github.com/apache/pulsar
Original file line number Diff line number Diff line change
1
+ #
2
+ # Licensed to the Apache Software Foundation (ASF) under one
3
+ # or more contributor license agreements. See the NOTICE file
4
+ # distributed with this work for additional information
5
+ # regarding copyright ownership. The ASF licenses this file
6
+ # to you under the Apache License, Version 2.0 (the
7
+ # "License"); you may not use this file except in compliance
8
+ # with the License. You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing,
13
+ # software distributed under the License is distributed on an
14
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ # KIND, either express or implied. See the License for the
16
+ # specific language governing permissions and limitations
17
+ # under the License.
18
+ #
19
+
20
+ {{- if .Values.broker.autoscaling.enabled }}
21
+ apiVersion : autoscaling/v2beta2
22
+ kind : HorizontalPodAutoscaler
23
+ metadata :
24
+ name : " {{ template " pulsar.fullname" . }}-{{ .Values.broker.component }}"
25
+ spec :
26
+ maxReplicas : {{ .Values.broker.autoscaling.maxReplicas }}
27
+ {{- with .Values.broker.autoscaling.metrics }}
28
+ metrics :
29
+ {{- toYaml . | nindent 4 }}
30
+ {{- end }}
31
+ minReplicas : {{ .Values.broker.autoscaling.minReplicas }}
32
+ scaleTargetRef :
33
+ apiVersion : apps/v1
34
+ kind : StatefulSet
35
+ name : " {{ template " pulsar.fullname" . }}-{{ .Values.broker.component }}"
36
+ {{- end }}
Original file line number Diff line number Diff line change
1
+ #
2
+ # Licensed to the Apache Software Foundation (ASF) under one
3
+ # or more contributor license agreements. See the NOTICE file
4
+ # distributed with this work for additional information
5
+ # regarding copyright ownership. The ASF licenses this file
6
+ # to you under the Apache License, Version 2.0 (the
7
+ # "License"); you may not use this file except in compliance
8
+ # with the License. You may obtain a copy of the License at
9
+ #
10
+ # http://www.apache.org/licenses/LICENSE-2.0
11
+ #
12
+ # Unless required by applicable law or agreed to in writing,
13
+ # software distributed under the License is distributed on an
14
+ # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15
+ # KIND, either express or implied. See the License for the
16
+ # specific language governing permissions and limitations
17
+ # under the License.
18
+ #
19
+
20
+ {{- if .Values.proxy.autoscaling.enabled }}
21
+ apiVersion : autoscaling/v2beta2
22
+ kind : HorizontalPodAutoscaler
23
+ metadata :
24
+ name : " {{ template " pulsar.fullname" . }}-{{ .Values.proxy.component }}"
25
+ spec :
26
+ maxReplicas : {{ .Values.proxy.autoscaling.maxReplicas }}
27
+ {{- with .Values.proxy.autoscaling.metrics }}
28
+ metrics :
29
+ {{- toYaml . | nindent 4 }}
30
+ {{- end }}
31
+ minReplicas : {{ .Values.proxy.autoscaling.minReplicas }}
32
+ scaleTargetRef :
33
+ apiVersion : apps/v1
34
+ kind : StatefulSet
35
+ name : " {{ template " pulsar.fullname" . }}-{{ .Values.proxy.component }}"
36
+ {{- end }}
Original file line number Diff line number Diff line change @@ -668,6 +668,11 @@ broker:
668
668
# so the metrics are correctly rendered in grafana dashboard
669
669
component : broker
670
670
replicaCount : 3
671
+ autoscaling :
672
+ enabled : false
673
+ minReplicas : 1
674
+ maxReplicas : 3
675
+ metrics : ~
671
676
# If using Prometheus-Operator enable this PodMonitor to discover broker scrape targets
672
677
# Prometheus-Operator does not add scrape targets based on k8s annotations
673
678
podMonitor :
@@ -784,6 +789,11 @@ proxy:
784
789
# so the metrics are correctly rendered in grafana dashboard
785
790
component : proxy
786
791
replicaCount : 3
792
+ autoscaling :
793
+ enabled : false
794
+ minReplicas : 1
795
+ maxReplicas : 3
796
+ metrics : ~
787
797
# If using Prometheus-Operator enable this PodMonitor to discover proxy scrape targets
788
798
# Prometheus-Operator does not add scrape targets based on k8s annotations
789
799
podMonitor :
You can’t perform that action at this time.
0 commit comments