update prod nacos
parent
39d4de6eed
commit
362a4bef11
|
@ -1,15 +1,3 @@
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: ConfigMap
|
|
||||||
metadata:
|
|
||||||
name: nacos-cm
|
|
||||||
data:
|
|
||||||
mysql.host: "mysql-nacos.base.svc"
|
|
||||||
mysql.db.name: "nacos"
|
|
||||||
mysql.port: 3306
|
|
||||||
mysql.user: "root"
|
|
||||||
mysql.password: "Admin@2099"
|
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: StatefulSet
|
kind: StatefulSet
|
||||||
|
@ -59,30 +47,15 @@ spec:
|
||||||
- name: NACOS_REPLICAS
|
- name: NACOS_REPLICAS
|
||||||
value: "3"
|
value: "3"
|
||||||
- name: MYSQL_SERVICE_HOST
|
- name: MYSQL_SERVICE_HOST
|
||||||
valueFrom:
|
value: "mysql-nacos.base.svc"
|
||||||
configMapKeyRef:
|
|
||||||
name: nacos-cm
|
|
||||||
key: mysql.host
|
|
||||||
- name: MYSQL_SERVICE_DB_NAME
|
- name: MYSQL_SERVICE_DB_NAME
|
||||||
valueFrom:
|
value: "nacos"
|
||||||
configMapKeyRef:
|
|
||||||
name: nacos-cm
|
|
||||||
key: mysql.db.name
|
|
||||||
- name: MYSQL_SERVICE_PORT
|
- name: MYSQL_SERVICE_PORT
|
||||||
valueFrom:
|
value: "3306"
|
||||||
configMapKeyRef:
|
|
||||||
name: nacos-cm
|
|
||||||
key: mysql.port
|
|
||||||
- name: MYSQL_SERVICE_USER
|
- name: MYSQL_SERVICE_USER
|
||||||
valueFrom:
|
value: "root"
|
||||||
configMapKeyRef:
|
|
||||||
name: nacos-cm
|
|
||||||
key: mysql.user
|
|
||||||
- name: MYSQL_SERVICE_PASSWORD
|
- name: MYSQL_SERVICE_PASSWORD
|
||||||
valueFrom:
|
value: "Admin@2099"
|
||||||
configMapKeyRef:
|
|
||||||
name: nacos-cm
|
|
||||||
key: mysql.password
|
|
||||||
- name: MYSQL_SERVICE_DB_PARAM
|
- name: MYSQL_SERVICE_DB_PARAM
|
||||||
value: "characterEncoding=utf8&connectTimeout=10000&socketTimeout=30000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true"
|
value: "characterEncoding=utf8&connectTimeout=10000&socketTimeout=30000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true"
|
||||||
- name: MODE
|
- name: MODE
|
||||||
|
|
Loading…
Reference in New Issue