I have followed the steps from here and successfully launched Pods in Minikube.
Now I'm trying to launch Pods in Enterprise Kubernetes Cluster.
For that how to wrap api_key
along with the KubernetesPodOperator arguments. I looked into the KubernetesPodOperator code and didn't find any arguments for api_key
.
Could somebody help me out here with an example?
Is the api_key
in a Kubernetes config file or the cluster context? You can specify a config file or cluster context. The stuff in the Airflow config is mostly about the Kubernetes Executor and not the Operator.