jina.peapods.pods.k8slib.kubernetes_client module

class jina.peapods.pods.k8slib.kubernetes_client.K8sClients[source]

Bases: object

The Kubernetes api is wrapped into a class to have a lazy reading of the cluster configuration.

property k8s_client

Client for making requests to Kubernetes

Returns

k8s client

property core_v1

V1 client for core

Returns

v1 client

property apps_v1

V1 client for core

Returns

v1 client

property beta

Beta client for using beta features

Returns

beta client

property networking_v1_beta1_api

Networking client used for creating the ingress

Returns

networking client