我正在GCP上安装气流2.4.3。豆荚气流花不断重启
下面是日志的快照:-
[notice] A new release of pip available: 22.1.2 -> 22.3.1
[notice] To update, run: python -m pip install --upgrade pip
/home/airflow/.local/lib/python3.7/site-packages/airflow/configuration.py:1379: DeprecationWarning: Specifying both AIRFLOW_HOME environment variable and airflow_home in the config file is deprecated. Please use only the AIRFLOW_HOME environment variable and remove the config file entry.
warnings.warn(msg, category=DeprecationWarning)
/home/airflow/.local/lib/python3.7/site-packages/airflow/configuration.py:545: DeprecationWarning: The sql_alchemy_conn option in [core] has been moved to the sql_alchemy_conn option in [database] - the old setting has been used, but please update your config.
option = self._get_environment_variables(deprecated_key, deprecated_section, key, section)
/home/airflow/.local/lib/python3.7/site-packages/airflow/configuration.py:545: DeprecationWarning: The logging_level option in [core] has been moved to the logging_level option in [logging] - the old setting has been used, but please update your config.
option = self._get_environment_variables(deprecated_key, deprecated_section, key, section)
/home/airflow/.local/lib/python3.7/site-packages/airflow/configuration.py:545 DeprecationWarning: The base_log_folder option in [core] has been moved to the base_log_folder option in [logging] - the old setting has been used, but please update your config.
/home/airflow/.local/lib/python3.7/site-packages/airflow/configuration.py:545 DeprecationWarning: The dag_processor_manager_log_location option in [core] has been moved to the dag_processor_manager_log_location option in [logging] - the old setting has been used, but please update your config.
[2022-12-22 05:25:33,452] {{settings.py:266}} DEBUG - Setting up DB connection pool (PID 1)
/home/airflow/.local/lib/python3.7/site-packages/airflow/configuration.py:545 DeprecationWarning: The sql_alchemy_pool_size option in [core] has been moved to the sql_alchemy_pool_size option in [database] - the old setting has been used, but please update your config.
[2022-12-22 05:25:33,454] {{settings.py:377}} DEBUG - settings.prepare_engine_args(): Using pool settings. pool_size=1000, max_overflow=10, pool_recycle=1800, pid=1
[2022-12-22 05:25:34,457] {{cli_action_loggers.py:39}} DEBUG - Adding <function default_action_log at 0x7f8dd5a2d9e0> to pre execution callback
虽然我已经将sql_alchemy_pool_size移动到[database]和base_log_folder移动到[logging],我仍然在气流花日志中得到这些警告。
请帮我找到这个pod重新启动的根本原因,以及我如何防止它。
如果需要更多的日志/信息(配置),请告诉我。
这是由于资源少,在将CPU设置为500m和内存设置为512m后,pod运行良好。