Skip to content

Commit d2df920

Browse files
authored
Fix hard-coded replicas for thanos-compact
1 parent 4ab42ad commit d2df920

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

jsonnet/kube-thanos/kube-thanos-compact-default-params.libsonnet

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
version: error 'must provide version',
99
image: error 'must provide image',
1010
imagePullPolicy: 'IfNotPresent',
11+
replicas: 1,
1112
objectStorageConfig: error 'must provide objectStorageConfig',
1213
resources: {},
1314
logLevel: 'info',

jsonnet/kube-thanos/kube-thanos-compact.libsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function(params) {
138138
labels: tc.config.commonLabels,
139139
},
140140
spec: {
141-
replicas: 1,
141+
replicas: tc.config.replicas,
142142
selector: { matchLabels: tc.config.podLabelSelector },
143143
serviceName: tc.service.metadata.name,
144144
template: {

0 commit comments

Comments
 (0)