kubeflow/sdk
Vedi su GitHubSimplify SparkConnectState to align with Spark Operator state model
Open
#572 aperta il 8 lug 2026
area/sparkgood first issuehelp wantedkind/feature
Metriche repository
- Star
- (124 star)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
Summary
Review and simplify the SDK SparkConnectState model to better align with the Spark Operator's SparkConnectState enum.
Background
During the review of PR #521, it was noted that:
RUNNINGis not an operator state and may be redundant withREADY.PROVISIONINGis currently unused by the SparkConnect controller.- The operator exposes a
NEW("") state that is not currently represented in the SDK.
Proposed work
- Review the SDK
SparkConnectStatemodel against the current Spark Operator CRD. - Determine whether
RUNNINGshould be removed or consolidated withREADY. - Evaluate whether
PROVISIONINGshould remain in the SDK. - Add support for any missing operator states where appropriate.
- Update unit tests and documentation as needed.
Reference
- PR discussion: https://github.com/kubeflow/sdk/pull/521#discussion_r3524198219
- Spark Operator
SparkConnectState: https://github.com/kubeflow/spark-operator/blob/master/api/v1alpha1/sparkconnect_types.go#L170-L180