update prod nacos
parent
a25d25ab76
commit
f5448d5831
|
@ -1,41 +1,3 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nacos-public
|
||||
labels:
|
||||
app: nacos
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: nacos
|
||||
ports:
|
||||
- port: 8848
|
||||
name: server
|
||||
targetPort: 8848
|
||||
nodePort: 30848
|
||||
- port: 9848
|
||||
name: client-rpc
|
||||
targetPort: 9848
|
||||
nodePort: 30948
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nacos
|
||||
labels:
|
||||
app: nacos
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: nacos
|
||||
ports:
|
||||
- port: 8848
|
||||
name: server
|
||||
targetPort: 8848
|
||||
- port: 9848
|
||||
name: client-rpc
|
||||
targetPort: 9848
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
|
@ -123,8 +85,6 @@ spec:
|
|||
key: mysql.password
|
||||
- name: MYSQL_SERVICE_DB_PARAM
|
||||
value: "characterEncoding=utf8&connectTimeout=10000&socketTimeout=30000&autoReconnect=true&useUnicode=true&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true"
|
||||
- name: SPRING_DATASOURCE_PLATFORM
|
||||
value: "mysql"
|
||||
- name: MODE
|
||||
value: "cluster"
|
||||
- name: NACOS_SERVER_PORT
|
||||
|
@ -141,3 +101,42 @@ spec:
|
|||
value: "SSBhbSB0aGUgc3RhZmYgb2Ygd3d3LmJlYWNvbmZpcmVpbmMuY29tCg=="
|
||||
- name: NACOS_AUTH_IDENTITY_VALUE
|
||||
value: "SSBhbSB0aGUgc3RhZmYgb2Ygd3d3LmJlYWNvbmZpcmVpbmMuY29tCg=="
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nacos-public
|
||||
labels:
|
||||
app: nacos
|
||||
spec:
|
||||
type: NodePort
|
||||
selector:
|
||||
app: nacos
|
||||
ports:
|
||||
- port: 8848
|
||||
name: server
|
||||
targetPort: 8848
|
||||
nodePort: 30848
|
||||
- port: 9848
|
||||
name: client-rpc
|
||||
targetPort: 9848
|
||||
nodePort: 30948
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: nacos
|
||||
labels:
|
||||
app: nacos
|
||||
spec:
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: nacos
|
||||
ports:
|
||||
- port: 8848
|
||||
name: server
|
||||
targetPort: 8848
|
||||
- port: 9848
|
||||
name: client-rpc
|
||||
targetPort: 9848
|
||||
|
||||
|
|
Loading…
Reference in New Issue