![]() ![]() Startup_timeout_seconds – timeout in seconds to startup the pod. Reattach_on_restart ( bool) – if the scheduler dies while the pod is running, reattach and monitor In_cluster ( bool) – run kubernetes client with in_cluster configuration.Ĭluster_context ( str) – context that points to kubernetes cluster. They can be exposed as environment vars or files in a volume. Secrets ( list ) – Kubernetes secrets to inject in the container. Generate a pod id (DNS-1123 subdomain, containing only ).Įnv_vars ( dict) – Environment variables initialized in the container. Name – name of the pod in which the task will run, will be used to Startup_timeout_seconds ( int) – timeout in seconds to startup the pod. Labels ( dict) – labels to apply to the Pod. ![]() Includes ConfigMaps and PersistentVolumes. Volumes ( list ) – volumes for launched pod. Volume_mounts ( list ) – volumeMounts for launched pod. If more than one secret is required, provide a Image_pull_secrets ( str) – Any image pull secrets to be given to the pod. Image_pull_policy ( str) – Specify a policy to cache or always pull an image. The docker image’s CMD is used if this is not provided. The docker images’s entrypoint is used if this is not provided.Īrguments ( list ) – arguments of the entrypoint. Suffix) to generate a pod id (DNS-1123 subdomain, containing only ).Ĭmds ( list ) – entrypoint of the container. Name ( str) – name of the pod in which the task will run, will be used (plus a random Defaults to ,īut fully qualified URLS will point to custom repositories. ![]() Image ( str) – Docker image you wish to launch. KubernetesPodOperator ( namespace = None, image = None, name = None, cmds = None, arguments = None, ports = None, volume_mounts = None, volumes = None, env_vars = None, secrets = None, in_cluster = None, cluster_context = None, labels = None, reattach_on_restart = True, startup_timeout_seconds = 120, get_logs = True, image_pull_policy = 'IfNotPresent', annotations = None, resources = None, affinity = None, config_file = None, node_selectors = None, image_pull_secrets = None, service_account_name = 'default', is_delete_operator_pod = False, hostnetwork = False, tolerations = None, configmaps = None, security_context = None, pod_runtime_info_envs = None, dnspolicy = None, schedulername = None, full_pod_spec = None, init_containers = None, log_events_on_failure = False, do_xcom_push = False, pod_template_file = None, priority_class_name = None, * args, ** kwargs ) ¶ ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |