zio-k8s-client

Packages

Contains data structures, ZIO layers and zio-config descriptors for configuring the zio-k8s client.

Contains data structures, ZIO layers and zio-config descriptors for configuring the zio-k8s client.

Each zio-k8s client module depends on two ZIO modules: com.coralogix.zio.k8s.client.model.K8sCluster and an sttp.client3.SttpBackend. To use the default configuration (use kubeconfig if available, otherwise fallback to service account token), use either asynchttpclient.k8sDefault or httpclient.k8sDefault depending on your chosen sttp backend.

Manual configuration is possible by providing a K8sClusterConfig value to both the k8sCluster layer and either asynchttpclient.k8sSttpClient or httpclient.k8sSttpClient.

Instead of manually providing the configuration, zio-config descriptors are available to load them from any supported source.

HTTP client implementation based on the async-http-client-zio backend

HTTP client implementation based on the async-http-client-zio backend

HTTP client implementation based on the httpclient-zio backend

HTTP client implementation based on the httpclient-zio backend