This is an automated email from the ASF dual-hosted git repository. dongjoon pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/spark-kubernetes-operator.git
The following commit(s) were added to refs/heads/main by this push:
new 808b1e4 [SPARK-55847] Upgrade `kubernetes-client` to 7.6.0 and update
CRDs
808b1e4 is described below
commit 808b1e4ac86b01a61a363ce1417d80cccc62f905
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Wed Mar 4 22:46:51 2026 -0800
[SPARK-55847] Upgrade `kubernetes-client` to 7.6.0 and update CRDs
### What changes were proposed in this pull request?
This PR upgrades `kubernetes-client` to 7.6.0 and updates the Helm chart
CRDs to match the newly generated output.
The changes include:
- `gradle/libs.versions.toml`: Bump `fabric8` version from `7.5.2` to
`7.6.0`
- `sparkapplications.spark.apache.org-v1.yaml`: Regenerated CRD with new
fields (`userAnnotations`, `workloadRef`, `allocatedResources`, `resources`)
- `sparkclusters.spark.apache.org-v1.yaml`: Regenerated CRD with new fields
(`userAnnotations`, `workloadRef`)
### Why are the changes needed?
`v7.6.0` is the first release to support K8s 1.35 officially.
- https://github.com/fabric8io/kubernetes-client/releases/tag/v7.6.0
- https://github.com/fabric8io/kubernetes-client/issues/7385
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
Build and existing unit tests via `gradle build`.
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Code
Closes #538 from dongjoon-hyun/SPARK-55847.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.../sparkapplications.spark.apache.org-v1.yaml | 158 +++++++++++++++++++++
.../crds/sparkclusters.spark.apache.org-v1.yaml | 26 ++++
gradle/libs.versions.toml | 2 +-
3 files changed, 185 insertions(+), 1 deletion(-)
diff --git
a/build-tools/helm/spark-kubernetes-operator/crds/sparkapplications.spark.apache.org-v1.yaml
b/build-tools/helm/spark-kubernetes-operator/crds/sparkapplications.spark.apache.org-v1.yaml
index 430347b..7ba701f 100644
---
a/build-tools/helm/spark-kubernetes-operator/crds/sparkapplications.spark.apache.org-v1.yaml
+++
b/build-tools/helm/spark-kubernetes-operator/crds/sparkapplications.spark.apache.org-v1.yaml
@@ -20691,6 +20691,10 @@ spec:
type: integer
signerName:
type: string
+ userAnnotations:
+ additionalProperties:
+ type: string
+ type: object
type: object
secret:
properties:
@@ -20836,6 +20840,15 @@ spec:
type: object
type: object
type: array
+ workloadRef:
+ properties:
+ name:
+ type: string
+ podGroup:
+ type: string
+ podGroupReplicaKey:
+ type: string
+ type: object
type: object
type: object
type: object
@@ -23748,6 +23761,10 @@ spec:
type: integer
signerName:
type: string
+ userAnnotations:
+ additionalProperties:
+ type: string
+ type: object
type: object
secret:
properties:
@@ -23893,6 +23910,15 @@ spec:
type: object
type: object
type: array
+ workloadRef:
+ properties:
+ name:
+ type: string
+ podGroup:
+ type: string
+ podGroupReplicaKey:
+ type: string
+ type: object
type: object
type: object
type: object
@@ -23963,6 +23989,13 @@ spec:
type: string
lastObservedDriverStatus:
properties:
+ allocatedResources:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
conditions:
items:
properties:
@@ -24522,6 +24555,32 @@ spec:
type: string
type: object
type: array
+ resources:
+ properties:
+ claims:
+ items:
+ properties:
+ name:
+ type: string
+ request:
+ type: string
+ type: object
+ type: array
+ limits:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ requests:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ type: object
startTime:
type: string
type: object
@@ -24557,6 +24616,13 @@ spec:
type: string
lastObservedDriverStatus:
properties:
+ allocatedResources:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
conditions:
items:
properties:
@@ -25116,6 +25182,32 @@ spec:
type: string
type: object
type: array
+ resources:
+ properties:
+ claims:
+ items:
+ properties:
+ name:
+ type: string
+ request:
+ type: string
+ type: object
+ type: array
+ limits:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ requests:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ type: object
startTime:
type: string
type: object
@@ -25159,6 +25251,13 @@ spec:
type: string
lastObservedDriverStatus:
properties:
+ allocatedResources:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
conditions:
items:
properties:
@@ -25718,6 +25817,32 @@ spec:
type: string
type: object
type: array
+ resources:
+ properties:
+ claims:
+ items:
+ properties:
+ name:
+ type: string
+ request:
+ type: string
+ type: object
+ type: array
+ limits:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ requests:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ type: object
startTime:
type: string
type: object
@@ -25754,6 +25879,13 @@ spec:
type: string
lastObservedDriverStatus:
properties:
+ allocatedResources:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
conditions:
items:
properties:
@@ -26313,6 +26445,32 @@ spec:
type: string
type: object
type: array
+ resources:
+ properties:
+ claims:
+ items:
+ properties:
+ name:
+ type: string
+ request:
+ type: string
+ type: object
+ type: array
+ limits:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ requests:
+ additionalProperties:
+ anyOf:
+ - type: integer
+ - type: string
+ x-kubernetes-int-or-string: true
+ type: object
+ type: object
startTime:
type: string
type: object
diff --git
a/build-tools/helm/spark-kubernetes-operator/crds/sparkclusters.spark.apache.org-v1.yaml
b/build-tools/helm/spark-kubernetes-operator/crds/sparkclusters.spark.apache.org-v1.yaml
index 062df51..78df4e5 100644
---
a/build-tools/helm/spark-kubernetes-operator/crds/sparkclusters.spark.apache.org-v1.yaml
+++
b/build-tools/helm/spark-kubernetes-operator/crds/sparkclusters.spark.apache.org-v1.yaml
@@ -17799,6 +17799,10 @@ spec:
type: integer
signerName:
type: string
+ userAnnotations:
+ additionalProperties:
+ type: string
+ type: object
type: object
secret:
properties:
@@ -17944,6 +17948,15 @@ spec:
type: object
type: object
type: array
+ workloadRef:
+ properties:
+ name:
+ type: string
+ podGroup:
+ type: string
+ podGroupReplicaKey:
+ type: string
+ type: object
type: object
type: object
updateStrategy:
@@ -21617,6 +21630,10 @@ spec:
type: integer
signerName:
type: string
+ userAnnotations:
+ additionalProperties:
+ type: string
+ type: object
type: object
secret:
properties:
@@ -21762,6 +21779,15 @@ spec:
type: object
type: object
type: array
+ workloadRef:
+ properties:
+ name:
+ type: string
+ podGroup:
+ type: string
+ podGroupReplicaKey:
+ type: string
+ type: object
type: object
type: object
updateStrategy:
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml
index 45aaf8e..b5f6cbc 100644
--- a/gradle/libs.versions.toml
+++ b/gradle/libs.versions.toml
@@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.
[versions]
-fabric8 = "7.5.2"
+fabric8 = "7.6.0"
lombok = "1.18.42"
netty = "4.2.10.Final"
operator-sdk = "5.2.3"
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
