Skip to content

Commit f5030f3

Browse files
committed
Make replicas configurable
1 parent 27de941 commit f5030f3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

component/main.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ local deployment = kube.Deployment('maxscale') {
6565
},
6666
},
6767
spec+: {
68+
replicas: params.replicas,
6869
template+: {
6970
spec+: {
70-
replicas+: params.replicas,
7171
containers_+: {
7272
maxscale: kube.Container('maxscale') {
7373
image: params.images.maxscale.image + ':' + params.images.maxscale.tag,

docs/modules/ROOT/pages/references/parameters.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The namespace in which to deploy this component.
1414

1515
[horizontal]
1616
type:: integer
17-
default:: `1`
17+
default:: `2`
1818

1919
How many replicas the deployment has.
2020

0 commit comments

Comments
 (0)