java
java copied to clipboard
Official Java client library for kubernetes
- fixed spelling mistake in NO_EXECUTE toString Method. - added unit tests for NO_EXECUTE toString Method Fixes #2340
Hi Team, I am facing an issue while building the ApiClient using config file which is placed in the path specified by the [Kube Config documentation](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/). **Path : /.kube/config** Exception...
I've been trying for a few hours to figure out what the expected workflow is for watching custom objects. Basically, I want to setup something in scala similar to https://www.baeldung.com/java-kubernetes-watch...
**Describe the bug** On initialization the `io.kubernetes.client.openapi.ApiClient` sets a user agent string hard-coded with an old snapshot version. ```java setUserAgent("Kubernetes Java Client/13.0.1-SNAPSHOT"); ``` See https://github.com/kubernetes-client/java/blob/master/kubernetes/src/main/java/io/kubernetes/client/openapi/ApiClient.java#L106 **Client Version** `14.01` **Java Version**...
**Describe the bug** the enum value `Taints.Effect.NO_EXECUTE`'s toString() method returns "NoExcute" instead of "NoExecute". source code: https://github.com/kubernetes-client/java/blob/master/util/src/main/java/io/kubernetes/client/util/taints/Taints.java#L35 **Client Version** `16.0.0` **Kubernetes Version** `1.24.3` **Java Version** `Java 8` **To Reproduce** add...
Hi, I commented this on another issue but thought I would create a new issue in case it is a part of a larger issue. I am attempting to apply...
Addresses #2318 (I think) @yue9944882 this is a sketch, let me know if you think it looks ok and I will add tests.
Hi @brendanburns , I am trying this API V1ReplicaSet scaledRs = Kubectl.scale(V1ReplicaSet.class).namespace("patient") .name("healthcare-access").replicas(4).execute(); String status = scaledRs.getStatus().toString(); Error "timestamp": 1652718741715, "status": 500, "error": "Internal Server Error", "message": "io.kubernetes.client.openapi.ApiException: ", What...
Many of our tests simply have a `Thread.sleep(duration)` when testing multi-threaded code. This is inherently flaky. Instead we should use synchronization classes (generally `Semaphore`) to synchronized the tests which is...