栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 系统运维 > 运维 > Linux

Linux单机安装kubesphere笔记

Linux 更新时间: 发布时间: IT归档 最新发布 模块sitemap 名妆网 法律咨询 聚返吧 英语巴士网 伯小乐 网商动力

Linux单机安装kubesphere笔记

# 设置环境变量       
export KKZONE=cn
# 下载命令行工具 kk 以及安装包
# 下载后的 kk 如果无法执行的话,需要添加可执行权限 chmod +x kk
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -   
# 安装集群
# 集群安装时间有一点点长,耐心等待。此次安装会将docker、k8s一并安装
./kk create cluster --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
# 如果提示缺少conntrack,安装conntrack后在重新安装kubesphere
[root@kubesphere ~]# ./kk create cluster --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
+------------+------+------+---------+----------+-------+-------+-----------+--------+------------+-------------+------------------+--------------+
| name       | sudo | curl | openssl | ebtables | socat | ipset | conntrack | docker | nfs client | ceph client | glusterfs client | time         |
+------------+------+------+---------+----------+-------+-------+-----------+--------+------------+-------------+------------------+--------------+
| kubesphere | y    | y    | y       | y        |       | y     |           |        |            |             |                  | CST 14:24:47 |
+------------+------+------+---------+----------+-------+-------+-----------+--------+------------+-------------+------------------+--------------+
kubesphere: conntrack is required. 

yum install -y conntrack

安装完成

#####################################################
###              Welcome to KubeSphere!           ###
#####################################################

Console: http://192.168.8.150:30880
Account: admin
Password: P@88w0rd

NOTES:
  1. After you log into the console, please check the
     monitoring status of service components in
     "Cluster Management". If any service is not
     ready, please wait patiently until all components 
     are up and running.
  2. Please change the default password after login.

#####################################################
https://kubesphere.io             2022-02-06 14:40:48
#####################################################
INFO[14:41:01 CST] Installation is complete.

Please check the result using the command:

       kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f

云原生Java架构师的第一课K8s+Docker+KubeSphere+DevOps 学习笔记

官方文档

多节点安装

转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/729474.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号