Skip to content

Commit

Permalink
feat(helm): add var to disable partial rebuilds
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Castro <tiagolobocastro@gmail.com>
  • Loading branch information
tiagolobocastro committed Apr 10, 2024
1 parent f65738b commit 84a5759
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,9 @@ spec:
- "--ansi-colors={{ .Values.base.logging.color }}"
- "--create-volume-limit={{ .Values.agents.core.maxCreateVolume }}"{{ if .Values.agents.core.maxRebuilds }}
- "--max-rebuilds={{ .Values.agents.core.maxRebuilds }}"{{ end }}
{{- if .Values.agents.core.disablePartialRebuilds }}
- "--disable-partial-rebuilds"
{{- end }}
ports:
- containerPort: 50051
env:
Expand Down
2 changes: 2 additions & 0 deletions chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ agents:
# faster depending on the log size. Otherwise, the replica will be fully rebuilt.
# A blank value "" means internally derived value will be used.
partialRebuildWaitPeriod: ""
# Set to true to disable partial rebuilds.
partialRebuildDisable:
# The maximum number of system-wide rebuilds permitted at any given time.
# If set to an empty string, there are no limits.
maxRebuilds: ""
Expand Down
2 changes: 1 addition & 1 deletion dependencies/control-plane
Submodule control-plane updated 34 files
+2 −0 Cargo.lock
+4 −4 control-plane/agents/src/bin/core/controller/io_engine/v0/translation.rs
+7 −1 control-plane/agents/src/bin/core/controller/reconciler/nexus/mod.rs
+1 −1 control-plane/agents/src/bin/core/controller/reconciler/volume/hot_spare.rs
+10 −1 control-plane/agents/src/bin/core/controller/registry.rs
+5 −1 control-plane/agents/src/bin/core/controller/scheduling/pool.rs
+1 −1 control-plane/agents/src/bin/core/controller/scheduling/volume_policy/mod.rs
+13 −8 control-plane/agents/src/bin/core/controller/scheduling/volume_policy/node.rs
+2 −2 control-plane/agents/src/bin/core/controller/scheduling/volume_policy/pool.rs
+5 −0 control-plane/agents/src/bin/core/main.rs
+7 −5 control-plane/agents/src/bin/core/nexus/operations_helper.rs
+7 −2 control-plane/agents/src/bin/core/node/service.rs
+16 −1 control-plane/agents/src/bin/core/node/wrapper.rs
+124 −8 control-plane/agents/src/bin/core/tests/rebuild/mod.rs
+1 −0 control-plane/agents/src/bin/core/tests/volume/mod.rs
+3 −3 control-plane/agents/src/bin/core/tests/volume/snapshot.rs
+50 −6 control-plane/agents/src/bin/core/volume/operations.rs
+2 −1 control-plane/agents/src/bin/ha/node/detector.rs
+11 −7 control-plane/agents/src/bin/ha/node/server.rs
+9 −1 control-plane/csi-driver/src/bin/controller/controller.rs
+15 −7 control-plane/csi-driver/src/bin/node/filesystem_ops.rs
+18 −0 control-plane/csi-driver/src/context.rs
+7 −0 control-plane/stor-port/src/types/v0/transport/nexus.rs
+13 −2 deployer/src/infra/csi-driver/node.rs
+17 −0 deployer/src/lib.rs
+1 −0 terraform/cluster/mod/k8s/repo.sh
+10 −3 tests/bdd/features/node/label/test_label_unlabel_node.py
+65 −34 tests/bdd/features/volume/topology/node-topology.feature
+4 −5 tests/bdd/features/volume/topology/test_feature.py
+197 −61 tests/bdd/features/volume/topology/test_node_topology.py
+9 −16 tests/bdd/features/volume/topology/test_pool_topology.py
+2 −0 tests/io-engine/Cargo.toml
+346 −0 tests/io-engine/tests/upgrade.rs
+29 −6 utils/deployer-cluster/src/lib.rs

0 comments on commit 84a5759

Please sign in to comment.