Skip to content

k8s-client/http-guzzle

Repository files navigation

k8s-http-guzzle

This library provides a Guzzle based HttpClient factory for the k8s/client library.

General Use with the K8s library / Configuration Options

  1. Install the library:

composer require k8s/http-guzzle

  1. Construct the main client for k8s/client through the K8sFactory:
use K8s\Client\K8sFactory;

# Load the client from the default KubeConfig
$k8s = (new K8sFactory())->loadFromKubeConfig();

Your new client will have all the HttpClient options needed pre-populated when used.

About

Guzzle based HttpClient factory for k8s-client.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages