Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Helm how to install mysql tutorial

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly introduces how to install the mysql tutorial in helm, which involves things, learned from the theoretical knowledge, there are many books, literature for your reference, from a practical point of view, accumulated years of practical experience can be shared with you.

Navigation:

First, premise 1. Version information-2. View method-3. Check k8s cluster node status-4. Configure docker warehouse download acceleration II, install and deploy helm1. Download the package-2. Install helm-3. Initialize third, use helm to install mysql1. Search mysql's helm package-2. Prepare the back-end storage-3. Prepare docker image-4. Configure the kube-dns-5 in the cluster. Install helm package for mysql-6. Check out mysql's stateful applications, pod, svc, pvc and other K8s resources-7. Client verification IV, troubleshooting 5, references 1, premise

To install a stateful application mysql master / slave cluster using helm, first make sure that you have built a 3-node k8s cluster (how to build a k8s cluster, please refer to Baidu for k8s cluster network configuration flannel).

1. Version information k8s: v1.5.2docker: 1.13.1flannel:0.7.1helm: v3.0.02. Check the method kubectl versiondocker versionflanneld-- versionhelm version3. Check k8s cluster node status [root@master ~] # kubectl get nodeNAME STATUS AGEmaster Ready 4dnode2 Ready 18hnode3 Ready 4m [root@master ~] # 4. Configure docker repository download acceleration

Use 163domestic docker warehouse to improve the download speed of docker image.

[root@master ~] # cat / etc/docker/daemon.json {"registry-mirrors": ["http://hub-mirror.c.163.com"]}[root@master ~] # systemctl restart docker # restart the docker service effective [root@master ~] # II. Install and deploy helm

Using the v3 version of helm, the v3 version does not need to configure the server component Tiller.

1. Download the software package

Download the binary package for helm.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report