From d5996101b04a6e1753f033518a73b4f72bf60242 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Tue, 11 Jul 2023 16:49:03 +0800 Subject: [PATCH] update elastic --- dev-upgrade/elastic/elastic-dev.yaml | 2 +- dev-upgrade/elastic/elastic-release.yaml | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/dev-upgrade/elastic/elastic-dev.yaml b/dev-upgrade/elastic/elastic-dev.yaml index 560c88c..bf203ea 100644 --- a/dev-upgrade/elastic/elastic-dev.yaml +++ b/dev-upgrade/elastic/elastic-dev.yaml @@ -155,7 +155,7 @@ spec: - name: restful port: 9200 targetPort: 9200 - nodePort: 30020 + nodePort: 30019 type: NodePort selector: app: elastic diff --git a/dev-upgrade/elastic/elastic-release.yaml b/dev-upgrade/elastic/elastic-release.yaml index 560c88c..3bccc74 100644 --- a/dev-upgrade/elastic/elastic-release.yaml +++ b/dev-upgrade/elastic/elastic-release.yaml @@ -2,7 +2,7 @@ apiVersion: v1 kind: PersistentVolume metadata: - name: elastic-dev-0 + name: elastic-release-0 spec: storageClassName: local-elastic capacity: @@ -10,7 +10,7 @@ spec: accessModes: - ReadWriteOnce local: - path: /data/elastic-dev/es_data + path: /data/elastic-release/es_data nodeAffinity: required: nodeSelectorTerms: @@ -24,7 +24,7 @@ spec: apiVersion: v1 kind: PersistentVolume metadata: - name: elastic-dev-1 + name: elastic-release-1 spec: storageClassName: local-elastic capacity: @@ -32,7 +32,7 @@ spec: accessModes: - ReadWriteOnce local: - path: /data/elastic-dev/es_data + path: /data/elastic-release/es_data nodeAffinity: required: nodeSelectorTerms: @@ -46,7 +46,7 @@ spec: apiVersion: v1 kind: PersistentVolume metadata: - name: elastic-dev-2 + name: elastic-release-2 spec: storageClassName: local-elastic capacity: @@ -54,7 +54,7 @@ spec: accessModes: - ReadWriteOnce local: - path: /data/elastic-dev/es_data + path: /data/elastic-release/es_data nodeAffinity: required: nodeSelectorTerms: @@ -102,7 +102,7 @@ spec: name: transport env: - name: cluster.name - value: bfs-elastic-dev-1 + value: bfs-elastic-release-1 - name: network.host value: 0.0.0.0 - name: node.name @@ -155,7 +155,7 @@ spec: - name: restful port: 9200 targetPort: 9200 - nodePort: 30020 + nodePort: 30029 type: NodePort selector: app: elastic