Skip to content

Kubekey 增加Rocky9.7及Rocky10.1 部署 #2881

@CYS158

Description

@CYS158

Your current KubeKey version

kubekey 4.0.2

Describe this feature

Image

目前4.0.2未增加rocky部署,目前自编译已经成功部署k8s 1.34.2

【核心步骤:否则即使步骤成功重启也会因为swap没有关闭导致k8s无法正常启动】Rocky系统部署前需要执行关闭swap:sudo systemctl --now mask swap.target

通过修改./kubekey/builtin/core/roles/defaults/defaults/main/01-cluster_require.yaml
新增rocky部署
supported_os_distributions:
- ubuntu
- '"ubuntu"'
- centos
- '"centos"'
- kylin
- '"kylin"'
- rocky
- '"rocky"'

Describe the solution you'd like

需要新增rocky部署功能

Additional information

自编译的kubekey 新增1.34.x、跳过版本检测、新增rocky支持,附件无法上传分享,算了关键是新增rocky

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions