发布一个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

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐