Skip to content

[SPARK-57693][BUILD] Simplify k8s-client deps management by using BOM#56774

Open
gillespeiffer-db wants to merge 1 commit into
apache:masterfrom
gillespeiffer-db:kubernetes-client-bom
Open

[SPARK-57693][BUILD] Simplify k8s-client deps management by using BOM#56774
gillespeiffer-db wants to merge 1 commit into
apache:masterfrom
gillespeiffer-db:kubernetes-client-bom

Conversation

@gillespeiffer-db

@gillespeiffer-db gillespeiffer-db commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

This PR uses io.fabric8:kubernetes-client-bom to manage io.fabric8 artifact versions, replacing the per-artifact <version>${kubernetes-client.version}</version> declarations across resource-managers/kubernetes/core and resource-managers/kubernetes/integration-tests (kubernetes-client, volcano-client, volcano-model). The BOM is mirrored in project/SparkBuild.scala (sbt-pom-reader does not process import-scope BOMs). Mirrors the existing jackson-bom (#52668), jjwt-bom (#56155), and grpc-bom (#56741) imports.

Why are the changes needed?

Simplify dependency management.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs. No-op on dependency resolution — io.fabric8 resolves identically (7.7.0, direct and transitive) before/after, verified with build/mvn help:effective-pom and build/mvn dependency:tree.

Was this patch authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 4.8)

Import the `io.fabric8:kubernetes-client-bom` Bill of Materials in the root
`pom.xml` `<dependencyManagement>` section (at the existing
`${kubernetes-client.version}`) and drop the now-redundant
`<version>${kubernetes-client.version}</version>` pins from the five
`io.fabric8` dependency declarations in the Kubernetes resource-manager modules
(`kubernetes-client`, `volcano-client`, and `volcano-model`).

Mirror the BOM in `project/SparkBuild.scala`, the same way the existing
`jackson-bom` and `grpc-bom` imports are handled, because sbt-pom-reader does
not process import-scope BOMs.

This collapses five individually-pinned version references into a single BOM
import and keeps every Fabric8 artifact aligned to one coherent version set,
following the pattern already used for `jackson-bom`, `jjwt-bom`, and
`grpc-bom`. It is a no-op: the BOM manages `kubernetes-client`,
`volcano-client`, and `volcano-model` at the same version that was pinned
before, so the resolved versions are unchanged.
@gillespeiffer-db gillespeiffer-db marked this pull request as ready for review June 25, 2026 12:27

@uros-b uros-b left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you @gillespeiffer-db - looks like a clean, mechanical BOM consolidation following the merged grpc/jackson-bom patterns. @dongjoon-hyun @panbingkun PTAL ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants