Skip to content

Cluster reconcile changes#1572

Merged
dannyzaken merged 1 commit intonoobaa:masterfrom
dannyzaken:danny-cnpg-upgrade
Mar 30, 2025
Merged

Cluster reconcile changes#1572
dannyzaken merged 1 commit intonoobaa:masterfrom
dannyzaken:danny-cnpg-upgrade

Conversation

@dannyzaken
Copy link
Member

@dannyzaken dannyzaken commented Mar 26, 2025

Explain the changes

  • added support for node affinity and tolerations
  • added PostgreSQL config values to cluster spec
    • Added dbConf field to dbSpec to allow overriding default parameters

Changes to install flow

  • Wait for noobaa-operator and cnpg-operator to be ready before creating a system.

Issues: Fixed #xxx / Gap #xxx

Testing Instructions:

  • Doc added/updated
  • Tests added

@dannyzaken dannyzaken requested a review from jackyalbo March 26, 2025 17:26
@dannyzaken dannyzaken force-pushed the danny-cnpg-upgrade branch 3 times, most recently from 60c8f44 to 6e36f9f Compare March 27, 2025 15:41
@pull-request-size pull-request-size bot added size/L and removed size/M labels Mar 27, 2025
- added support to node affinity and tolerations
- added postgresql config values to cluster spec

Signed-off-by: Danny Zaken <dannyzaken@gmail.com>
@dannyzaken dannyzaken requested a review from alphaprinz March 27, 2025 18:50
Copy link
Contributor

@liranmauda liranmauda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, one comment on the printing.

log.Printf(" - You may Ctrl-C at any time to stop the loop and watch it manually.")
}

// WaitForOperatorDeploymentReady waits for a deployment to be have the desired number of replicas ready
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
// WaitForOperatorDeploymentReady waits for a deployment to be have the desired number of replicas ready
// WaitForOperatorDeploymentReady waits for a deployment to have the desired number of replicas ready

log.Printf("")
}

// wait for the operators to be ready before creating the system
Copy link
Contributor

@jackyalbo jackyalbo Mar 30, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have to have this part now? Usually, I break(Ctrl-C) the install when waiting for the system to be Ready, but now breaking the install on wait won't create the system.
Also, should(can) we add no-wait option support here as well?

@dannyzaken dannyzaken merged commit deff164 into noobaa:master Mar 30, 2025
17 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants