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.7.1(1w ago)014.9k↓54.6%MITPHPPHP ^8.2CI failing

Since Oct 19Pushed 1w 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 2d ago

READMEChangelog (10)Dependencies (44)Versions (68)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

```
