Download the PHP package dasann/kubernetes-client without Composer
On this page you can find all versions of the php package dasann/kubernetes-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dasann/kubernetes-client
More information about dasann/kubernetes-client
Files in dasann/kubernetes-client
Package kubernetes-client
Short Description A simple yet elegant client for accessing and controlling a Kubernetes cluster.
License MIT
Informations about the package kubernetes-client
Kubernetes Client
A PHP client for managing a Kubernetes cluster.
Last tested with v1.9.6 on a production cloud hosted cluster.
Installation using Composer
Supported API Features
v1
- Nodes
- Namespaces
- Pods
- Replica Sets
- Replication Controllers
- Services
- Secrets
- Events
- Config Maps
- Endpoints
- Persistent Volume
- Persistent Volume Claims
batch/v1
- Jobs
batch/v1beta1
- Cron Jobs
apps/v1
- Deployments
extensions/v1beta1
- Daemon Sets
networking.k8s.io/v1
- Network Policies
networking.k8s.io/v1beta1
- Ingresses
certmanager.k8s.io/v1alpha1
- Certificates
- Issuers
Basic Usage
Using JSONPath
It allows you to query status data.
Authentication Examples
Insecure HTTP
Secure HTTPS (CA + Client Certificate Validation)
Insecure HTTPS (CA Certificate Verification Disabled)
Using Basic Auth
Using a Service Account
Parsing a kubeconfig file
Extending a library
Custom repositories
Usage Examples
Create/Update a Replication Controller
The below example uses an array to specify the replication controller's attributes. You can specify the attributes either as an array, JSON encoded string or a YAML encoded string. The second parameter to the model constructor is the data type and defaults to array.
Delete a Replication Controller
You can also specify options when performing a deletion, eg. to perform cascading delete
See the API documentation for an explanation of the options:
https://kubernetes.io/docs/api-reference/v1.6/#deleteoptions-v1-meta
All versions of kubernetes-client with dependencies
php-http/client-common Version ^2.0
php-http/discovery Version ^1.0
illuminate/support Version ^5.0|^6.0|^7.0|^8.0|^9.0|^10.0
ratchet/pawl Version ^0.3
symfony/yaml Version ^4.0|^5.0|^6.0
softcreatr/jsonpath Version ^0.5 || ^0.7 || ^0.8