我正在尝试通过Helm图表apache-airflow/airflow:1.5.0
将Airflow部署到Kubernetes群集。airflow-flower-*
pod中出现错误:
Readiness probe errored: rpc error: code = Unknown desc = failed to exec in container: failed to start exec "23ece1d0a3bf7e9dc06f8e70cfb0e1d69687e2cbea952f18da7b4e80a2211995": OCI runtime exec failed: exec failed: unable to start container process: error executing setns process: exit status 1: unknown
Readiness probe failed: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 5555: Connection refused
Liveness probe failed: % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (7) Failed to connect to localhost port 5555: Connection refused
探测器是curl localhost:5555
。我的override-values.yaml
看起来像:
extraSecrets:
airflow-postgresql-metadata:
data: "$AIRFLOW_POSTGRESQL_METADATA"
airflow-postgresql-result-backend:
data: "$AIRFLOW_POSTGRESQL_RESULT_BACKEND"
data:
metadataSecretName: airflow-postgresql-metadata
resultBackendSecretName: airflow-postgresql-result-backend
workers:
persistence:
enabled: false
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
serviceAccount:
create: false
name: srs-khajiit-airflow-sa
scheduler:
serviceAccount:
create: false
name: srs-khajiit-airflow-sa
webserver:
serviceAccount:
create: false
name: srs-khajiit-airflow-sa
flower:
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
serviceAccount:
create: false
name: srs-khajiit-airflow-sa
statsd:
resources:
limits:
cpu: 100m
memory: 128Mi
requests:
cpu: 100m
memory: 128Mi
serviceAccount:
create: false
name: srs-khajiit-airflow-sa
cleanup:
serviceAccount:
create: false
name: srs-khajiit-airflow-sa
createUserJob:
serviceAccount:
create: false
name: srs-khajiit-airflow-sa
migrateDatabaseJob:
serviceAccount:
create: false
name: srs-khajiit-airflow-sa
triggerer:
enabled: false
serviceAccount:
create: false
name: srs-khajiit-airflow-sa
rbac:
create: false
redis:
persistence:
storageClassName: "ceph-rbd-ssd"
serviceAccount:
create: false
name: srs-khajiit-airflow-sa
postgresql:
enabled: false
也就是说,我几乎什么都没做,我只是设置了资源限制并禁用了服务帐户的创建。
此外,我还对部署AirFlow的values.yaml
文件的最小版本感兴趣
1条答案
按热度按时间bjp0bcyl1#
这不是问题的答案,而是解决问题
我关闭了花,但我不断从另一个豆荚得到同样的错误。根据豆荚的日志我发现根本没有发生任何事情。我以为是缺乏资源-事实证明
这个values.yaml为我工作: