jina.orchestrate.deployments.config.k8s module#

class jina.orchestrate.deployments.config.k8s.K8sDeploymentConfig(args, k8s_namespace=None, k8s_deployments_addresses=None, k8s_deployments_metadata=None)[source]#

Bases: object

Class that implements the output of configuration files for Kubernetes for a given Deployment.

to_kubernetes_yaml()[source]#
Return a list of dictionary configurations. One for each deployment in this Deployment
Return type:

List[Tuple[str, List[Dict]]]

to_k8s_yaml()#
Return a list of dictionary configurations. One for each deployment in this Deployment
Return type:

List[Tuple[str, List[Dict]]]