Prajakta-Palve opened a new issue #16113:
URL: https://github.com/apache/airflow/issues/16113


   I have deployed airflow on kubernetes where as webserver, scheduler, 
postgres and redis are on kubernetes but airflow-worker is on different server. 
Other tasks executes properly but if I am trying to access airflow-variables 
then it throws an error showing 
   **Variable Variable_Name does not exist**
   
   But if I list airflow-variables via CLI  then it lists them
   ![Screenshot from 2021-05-27 
17-13-04](https://user-images.githubusercontent.com/52483395/119820793-7d262a80-bf0f-11eb-8951-c4f6b8df4be9.png)
   
   A line of code that I am using to access variable is
   `variable_name = Variable.get("Variable_Name",deserialize_json=True)`
   
   How do I access airflow variables in worker?


-- 
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.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to