This is non-typed kubernetes client, for typed client see skuber.api.client.impl.KubernetesClientImpl This class provides a dynamic client for the Kubernetes API server. It is intended to be used for accessing resources / classes that are not part of the skuber library.
It uses the Pekko HTTP client to handle the requests to the Kubernetes API server.
- Companion:
- object
Value members
Concrete methods
Create a kubernetes resource
Create a kubernetes resource
- Value parameters:
- namespace
is the namespace of the resource
- rawInput
is the raw json input of the object to create
- resourcePlural
is the plural name of the resource type: e.g: "pods", "deployments"
Delete a resource from the Kubernetes API server
Delete a resource from the Kubernetes API server
- Value parameters:
- apiVersion
is the api version of the resource type to retrieve, e.g: "apps/v1"
- name
resource name
- namespace
is the namespace of the resource
- resourcePlural
is the plural name of the resource type to retrieve: e.g: "pods", "deployments"
Delete a resource from the Kubernetes API server
Delete a resource from the Kubernetes API server
- Value parameters:
- apiVersion
is the api version of the resource type to retrieve, e.g: "apps/v1"
- name
resource name
- namespace
is the namespace of the resource
- options
delete options see DeleteOptions
- resourcePlural
is the plural name of the resource type to retrieve: e.g: "pods", "deployments"
Get a resource from the Kubernetes API server
Get a resource from the Kubernetes API server
- Value parameters:
- apiVersion
is the api version of the resource type to retrieve, e.g: "apps/v1"
- name
is the name of the resource to retrieve
- namespace
is the namespace of the resource to retrieve
- resourcePlural
is the plural name of the resource type to retrieve: e.g: "pods", "deployments"
Get a resource from the Kubernetes API server
Get a resource from the Kubernetes API server
- Value parameters:
- apiVersion
is the api version of the resource type to retrieve, e.g: "apps/v1"
- name
is the name of the resource to retrieve
- namespace
is the namespace of the resource to retrieve
- resourcePlural
is the plural name of the resource type to retrieve: e.g: "pods", "deployments"
List objects of specific resource kind in current namespace
List objects of specific resource kind in current namespace
- Value parameters:
- apiVersion
is the api version of the resource type to retrieve, e.g: "apps/v1"
- namespace
is the namespace of the resource
- options
see ListOptions
- resourcePlural
is the plural name of the resource type to retrieve: e.g: "pods", "deployments"
Update a resource from the Kubernetes API server
Update a resource from the Kubernetes API server
- Value parameters:
- namespace
is the namespace of the resource
- rawInput
is the raw json input of the object to create
- resourcePlural
is the plural name of the resource type: e.g: "pods", "deployments"