Remember to build a kubernetes test environment

Step 1: Install the kubernetes cluster

Reference: https://blog.csdn.net/hxpjava1/article/details/79309825

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

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

Installation content k8s cluster, dashboard, elk

The second step is to install heapster, promethous

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

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

The third step is to install helm

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

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

The fourth step is to install nginx-ingress-controller

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

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

Step 5 Install glusterfs heketi

heketi/heketi:5 use this image, otherwise an error may be reported

Download the image first, otherwise it will be repeated many times

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

If glusterfs cannot be installed, you can use ceph instead

install rook

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

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

Step 6 Install harbor

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

The registry can also use the docker official registry

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

Step 7 Install mysql cluster

The eighth install zookeeper cluster

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 .

Step 9 Install redis cluster

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

Part 10 Installing Microservices

Step 11 Install elasticsearch cluster

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

Step 12 Write an installation upgrade test script

Step 13 Install fabric8


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325497442&siteId=291194637
Recommended