GKEStartPodTrigger

Astronomer Providers

Fetch GKE cluster config and wait for pod to start up.

Access Instructions

Install the Astronomer Providers provider package into your Airflow environment.

Import the module into your DAG file and instantiate it with your desired params.

Parameters

locationRequiredThe name of the Google Kubernetes Engine zone or region in which the cluster resides
cluster_nameThe name of the Google Kubernetes Engine cluster the pod should be spawned in
use_internal_ipUse the internal IP address as the endpoint.
project_idThe Google Developers Console project id
gcp_conn_idThe google cloud connection id to use
impersonation_chainOptional service account to impersonate using short-term credentials
regionalThe location param is region name
namespaceRequiredThe cluster namespace
nameRequiredThe pod name
cluster_contextContext that points to kubernetes cluster
in_clusterrun kubernetes client with in_cluster configuration
pending_phase_timeoutmax time in seconds to wait for pod to leave pending phase

Documentation

Fetch GKE cluster config and wait for pod to start up.

Was this page helpful?