• 安装部署
  • arm架构的麒麟v10服务器版本系统如何安装kubesphere

创建部署问题时,请参考下面模板,你提供的信息越多,越容易及时获得解答。
你只花一分钟创建的问题,不能指望别人花上半个小时给你解答。
发帖前请点击 发表主题 右边的 预览(👀) 按钮,确保帖子格式正确。

操作系统信息:物理机,Kylin Linux Advanced Server v10 64c/128G

如何安装kubeSphere 3.1的版本单节点

6 天 后

arm架构的可以尝试使用 ClusterConfig 指定节点架构

  1. 创建kk配置文件

    kk create config

  2. 修改节点信息/节点架构

    cat config-sample.yaml

    apiVersion: kubekey.kubesphere.io/v1alpha2

    kind: Cluster

    metadata:

    name: sample

    spec:

    hosts:

    - {name: node1, address: 172.16.0.2, internalAddress: 172.16.0.2, user: ubuntu, password: "Qcloud@123"}

    - {name: node2, address: 172.16.0.3, internalAddress: 172.16.0.3, user: ubuntu, password: "Qcloud@123"}

    roleGroups:

    etcd:

    - node1

    control-plane:

    - node1

    worker:

    - node1

    - node2

    controlPlaneEndpoint:

    ## Internal loadbalancer for apiservers

    # internalLoadbalancer: haproxy

    domain: lb.kubesphere.local

    address: ""

    port: 6443

    kubernetes:

    version: v1.23.10

    clusterName: cluster.local

    autoRenewCerts: true

    containerManager: docker

    etcd:

    type: kubekey

    network:

    plugin: calico

    kubePodsCIDR: 10.233.64.0/18

    kubeServiceCIDR: 10.233.0.0/18

    ## multus support. https://github.com/k8snetworkplumbingwg/multus-cni

    multusCNI:

    enabled: false

    registry:

    privateRegistry: ""

    namespaceOverride: ""

    registryMirrors: []

    insecureRegistries: []

    addons: []

    注意节点架构配置
    For example, {…user: ubuntu, password: Qcloud@123, arch: arm64}.

  3. kk create cluster -f config-sample.yaml –with-kubesphere <版本号>
    参考截图:

    参考链接:https://github.com/kubesphere/kubekey/blob/master/docs/config-example.md