Kubesphere实践

在 Linux 上以 All-in-One 模式安装 KubeSphere


如果可以ping get-kk.kubesphere.io  能ping通的话,就慢慢等着下载完成

curl -sfL https://get-kk.kubesphere.io | VERSION=v1.0.1 sh -


用一个物理机搭建K8S集群

https://blog.csdn.net/yakerang/article/details/102316104

要先安装virtualbox,下载redhat7.5镜像?或者ubuntu镜像,一个虚拟机一个slave



使用kubeadm工具快速安装kubernetes集群

https://blog.csdn.net/weixin_42143049/article/details/106993574

========================================================================

裸机开始玩:

考虑到不影响主机环境以及kubesphere & kubeflow 两套玩具, 先安装虚拟机

1. kubesphere 用redhat 7.5 镜像或者ubuntu,k8s版本要1.8。这个主要是为了工作,需要了解下框架原理


2. kubeflow没限制,用microK8S就行,主要是为了kubeflow建模体验一下。

kubeflow:https://zhuanlan.zhihu.com/p/85375349

================================================

20210222

install VMware workstation:

https://itsfoss.com/install-vmware-player-ubuntu-1310/

install rehat7.5

https://blog.csdn.net/Very666/article/details/89466763

bug:

https://www.gigabyte.com/us/Support/FAQ/3001

=========================================================================

20210223

master-fiona

在redhat7.5 上面yum源出问题,需要建立本地yum源:https://www.cnblogs.com/linuxandy/p/11334586.html

或者用离线的方式

======================================================================

20210305

worker1 : fiona welcome1!

master: 172.16.138.128

worker1: 172.16.138.129

worker2: 172.16.138.130

==============================================================================================

20210317

因为disk > 100G (自己官网文章看错了...),重新生成三个节点

kube/123456

离线安装文档:https://kubesphere.com.cn/forum/d/2034-kubekey-kubesphere-v300

需要关闭所有节点的防火墙:

systemctl stop firewalld && systemctl disable firewalld

如果提示安装完毕,但是pods还有失败的,那么就重复小kk安装,多试用几次

http://172.16.138.133:30880/login

admin/P@88w0rd

主要按照教学视频即可

==============================================================

2)同一域名下,不同的URL路径转发到不同的服务上

对于Jupyter的访问: 10.200.51.220:8000/user/gzpt 转发到gzpt对应的服务上,即gzpt-jupyter对应的IP

后来志佳说不行,没有跳转的功能


====================================================

应用商店部署Helm服务

https://kubesphere.com.cn/docs/workspace-administration/upload-helm-based-application/


看到好链接:https://tanzu.vmware.com/developer/blog/data-science-with-python-jupyterhub-on-kubernetes-part-1/

你可能感兴趣的:(Kubesphere实践)