java icon indicating copy to clipboard operation
java copied to clipboard

Official Java client library for kubernetes

Results 196 java issues
Sort by recently updated
recently updated
newest added
trafficstars

Partially fixes #3271

cncf-cla: yes
size/M
lifecycle/rotten

**Describe the bug** https://kubernetes.io/blog/2023/05/12/in-place-pod-resize-alpha/ In-place Resource Resize for Kubernetes (> 1.27) Pods is working when using the kubectl patch command as mentioned in the linked blog. Meaning the container's resources...

lifecycle/rotten

The patchingress is broken in 1.20 version. So raised a fix for it. Even the open api spec mentions about using "application/json-patch+json", "application/merge-patch+json", "application/strategic-merge-patch+json", "application/apply-patch+yaml"

cncf-cla: yes
size/XS

**Describe the bug** While trying to read the nodes of a server I got the following error: ``` java.lang.IllegalArgumentException: Expected the field `names` to be an array in the JSON...

lifecycle/rotten

**Solution!!!!!!!!!!!!!!!!!!!!!!!** Use "ClassLoader classLoader = Thread.currentThread().getContextClassLoader();" instead of "Yaml.class.getClassLoader()", and it works!!!! so please fix this issue, thanks ![image](https://github.com/kubernetes-client/java/assets/35533817/79ac9248-515f-450c-ac9e-1b8c869cf875) **Describe the bug** Unknown apiVersionKind XXXClass is it registered? and "No...

**Describe the bug** Hello. I refer to the link "https://github.com/kubernetes-client/java/blob/master/util/src/main/java/io/kubernetes/client/Copy.java" to write file upload Code, found that the code will get stuck in "proc.waitFor(); "This step. I think it is...

## Description Add a lock class, not depends on leader election. Usage high level guideline: ``` try { lock.lock(timeout); // blocking doSomeAction(); } finally { lock.unlock(); } ``` ## Use...

Is there a method to submit YAML resources of any type to Kubernetes ? What I mean is not having to differentiate between Kind types.

good first issue

**Describe the bug** Hi, I'm using your example https://github.com/kubernetes-client/java/blob/master/examples/examples-release-18/src/main/java/io/kubernetes/client/examples/Example.java to get all Pod in a K8s cluster. CoreV1Api.listPodForAllNamespaces return a 401 response. Could you suggest how to configure the client...

**Describe the bug** When doing more complex `kubectl exec` calls using the example code based on https://github.com/kubernetes-client/java/blob/master/examples/examples-release-latest/src/main/java/io/kubernetes/client/examples/ExecExample.java I am very often observing an exception ``` java.net.SocketException: Connection or outbound has...