tfx.orchestration.config.kubernetes_component_config.KubernetesComponentConfig

View source on GitHub

Component config which holds Kubernetes Pod execution args.

Inherits From: BaseComponentConfig

pod the spec for a Pod. It can either be an instance of client.V1Pod or a dict of a Pod spec. The spec details are: https://github.com/kubernetes-client/python/blob/master/kubernetes/docs/V1Pod.md

Methods

from_json_dict

View source

Convert from dictionary data to an object.

to_json_dict

View source

Convert from an object to a JSON serializable dictionary.