Skip to content

Commit abdf08c

Browse files
committed
docs: Document StatefulSet should be applied last
1 parent e994bbc commit abdf08c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

rust/operator-binary/src/superset_controller.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -467,6 +467,9 @@ pub async fn reconcile_superset(
467467
.with_context(|_| ApplyRoleGroupConfigSnafu {
468468
rolegroup: rolegroup.clone(),
469469
})?;
470+
471+
// Note: The StatefulSet needs to be applied last, so that we don't cause unnecessary Pod
472+
// restarts. See https://github.com/stackabletech/commons-operator/issues/111 for details.
470473
ss_cond_builder.add(
471474
cluster_resources
472475
.add(client, rg_statefulset.clone())

0 commit comments

Comments
 (0)