使用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         |
+----------+------+------+---------+----------+-------+-------+-----------+----------+------------+-------------+------------------+

你可能感兴趣的:(k8s探险记,p2p,linux,网络协议)