Skip to content

Commit

Permalink
Add new environment
Browse files Browse the repository at this point in the history
  • Loading branch information
PaderZhang committed Jun 28, 2020
1 parent 5d70892 commit 2da3f6b
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
3 changes: 3 additions & 0 deletions deploy/nacos/nacos-pvc-ceph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ spec:
key: mysql.password
- name: NACOS_SERVER_PORT
value: "8848"
- name: NACOS_APPLICATION_PORT
value: "8848"

- name: PREFER_HOST_MODE
value: "hostname"
volumeMounts:
Expand Down
2 changes: 2 additions & 0 deletions deploy/nacos/nacos-pvc-nfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ spec:
key: mysql.password
- name: NACOS_SERVER_PORT
value: "8848"
- name: NACOS_APPLICATION_PORT
value: "8848"
- name: PREFER_HOST_MODE
value: "hostname"
volumeMounts:
Expand Down
4 changes: 3 additions & 1 deletion deploy/nacos/nacos-quick-start.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,12 @@ spec:
key: mysql.password
- name: NACOS_SERVER_PORT
value: "8848"
- name: NACOS_APPLICATION_PORT
value: "8848"
- name: PREFER_HOST_MODE
value: "hostname"
- name: NACOS_SERVERS
value: "nacos-0.nacos-headless.default.svc.cluster.local:8848 nacos-1.nacos-headless.default.svc.cluster.local:8848 nacos-2.nacos-headless.default.svc.cluster.local:8848"
selector:
matchLabels:
app: nacos
app: nacos
2 changes: 2 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ spec:
key: mysql.password
- name: NACOS_SERVER_PORT
value: {{ .Values.env.serverPort | quote }}
- name: NACOS_APPLICATION_PORT
value: {{ .Values.env.serverPort | quote }}
volumeMounts:
- name: datadir
mountPath: /home/nacos/data
Expand Down

0 comments on commit 2da3f6b

Please sign in to comment.