GKEStartPodOperator
GoogleExecutes a task in a Kubernetes pod in the specified Google Kubernetes Engine cluster
Access Instructions
Install the Google provider package into your Airflow environment.
Import the module into your DAG file and instantiate it with your desired params.
Parameters
Documentation
Executes a task in a Kubernetes pod in the specified Google Kubernetes Engine cluster
This Operator assumes that the system has gcloud installed and has configured a connection id with a service account.
The minimum required to define a cluster to create are the variables task_id
, project_id
, location
, cluster_name
, name
, namespace
, and image
See also
For more detail about Kubernetes Engine authentication have a look at the reference: https://cloud.google.com/kubernetes-engine/docs/how-to/cluster-access-for-kubectl#internal_ip
See also
For more information on how to use this operator, take a look at the guide: Run a Pod on a GKE cluster