-
Notifications
You must be signed in to change notification settings - Fork 154
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify DataScienceCluster conditions
This commit aims to simpplify the DataScienceCluster status conditions by removing transient conditions (Reconciling, Deploying, etc) and replacing them with two conditsion: - Available that is used to reflects the work done by the controller, so an Available condition with status False would signal that the controller encountered some troubles while reconciling the status of the cluster - Ready that is used to reflect the status of the component managed by the controller. It is perfectly possible to be in a state where Available=False and Ready=True which can happen in case the controller has troubles to perform some reconciliation logic because of i.e. a transient kubernetes error, but at the same time all the components are running. The object would then result in soimething like: apiVersion: datasciencecluster.opendatahub.io/v1 kind: DataScienceCluster metadata: name: default-dsc spec: {} status: conditions: - lastHeartbeatTime: "2025-01-15T12:54:20Z" lastTransitionTime: "2025-01-15T12:54:20Z" message: DataScienceCluster resource reconciled successfully reason: Available status: "True" type: Available - lastHeartbeatTime: "2025-01-15T12:54:20Z" lastTransitionTime: "2025-01-15T12:54:20Z" message: Ready reason: Ready status: "True" type: Ready It is possible to wait for the DataScienceCluster to be ready by using the kubectl wait command: kubectl wait --for=condition=ready datascienceclusters.datasciencecluster.opendatahub.io default-dsc
- Loading branch information
1 parent
ad20d38
commit b40b2d8
Showing
22 changed files
with
734 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.