Laravel
Just a simple port of renoki-co/php-k8s for easier access in Laravel.
Last updated
Just a simple port of renoki-co/php-k8s for easier access in Laravel.
Last updated
You can install the package via composer:
Publish the config:
The cluster configuration can be found in the config/k8s.php
file. You can get started directly with the /.kube/config
file you already have.
For further documentation, check renoki-co/php-k8s.
The package supports multiple connections configurations. If you wish to select a specific one (not the default one), call connection
before getting the cluster.
You can also call getCluster()
to get the instance of \RenokiCo\PhpK8s\KubernetesCluster
: