![]() |
Component config which holds Kubernetes Pod execution args.
Inherits From: BaseComponentConfig
tfx.orchestration.config.kubernetes_component_config.KubernetesComponentConfig(
pod: Union[client.V1Pod, Dict[Text, Any]]
)
Attributes | |
---|---|
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
@classmethod
from_json_dict( dict_data: Dict[Text, Any] ) -> Any
Convert from dictionary data to an object.
to_json_dict
to_json_dict() -> Dict[Text, Any]
Convert from an object to a JSON serializable dictionary.