dimberman commented on a change in pull request #10393:
URL: https://github.com/apache/airflow/pull/10393#discussion_r478076339
##########
File path: airflow/example_dags/example_kubernetes_executor_config.py
##########
@@ -52,60 +53,67 @@ def test_volume_mount():
start_task = PythonOperator(
task_id="start_task",
python_callable=print_stuff,
- executor_config={
- "KubernetesExecutor": {
Review comment:
```
File
"/home/airflow/.local/lib/python3.7/site-packages/airflow/utils/json.py", line
54, in _default
raise TypeError(f"Object of type '{obj.__class__.__name__}' is not JSON
serializable")
TypeError: Object of type 'V1Pod' is not JSON serializable
```
Yeah so if I try to make the pod a field I end up getting this error when I
try to render on the page. Not sure what the best way forward is there. Maybe
add a field? I don't think we need to change the DB as the executor_config
isn't stored in the DB anyways.
----------------------------------------------------------------
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]