Skip to content

Commit

Permalink
Merge pull request #109 from metalmatze/compact-replicas
Browse files Browse the repository at this point in the history
Use tc.config.replicas variable in compact component.
  • Loading branch information
brancz authored Apr 7, 2020
2 parents 03f80c7 + c5ce23d commit a203682
Showing 1 changed file with 1 addition and 1 deletion.
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 @@ -81,7 +81,7 @@ local k = import 'ksonnet/ksonnet.beta.4/k.libsonnet';
container.mixin.readinessProbe.httpGet.withScheme('HTTP') +
container.mixin.readinessProbe.httpGet.withPath('/-/ready');

statefulSet.new(tc.config.name, 1, c, [], tc.config.commonLabels) +
statefulSet.new(tc.config.name, tc.config.replicas, c, [], tc.config.commonLabels) +
statefulSet.mixin.metadata.withNamespace(tc.config.namespace) +
statefulSet.mixin.metadata.withLabels(tc.config.commonLabels) +
statefulSet.mixin.spec.withServiceName(tc.service.metadata.name) +
Expand Down

0 comments on commit a203682

Please sign in to comment.