java
java copied to clipboard
Official Java client library for kubernetes
We were using a pretty old version of Kubernetes client 11.0.2 and trying to upgrade to the latest version , when we were using the `patchNamespacedSecretCall` in `CoreV1Api` we observed...
Bumps [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.25.3 to 4.26.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.25.3 to 4.26.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
**Describe the bug** I am migrating from client version v19.0.0. When using AppsV1Api::patchNamespacedDeploymentCall, I get an error: ``` io.kubernetes.client.openapi.ApiException: Message: HTTP response code: 415 HTTP response body: { "kind": "Status",...
`DefaultController` class can accept [functions](https://github.com/kubernetes-client/java/blob/7f957585fe8fba9278c2a103a9f97cf6d1acbb9b/extended/src/main/java/io/kubernetes/client/extended/controller/DefaultController.java#L54C37-L54C47) for pre-flight checks, those are run on startup and 100% private, including the method [isReady](https://github.com/kubernetes-client/java/blob/7f957585fe8fba9278c2a103a9f97cf6d1acbb9b/extended/src/main/java/io/kubernetes/client/extended/controller/DefaultController.java#L120). However, Controllers can end up in inconsistent states after being...
**Describe the bug** [ControllerManager](https://github.com/kubernetes-client/java/blob/57a9c55fa48d25cfb2bc461c6fd97bce87ca4433/extended/src/main/java/io/kubernetes/client/extended/controller/ControllerManager.java#L68)/[DefaultController ](https://github.com/kubernetes-client/java/blob/57a9c55fa48d25cfb2bc461c6fd97bce87ca4433/extended/src/main/java/io/kubernetes/client/extended/controller/DefaultController.java#L142)do not throw/retry if any of controllers fails preFlightCheck. DefaultController silently exits run() func, ControllerManager doesn't do anything about it, doesn't re-try or throw also. There...
maven version io.kubernetes client-java 18.0.0 Kubernetes Version: 1.26.1 Java Version: Java 8 code:   I can read the data I want, why would this problem still occur????
**Describe the bug** When using the `Yaml.dump` method to serialize a K8S object (eg - `V1Pod`) several warnings related to CRD schema attributes are output from `snakeyaml`. The same issue...
**Describe the bug** I created a job.batch and used Wait. pool() to monitor the running status of the pod created by my job. batch, when pod.status.phase is "Succeeded", save full...