java
java copied to clipboard
Official Java client library for kubernetes
hi, i am trying to configure Informer in a simple way: ```java final SharedIndexInformer podInformer = informerFactory.sharedIndexInformerFor( (CallGeneratorParams params) -> { final CoreV1Api.APIlistPodForAllNamespacesRequest request = coreV1Api.listPodForAllNamespaces(); request.allowWatchBookmarks(true); request.watch(params.watch); request.resourceVersion(params.resourceVersion); request.timeoutSeconds(params.timeoutSeconds);...
**Describe the bug** We are using some managed fields to provide information on `Deployment` objects on a custom dashboard. For this, we are getting a `V1DeploymentList`, like so: ```java public...
**Describe the bug** Sending messages through the `WebSocketStreamHandler.WebSocketOutputStream` is quite slow. This behavior is mainly caused by the `flush()` method. We often observed that `flush()` only returned after 100 ms...
**Changes** - Add optional `labelSelector` to `getPodMetrics()` method in `Metrics`.
**Describe the bug** For efficiency, it would be very beneficial to enable the `labelSelector` when querying the `Metrics` for Pods. **Client Version** e.g. `24.0.0-SNAPSHOT` **Kubernetes Version** e.g. `1.27.10` **Java Version**...
**Describe the bug** When running this code: ``` public V1ConfigMap createOrReplace(V1ConfigMap configMap) throws ApiException { V1ObjectMeta metadata = configMap.getMetadata(); assert (metadata != null); // https://github.com/kubernetes-client/java/issues/3653#issuecomment-2307770649 V1Patch configMapPatch = new V1Patch(JSON.serialize(configMap));...