skuber
skuber copied to clipboard
A Scala Kubernetes client library
As of kubernetes v1.22, API networking.k8s.io/v1beta1 is no longer served and networking.k8s.io/v1 should be used instead (available since v1.19). This PR adds: - Support for networking.k8s.io/v1 Ingress - Function for...
Current: ``` @ import $ivy.`io.skuber::skuber:2.0.10`, skuber._, skuber.json.format._ Failed to resolve ivy dependencies:Error downloading io.skuber:skuber_2.13:2.0.10 not found: /home/jenkins/.ivy2/local/io.skuber/skuber_2.13/2.0.10/ivys/ivy.xml not found: https://repo1.maven.org/maven2/io/skuber/skuber_2.13/2.0.10/skuber_2.13-2.0.10.pom ``` It should be: ``` @ import $ivy.`io.skuber::skuber:2.6.3`, skuber._, skuber.json.format._...
Hi, Thanks for the package. I am working on a spark2 project that only runs on scala-2.11. I am trying to get skuber-1.7.1 to work. I encountered the following issue:...
If I do effectively this: ``` val fut = (k8s usingNamespace namespace delete[ConfigMap] name).map { r => Right(r) }.recover { case t: Throwable => Left(t) } println(Await.result(fut, Duration.Inf)) ``` I...
this feature has been implemented by java and golang, and it's very hard to use java k8s client via scala. someone please end this miserable situation.
calling skuber.api.Configuration.parseKubeconfigFile() throws an exception when kube config file has a GCP user without "cmd-args" and "cmd-path" (which are optional fields). Error thrown: `Caused by: java.util.NoSuchElementException: None.get`. https://github.com/doriordan/skuber/blob/c86bdfcdb4e68e72c880e95d5fff97e4409d469d/client/src/main/scala/skuber/api/Configuration.scala#L179-L180 I couldn't...
This is a WIP pull request for comments. Please see the current comments in #173 for context and for arguments why this may not be ready to merge.
This PR addresses the intent of #280 with two API-breaking changes: 1) The long-duration `watch...` operations have a different signature to allow passing an optional pool and for returning a...
LongPollingPool was calling newHostConnectionPool for each materialization of the 'watch'. While that is not wrong per se (pools are cleaned up when they have been idle for some time), it...
There is an implicit for `Format[skuber.ext.ReplicaSetList]` but there doesn't seem to be one for `skuber.apps.v1.ReplicaSetList`. It's no big deal, since you can declare your own, but it's confusing since there...