k8s中创建MySQL配置文件Phil更新于 2023-10-26 21:18:16首发于 2023-10-26 15:20:45代码编程/K8s469在K8S中配置数据库的配置文件 apiVersion: v1 data: mysql.db.name: nacos mysql.host: [mysql连接地址] mysql.password: [mysql密码] mysql.port: '3306' mysql.user: [mysql账号] kind: ConfigMap metadata: name: [配置文件名称] namespace: [命名空间] 未经允许不得转载:正能量 » k8s中创建MySQL配置文件标签configmapk8s