PHPackages                             keboola/k8s-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. keboola/k8s-client

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

keboola/k8s-client
==================

Keboola K8S client library

4.1.0(1mo ago)012.7k↓27.5%MITPHPPHP ^8.2

Since Oct 19Pushed 1mo ago7 watchersCompare

[ Source](https://github.com/keboola/k8s-client)[ Packagist](https://packagist.org/packages/keboola/k8s-client)[ RSS](/packages/keboola-k8s-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (22)Versions (51)Used By (0)

Kubernetes Client
=================

[](#kubernetes-client)

High-level K8S client library. It is based on `kubernetes/php-client` library, but enhances it in many ways:

- support connection to multiple clusters
- automatic handling of result type (you don't need to check if the result is what you expect, `Status` or something else)
- integrated retries in case of networking problems
- high-level operations like `create` multiple resources at once, `waitWhileExists` to wait while given resource exists etc.

Usage
-----

[](#usage)

To create a client, use one of provided client factories:

- `GenericClientFacadeFactory` if you have cluster credentials
- `InClusterClientFacadeFactory` if you run inside a Pod which has access to K8S API

```
