ash*_*ava 7 kubernetes airflow airflow-scheduler
我正在尝试使用 kubernetes 执行器设置气流。我已经克隆了气流 1.10.6 并正在构建 docker 镜像,然后使用 kube 部署它。Pod 正在运行,服务气流也开始运行。网络服务器工作正常。但是当我检查调度程序的日志时,我收到以下错误。
ERROR - Error while health checking kube watcher process. Process died for unknown reasons
INFO - Event: and now my watch begins starting at resource_version: 0
ERROR - Unknown error in KubernetesJobWatcher. Failing
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/airflow/contrib/executors/kubernetes_executor.py", line 333, in run
self.worker_uuid, self.kube_config)
File "/usr/local/lib/python2.7/dist-packages/airflow/contrib/executors/kubernetes_executor.py", line 358, in _run
**kwargs):
File "/usr/local/lib/python2.7/dist-packages/kubernetes/watch/watch.py", line 144, in stream
for line in iter_resp_lines(resp):
File "/usr/local/lib/python2.7/dist-packages/kubernetes/watch/watch.py", line 48, in iter_resp_lines
for seg in resp.read_chunked(decode_content=False):
File "/usr/local/lib/python2.7/dist-packages/urllib3/response.py", line 781, in read_chunked
self._original_response.close()
File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "/usr/local/lib/python2.7/dist-packages/urllib3/response.py", line 439, in _error_catcher
raise ReadTimeoutError(self._pool, None, "Read timed out.")
ReadTimeoutError: HTTPSConnectionPool(host='10.0.0.1', port=443): Read timed out.
Run Code Online (Sandbox Code Playgroud)
任何帮助/指针表示赞赏。
| 归档时间: |
|
| 查看次数: |
1067 次 |
| 最近记录: |