记一次kubernetes测试环境搭建(heapster,helm,nginx-ingress-controller,glusterfs heketi,ceph,harbor,registry,my)

发布一个k8s部署视频:https://edu.csdn.net/course/detail/26967

课程内容:各种k8s部署方式。包括minikube部署,kubeadm部署,kubeasz部署,rancher部署,k3s部署。包括开发测试环境部署k8s,和生产环境部署k8s。

第三个视频发布:https://edu.csdn.net/course/detail/27574

详细介绍helm命令,学习helm chart语法,编写helm chart。深入分析各项目源码,学习编写helm插件

————————————————

第一步:安装kubernetes集群

https://blog.csdn.net/hxpjava1/article/details/86831125

参考:https://blog.csdn.net/hxpjava1/article/details/79309825

https://blog.csdn.net/hxpjava1/article/details/79752256

https://blog.csdn.net/hxpjava1/article/details/79465983

https://blog.csdn.net/john_f_lau/article/details/78249980

https://blog.csdn.net/hxpjava1/article/details/80508251

安装内容k8s集群,dashboard

第二步安装heapster

https://blog.csdn.net/hxpjava1/article/details/79465983

https://github.com/kubernetes/heapster/releases

第三步安装helm

https://blog.csdn.net/hxpjava1/article/details/79664983

https://github.com/kubernetes/helm/releases

第四步安装nginx-ingress-controller

https://github.com/kubernetes/ingress-nginx

https://github.com/kubernetes/charts/tree/master/stable/nginx-ingress

keepalived

https://blog.csdn.net/hxpjava1/article/details/79789400

不用nginx ingress controller可以试试traefik

第五步安装glusterfs heketi

heketi/heketi:5使用这个镜像,不然可能报错

先下载好镜像,不然会重复多次

https://github.com/gluster/gluster-kubernetes

https://github.com/gluster/gluster-kubernetes/blob/master/docs/setup-guide.md

自动加载内核模块

https://blog.csdn.net/hxpjava1/article/details/79703609

 

如果glusterfs装不上可以改用ceph

安装rook

https://blog.csdn.net/hxpjava1/article/details/80175238

https://github.com/rook/rook/tree/master/cluster/examples/kubernetes

第六步安装harbor

https://github.com/vasartori/harbor-kubernetes

registry也可以用docker官方的registry

https://blog.csdn.net/hxpjava1/article/details/80180033

harbor装不了可以安装官方registry

https://blog.csdn.net/hxpjava1/article/details/78278715

https://blog.csdn.net/hxpjava1/article/details/73744337

https://blog.csdn.net/hxpjava1/article/details/80505485

从私有仓库获取镜像

https://blog.csdn.net/hxpjava1/article/details/80318438

第七步安装mysql集群

https://github.com/13567436138/kubernetes-yamls/tree/master/mysql-cluster/pxc/percona-xtradb-cluster

https://blog.csdn.net/hxpjava1/article/details/80522201

第七。1安装postgresql

 

第八部安装zookeeper集群

https://github.com/kubernetes/charts/tree/master/incubator/zookeeper

 

helm repo add incubator https://kubernetes-charts-incubator.storage.googleapis.com/

helm search zookeeper 

helm install --name zookeeper-cluster .

第九步安装redis集群

https://github.com/kubernetes/charts/tree/master/stable/redis-ha

第10部安装微服务

https://github.com/13567436138/kubernetes-yamls/tree/master/youben/dev/app_withlog

第11步安装自定义dns

https://blog.csdn.net/hxpjava1/article/details/80310521

第12步安装elasticsearch集群

https://github.com/kubernetes/charts/tree/master/incubator/elasticsearch

第13步编写安装升级测试脚本

第14步安装fabric8

15安装elk

https://github.com/13567436138/kubernetes-yamls/tree/master/elk/official

https://blog.csdn.net/hxpjava1/article/details/80362585

https://blog.csdn.net/hxpjava1/article/details/80362621

16安装prometheus

helm search prometheus

helm fetch stable/prometheus

helm install --name prometheus --namespace monitor .

https://github.com/13567436138/kubernetes-yamls/tree/master/prometheus/helm

https://blog.csdn.net/hxpjava1/article/details/80450138

https://blog.csdn.net/hxpjava1/article/details/80450394

https://blog.csdn.net/hxpjava1/article/details/80419365

  • 0
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

hxpjava1

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值