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

Chapter 20 Nine Analysis takes you to the end of helm3 mysql easily

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

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

This series of articles:

Chapter 1: Nine Analysis takes you to complete the helm3 installation easily.

Chapter 2: Nine Analysis takes you to easily complete the helm3 public warehouse.

Chapter 3: Nine Analysis takes you to easily complete the helm3 private warehouse.

Chapter 4: nine analyses will take you to the end of helm3 chart easily.

Chapter 5: nine analyses take you to the end of helm3 release easily.

Chapter 6: nine analyses will take you to the end of helm3 gitlab easily.

Chapter 7: nine analyses will take you to the end of helm3 nginx-ingress easily.

Chapter 8: nine analyses take you to the end of helm3 gitlab nfs easily.

Chapter 9: nine analyses will take you to the end of helm3 nexus easily.

Chapter 10: nine analyses will take you to the end of helm3 heapster easily.

Chapter 11: nine analyses will take you to the end of helm3 kubernetes-dashboard easily.

Chapter 12: Nine Analysis takes you to the end of helm3 harbor easily.

Chapter 13: Nine Analysis takes you to the end of helm3 prometheus easily

Chapter 14: nine analyses will take you to the end of helm3 grafana easily.

Chapter 15: nine analyses take you to the end of grafana related prometheus easily.

Chapter 16: Nine Analysis takes you to helm3 efk-elasticsearch easily.

Chapter 17: Nine Analysis takes you to helm3 efk-kibana easily.

Chapter 18: Nine Analysis takes you to helm3 efk-fluentd easily.

Chapter 19: Nine Analysis takes you to easily complete the helm3 istio installation

Chapter 20: Nine Analysis takes you to the end of helm3 mysql easily

Catalogue

1 preface

In this paper, helm3 v3.0.0; k8s v1.16.3 position istio 1.3.4 is used. The helm repository information is as follows:

2 download mysql

Helm search mysql:

Helm search repo mysql

Download and extract:

Helm fetch google/mysql

Tar-zxvf mysql-1.6.2.tgz

3 create a namespace

Kubectl create ns sre

4 set the mysql login password

Edit the mysql/values.yaml file and change the mysql login password, as shown below:

Modify the container viability probe and ready probe time at the same time:

5 install nfs

How to install nfs server, please refer to my "easy to complete nfs installation", do not worry, simple to explosive, so that you can easily finish the explosion in minutes.

Mkdir-p / data/nfs/sre/mysql

Chmod 777-R sre

Echo "/ data/nfs/sre 10.110.0.0 echo 16 (rw,sync,no_root_squash)" > > / etc/exports

Systemctl restart nfs

6 create pv

Create a pv-sre-mysql-8g.yaml file:

ApiVersion: v1

Kind: PersistentVolume

Metadata:

Name: pv-sre-mysql-8g

Spec:

Capacity:

Storage: 8Gi

VolumeMode: Filesystem

AccessModes:

-ReadWriteOnce

PersistentVolumeReclaimPolicy: Retain

Nfs:

Server: 10.110.101.106

Path: / data/nfs/sre/mysql

Create a pv:

Kubectl apply-f pv-sre-mysql-8g.yaml

7 install mysql

The first mysql is the helm release name, and the second is the extracted directory:

Helm install-n sre mysql mysql

Check with helm and find that mysql has been installed successfully:

Helm list-n sre

Since then, it is easy to complete the helm3 installation of mysql.

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