2.0.0b35
PodTemplate
Package: flyte
Custom PodTemplate specification for a Task.
class PodTemplate(
pod_spec: typing.Optional[ForwardRef('V1PodSpec')],
primary_container_name: str,
labels: typing.Optional[typing.Dict[str, str]],
annotations: typing.Optional[typing.Dict[str, str]],
)| Parameter | Type | Description |
|---|---|---|
pod_spec |
typing.Optional[ForwardRef('V1PodSpec')] |
|
primary_container_name |
str |
|
labels |
typing.Optional[typing.Dict[str, str]] |
|
annotations |
typing.Optional[typing.Dict[str, str]] |
Methods
| Method | Description |
|---|---|
to_k8s_pod() |
to_k8s_pod()
def to_k8s_pod()