You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "victor-perchwell (via GitHub)" <gi...@apache.org> on 2023/02/07 19:59:16 UTC

[GitHub] [airflow] victor-perchwell commented on issue #29365: Airflow Workers Trying to Create Pods in Default Namespace

victor-perchwell commented on issue #29365:
URL: https://github.com/apache/airflow/issues/29365#issuecomment-1421364042

   > what do you get on running this? use your scheduler pod name
   > 
   > ` kubectl exec -c scheduler [scheduler_pod_name] -- /bin/bash -c "airflow config get-value kubernetes namespace"`
   
   Here is the response with and without specifying the airflow namespace:
   ```
   ~ ❯ kubectl exec -c scheduler airflow-scheduler-bb55bf4cc-95lm2 --namespace airflow -- /bin/bash -c "airflow config get-value  kubernetes  namespace"
   airflow
   ~ ❯ kubectl exec -c scheduler airflow-scheduler-bb55bf4cc-95lm2 -- /bin/bash -c "airflow config get-value  kubernetes  namespace"                                14:58:20
   Error from server (NotFound): pods "airflow-scheduler-bb55bf4cc-95lm2" not found
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org