KubeSphere安装Mysql5.7

安装步骤

1、配置中心 - 配置 - 创建

基本信息
KubeSphere安装Mysql5.7_第1张图片
配置设置
KubeSphere安装Mysql5.7_第2张图片

[client]
default-character-set=utf8mb4
[mysql]
default-character-set=utf8mb4
[mysqld]
init_connect='SET collation_connection = utf8mb4_unicode_ci'
init_connect='SET NAMES utf8mb4'
character-set-server=utf8mb4
collation-server=utf8mb4_unicode_ci
skip-character-set-client-handshake
skip-name-resolve
lower_case_table_names = 1
2、存储管理 - 存储卷- 创建

基本信息
KubeSphere安装Mysql5.7_第3张图片
存储卷设置
KubeSphere安装Mysql5.7_第4张图片
高级设置可默认不动,创建

3、应用负载 - 工作负载 - 有状态副本集 - 创建

基本信息
KubeSphere安装Mysql5.7_第5张图片
容器镜像
KubeSphere安装Mysql5.7_第6张图片
KubeSphere安装Mysql5.7_第7张图片
KubeSphere安装Mysql5.7_第8张图片
挂载存储_添加存储卷
KubeSphere安装Mysql5.7_第9张图片
挂载存储_挂载配置文件或密钥
KubeSphere安装Mysql5.7_第10张图片
高级设置默认不动,点创建

你可能感兴趣的:(mysql,数据库,k8s,kubernetes)