Skip to content

HIGH k8s & GKE is version 1.36.0 which is not supported by k8s-client java #4809

@naresh-naga

Description

@naresh-naga

Describe the bug
As per the versioning support for this library is upto 1.35. But GKE and K8s release version 1.36. Because of that we are unable to run the spring boot application in 1.35 GKE/K8S. Getting below error.

j.l.IllegalArgumentException: The field `allocatedResources` in the JSON string is not defined in the `V1PodStatus` properties.

https://github.com/kubernetes-client/java/wiki/2.-Versioning-and-Compatibility

Client Version
e.g. [26.0.1](https://github.com/kubernetes-client/java/tree/v26.0.1)

Kubernetes Version
e.g. 1.36.0

Java Version
e.g. Java 21

To Reproduce
Use latest version of kubernetes java client and deploy apps

Expected behavior
Should pods start successfully.

KubeConfig
None
Server (please complete the following information):

  • OS: [e.g. Linux]
  • Environment Docker
  • Cloud GKE

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions