This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 18582ebbeb5 Update templated fields in KPO doc-string + wording
(#46970)
18582ebbeb5 is described below
commit 18582ebbeb53802f59971e3ed021dd1f863799ea
Author: Mikhail Dengin <[email protected]>
AuthorDate: Sat Feb 22 20:33:26 2025 +0100
Update templated fields in KPO doc-string + wording (#46970)
---
.../providers/cncf/kubernetes/operators/pod.py | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git
a/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/pod.py
b/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/pod.py
index d4e2e76a66a..01261dfc57c 100644
---
a/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/pod.py
+++
b/providers/cncf/kubernetes/src/airflow/providers/cncf/kubernetes/operators/pod.py
@@ -132,23 +132,23 @@ class KubernetesPodOperator(BaseOperator):
simplifies the authorization process.
:param kubernetes_conn_id: The :ref:`kubernetes connection id
<howto/connection:kubernetes>`
- for the Kubernetes cluster.
+ for the Kubernetes cluster. (templated)
:param namespace: the namespace to run within kubernetes.
- :param image: Docker image you wish to launch. Defaults to hub.docker.com,
+ :param image: Container image you wish to launch. Defaults to
hub.docker.com,
but fully qualified URLS will point to custom repositories. (templated)
:param name: name of the pod in which the task will run, will be used
(plus a random
suffix if random_name_suffix is True) to generate a pod id (DNS-1123
subdomain,
- containing only [a-z0-9.-]).
+ containing only [a-z0-9.-]). (templated)
:param random_name_suffix: if True, will generate a random suffix.
- :param cmds: entrypoint of the container. (templated)
- The docker images's entrypoint is used if this is not provided.
- :param arguments: arguments of the entrypoint. (templated)
- The docker image's CMD is used if this is not provided.
+ :param cmds: entrypoint of the container.
+ The container images's entrypoint is used if this is not provided.
(templated)
+ :param arguments: arguments of the entrypoint.
+ The container image's CMD is used if this is not provided. (templated)
:param ports: ports for the launched pod.
- :param volume_mounts: volumeMounts for the launched pod.
- :param volumes: volumes for the launched pod. Includes ConfigMaps and
PersistentVolumes.
+ :param volume_mounts: volumeMounts for the launched pod. (templated)
+ :param volumes: volumes for the launched pod. Includes ConfigMaps and
PersistentVolumes. (templated)
:param env_vars: Environment variables initialized in the container.
(templated)
- :param env_from: (Optional) List of sources to populate environment
variables in the container.
+ :param env_from: (Optional) List of sources to populate environment
variables in the container. (templated)
:param secrets: Kubernetes secrets to inject in the container.
They can be exposed as environment vars or files in a volume.
:param in_cluster: run kubernetes client with in_cluster configuration.
@@ -187,7 +187,7 @@ class KubernetesPodOperator(BaseOperator):
:param container_security_context: security options the container should
run with.
:param dnspolicy: dnspolicy for the pod.
:param dns_config: dns configuration (ip addresses, searches, options) for
the pod.
- :param hostname: hostname for the pod.
+ :param hostname: hostname for the pod. (templated)
:param subdomain: subdomain for the pod.
:param schedulername: Specify a schedulername for the pod
:param full_pod_spec: The complete podSpec