java
java copied to clipboard
Official Java client library for kubernetes
I noticed that the wiki is quite outdated on several sub-pages. Examples: - Installation: proposed version to use is still version 10 - Code Examples: all links there lead to...
**Client Version** 14.0.0 **Kubernetes Version** 1.22.4 **Java Version** Java 11 I am trying to create a SharedIndexInformer for a Kubevirt Virtual Machine Instance (custom resource - http://kubevirt.io/api-reference/main/index.html) and carry out...
I am implementing a java application to connect to a kubernetes cluster using this client library. Among other endpoints, I would like to connect to the [Kubernetes API health endpoints](https://kubernetes.io/docs/reference/using-api/health-checks/)....
Describe the bug Based on SONATYPE-2019-0673, there is no upgrade path for this dependency. Is there any alternative option or a workaround to address this vulnerability? Thanks! ``` Vulnerability Issue...
**Describe the bug** The SharedIndexInformer does not work while watching the kubernetes event. **Client Version** ``` io.kubernetes client-java 13.0.0 ``` **Kubernetes Version** ``` 1.18 ``` **Java Version** ``` Java 8...
Two V1Secret instances deserialized from the same YAML are not equal. In fact, `V1Secret.equals(Object o)` always returns false. This is because `V1Secret.data = Map`. https://github.com/kubernetes-client/java/blob/f895344023e1a40900c60716560f3667c3bf90ce/kubernetes/src/main/java/io/kubernetes/client/models/V1Secret.java#L40 The `equals` method on a...
the code is: ``` ApiClient client = ClientBuilder.kubeconfig(KubeConfig.loadKubeConfig(new FileReader("configaliyun"))).build(); // set the global default api-client to the in-cluster one from above Configuration.setDefaultApiClient(client); // the CoreV1Api loads default api-client from global...
**Describe the bug** API incompatible with BouncyCastle in FIPS mode **Client Version** all versions >= 7.0.0 **Kubernetes Version** `1.19.2` **Java Version** Java 11 **To Reproduce** Modify JDK11 conf/security/java.security file to...
**Describe the bug** EventHandler ResyncPeriod overriding is not respected in DefaultSharedIndexInformer.java This line has a bug: https://github.com/kubernetes-client/java/blob/automated-release-15.0.1/util/src/main/java/io/kubernetes/client/informer/impl/DefaultSharedIndexInformer.java#L195 The `determineResyncPeriod(resyncCheckPeriodMillis, this.resyncCheckPeriodMillis)` is taking 2 identical arguments. It should be `determineResyncPeriod(resyncPeriodMillis, this.resyncCheckPeriodMillis)`....
The 15.0.0 release updated the generated model classes with helpful enum classes, e.g. for imagePullPolicy legal values in V1Container. Now, the 15.0.1 release reverts these improvements. I've already gone through...