java
java copied to clipboard
Official Java client library for kubernetes
**Describe the bug** The `ReflectorRunnable` sets a random [5-10mins timeout for watch call](https://github.com/kubernetes-client/java/blob/release-13/util/src/main/java/io/kubernetes/client/informer/cache/ReflectorRunnable.java#L117). However, this timeout doesn’t really affect watch call , because: in `SharedInformerFactory`, [it implements a ListerWatcher whose...
**Describe the bug** Informer ReflectorRunnable doesn't recover from "Too large resource version". `ApiException.getResponseBody` is like: ``` {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"Timeout: Too large resource version: 5399771, current: 5399139","reason":"Timeout","details":{"causes":[{"reason":"ResourceVersionTooLarge","message":"Too large resource version"}],"retryAfterSeconds":1},"code":504} ``` Based on...
I can't find any release notes/changelog for versions 15.0 and later... `CHANGELOG.MD` only gets up to 14.0.0, the GH release page only says "copy for tag", and the wiki page...
```Not sure what to do next? 😅 Check out https://kind.sigs.k8s.io/docs/user/quick-start/ error: error parsing https://github.com/GoogleCloudPlatform/spark-on-k8s-operator/blob/master/charts/spark-operator-chart/crds/sparkoperator.k8s.io_sparkapplications.yaml: error converting YAML to JSON: yaml: line 28: mapping values are not allowed in this context...
Hi team, Is there a way to tune the timeout at which point the K8s triggers the reconcile loop? Is it this parameter [REFLECTOR_WATCH_CLIENTSIDE_TIMEOUT](https://github.com/kubernetes-client/java/blob/0642e7b8fc1c3bdebd77136c35cacd577c006e62/util/src/main/java/io/kubernetes/client/informer/cache/ReflectorRunnable.java#L41)? The default value is 5 mins....
**Describe the bug** OpenidApi and WellKnownApi have coded the wrongLocalPath. String localVarPath = "/openid/v1/jwks/"; and String localVarPath = "/.well-known/openid-configuration/"; The last "/" generate an 403 Response. I have remove Last...
Hello, After the upgrade, from 14.0.1 to 15.0.1, V1Pod patchNamespacedPod method cannot handle our Patch request, returning a 422 HTTPError. Our body format is: `body = "[{\"op\":\"replace\", \"path\":\"/spec/containers/0/image\", \"value\":\"{new-image}\"}]; V1Patch...
**Describe the bug** `io.kubernetes.client.util.generic.dynamic.Dynamics` is not thread-safe when handling yaml. This is because `org.yaml.snakeyaml.Yaml` is not thread-safe as documented: `Public YAML interface. This class is not thread-safe.`. More specifically, methods...
**Describe the bug** I am trying to create a statefulset using AppsV1Api and it throws a ApiException with no cause to identify what the issue is. Compete Stacktrace as follows:...
kubernetes-client-java version: 15.0.1 ttlSecondsAfterFinished is not working: BatchV1Api api = new BatchV1Api(); V1Job v1Job = new V1JobBuilder() .withNewMetadata() .withName(createNamespacedJobReq.getJobName()) .withLabels(createNamespacedJobReq.getLabels()) .endMetadata() .withNewSpec() .withNewTemplate() .withNewMetadata() .withLabels(req.getLabels()) .endMetadata() .withSpec(v1PodSpec) .endTemplate() .withTtlSecondsAfterFinished(60*10) .endSpec()...