TimeBye / kubeadm-ha

kubeadm-ha 使用 kubeadm 进行高可用 kubernetes 集群搭建,利用 ansible-playbook 实现自动化安装,既提供一键安装脚本,也可以根据 playbook 分步执行安装各个组件。
Other
607 stars 298 forks source link

kylin v10 x86 安装k8s 1.22 报错 #131

Closed chinaboy007 closed 1 year ago

chinaboy007 commented 1 year ago

缺陷描述

kylin v10 x86 安装k8s 1.22 报错

TASK [prepare/base : 添加 epel 仓库] *** fatal: [192.168.227.130]: FAILED! => {"msg": "An unhandled exception occurred while templating '{%- if ansible_distribution_major_version is version('8', '<') -%} http://mirrors.aliyun.com/epel/$releasever/$basearch {%- else -%} https://mirrors.aliyun.com/epel/$releasever/Everything/$basearch {%- endif -%}'. Error was a <class 'ansible.errors.AnsibleFilterError'>, original message: Version comparison: '<' not supported between instances of 'str' and 'int'"}

chinaboy007 commented 1 year ago

补充一下,在线安装正常,离线安装不行,很多依赖包没有打包进去

TimeBye commented 1 year ago

kylin v10 离线已添加,可以帮忙测试一下吗?