使用Kubesphere 安装kubernetes集群
设置环境变量
[root@master01 ~]# export KKZONE=cn
下载kubeKey
[root@master01 ~]# curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
kk赋权
[root@master01 ~]# chmod +x kk
生成config
[root@master01 ~]# ./kk create config --with-kubernetes v1.21.5
安装kubernetes
[root@master01 ~]# ./kk create cluster -f config-sample.yaml
+----------+------+------+---------+----------+-------+-------+-----------+----------+------------+-------------+------------------+--------------+
| name | sudo | curl | openssl | ebtables | socat | ipset | conntrack | docker | nfs client | ceph client | glusterfs client | time |
+----------+------+------+---------+----------+-------+-------+-----------+----------+------------+-------------+------------------+
文章来源: blog.csdn.net,作者:隔壁老瓦,版权归原作者所有,如需转载,请联系作者。
原文链接:blog.csdn.net/wxb880114/article/details/123303525
- 点赞
- 收藏
- 关注作者
评论(0)