java
java copied to clipboard
Official Java client library for kubernetes
**Describe the bug** I went through the examples but I was unable to figure out how to simulate `kubectrl -f apply abc.yaml` I am using spark operator. The yaml is...
**Describe the bug** Getting SocketTimeoutException Read timed out error when trying to Access K8s Secrets and ConfigMaps. **Client Version** Not sure where to get this informatoon **Kubernetes Version** `13.0.2` **Java...
**Describe the bug** Hi. I am developing a service with the below sample. https://github.com/kubernetes-client/java/blob/master/examples/examples-release-15/src/main/java/io/kubernetes/client/examples/DeployRolloutRestartExample.java When I run the ScheduledExecutorService via the Wait class, the okhttp Thread never shutdown even when...
I'm getting an error: ``` java.lang.IllegalArgumentException: Expected the field `containers` to be an array in the JSON string but got `null` ``` However there seems to be no way to...
This worked in 19.0.0: ``` kube.listNamespacedService(namespace, null, null, null, null, labelSelector, null, null, null, null, null); ``` But it breaks in 20.0.0: ``` [ERROR] required: java.lang.String [ERROR] found: java.lang.String,,,,,java.lang.String,,,,, [ERROR]...
**Describe the bug** Attempting to generate java crds from argo-rollouts fails to create fully valid models. For example, instead of generating a file with import `io.kubernetes.client.openapi.models.V1ObjectMeta`, it instead tries to...
``` Error: Failures: Error: DefaultSharedIndexInformerWireMockTest.testInformerReListWatchOnWatchConflict 2 requests were unmatched by any stub mapping. Shown with closest stub mappings: expected:< GET /api/v1/namespaces/default/pods?resourceVersion=0&watch=false watch: false > but was:< T /api/v1/namespaces/default/pods?resourceVersion=0&watch=false watch: false...
``` com.github.tomakehurst.wiremock.client.VerificationException: Expected at least one request matching: { "urlPath" : "/api/v1/namespaces/default/pods/apod/exec", "method" : "GET", "queryParameters" : { "stdin" : { "equalTo" : "false" }, "stdout" : { "equalTo" :...
``` Error: Failures: Error: DefaultControllerBuilderTest.testBuildWatchEventNotificationShouldWork:210 expected: but was: ``` See #2007
Hi, I'm using `ghcr.io/kubernetes-client/java/crd-model-gen:v1.0.6` to generate Java classes from K8s CRD YAMLs. My YAML has `x-kubernetes-validations`. Currently I'm getting the following error. ``` docker run \ --rm \ -v "$LOCAL_MANIFEST_FILE":"$LOCAL_MANIFEST_FILE"...