Skip to content

Commit

Permalink
Fix hard-coded replicas for thanos-compact
Browse files Browse the repository at this point in the history
  • Loading branch information
andrein authored May 23, 2023
1 parent 4ab42ad commit d2df920
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
version: error 'must provide version',
image: error 'must provide image',
imagePullPolicy: 'IfNotPresent',
replicas: 1,
objectStorageConfig: error 'must provide objectStorageConfig',
resources: {},
logLevel: 'info',
Expand Down
2 changes: 1 addition & 1 deletion jsonnet/kube-thanos/kube-thanos-compact.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function(params) {
labels: tc.config.commonLabels,
},
spec: {
replicas: 1,
replicas: tc.config.replicas,
selector: { matchLabels: tc.config.podLabelSelector },
serviceName: tc.service.metadata.name,
template: {
Expand Down

0 comments on commit d2df920

Please sign in to comment.