Open szbjb opened 5 years ago
一直是Pending
根据你给出pod的描述,得出的错误如下
Warning FailedScheduling 56s (x7 over 9m45s) default-scheduler 0/6 nodes are available: 6 node(s) didn't match node selector.
即没到找到相应标签的kubernetes节点,无法生成pod
目前有两种方法可以解决你的问题
注释values.yaml文件中的affinity的整个配置信息(由于我提交的时候忘记注释
)
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: "application/clickhouse"
operator: In
values:
- "true"
给你的kubernetes集群的每个节点添加标签
kubectl label node <node_name> application/clickhouse=true
好的 感谢 ,我再试试
------------------ 原始邮件 ------------------ 发件人: "liwenhe1993"<notifications@github.com>; 发送时间: 2019年10月8日(星期二) 下午2:54 收件人: "liwenhe1993/charts"<charts@noreply.github.com>; 抄送: "东方寻磊"<846492120@qq.com>; "Author"<author@noreply.github.com>; 主题: Re: [liwenhe1993/charts] Warning FailedScheduling 56s (x7 over 9m45s) default-scheduler 0/6 nodes are available: 6 node(s) didn't match node selector. (#1)
根据你给出pod的描述,得出的错误如下
Warning FailedScheduling 56s (x7 over 9m45s) default-scheduler 0/6 nodes are available: 6 node(s) didn't match node selector.
即没到找到相应标签的kubernetes节点,无法生成pod
目前有两种方法可以解决你的问题
注释values.yaml文件中的affinity的整个配置信息(由于我提交的时候忘记注释) affinity: nodeAffinity: requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: "application/clickhouse" operator: In values: - "true"
给你的kubernetes集群的每个节点添加标签
kubectl label node <node_name> application/clickhouse=true
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.