update elastic

main
ycz008 2023-07-11 16:49:03 +08:00
parent 44a55a4942
commit d5996101b0
2 changed files with 9 additions and 9 deletions

View File

@ -155,7 +155,7 @@ spec:
- name: restful - name: restful
port: 9200 port: 9200
targetPort: 9200 targetPort: 9200
nodePort: 30020 nodePort: 30019
type: NodePort type: NodePort
selector: selector:
app: elastic app: elastic

View File

@ -2,7 +2,7 @@
apiVersion: v1 apiVersion: v1
kind: PersistentVolume kind: PersistentVolume
metadata: metadata:
name: elastic-dev-0 name: elastic-release-0
spec: spec:
storageClassName: local-elastic storageClassName: local-elastic
capacity: capacity:
@ -10,7 +10,7 @@ spec:
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
local: local:
path: /data/elastic-dev/es_data path: /data/elastic-release/es_data
nodeAffinity: nodeAffinity:
required: required:
nodeSelectorTerms: nodeSelectorTerms:
@ -24,7 +24,7 @@ spec:
apiVersion: v1 apiVersion: v1
kind: PersistentVolume kind: PersistentVolume
metadata: metadata:
name: elastic-dev-1 name: elastic-release-1
spec: spec:
storageClassName: local-elastic storageClassName: local-elastic
capacity: capacity:
@ -32,7 +32,7 @@ spec:
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
local: local:
path: /data/elastic-dev/es_data path: /data/elastic-release/es_data
nodeAffinity: nodeAffinity:
required: required:
nodeSelectorTerms: nodeSelectorTerms:
@ -46,7 +46,7 @@ spec:
apiVersion: v1 apiVersion: v1
kind: PersistentVolume kind: PersistentVolume
metadata: metadata:
name: elastic-dev-2 name: elastic-release-2
spec: spec:
storageClassName: local-elastic storageClassName: local-elastic
capacity: capacity:
@ -54,7 +54,7 @@ spec:
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
local: local:
path: /data/elastic-dev/es_data path: /data/elastic-release/es_data
nodeAffinity: nodeAffinity:
required: required:
nodeSelectorTerms: nodeSelectorTerms:
@ -102,7 +102,7 @@ spec:
name: transport name: transport
env: env:
- name: cluster.name - name: cluster.name
value: bfs-elastic-dev-1 value: bfs-elastic-release-1
- name: network.host - name: network.host
value: 0.0.0.0 value: 0.0.0.0
- name: node.name - name: node.name
@ -155,7 +155,7 @@ spec:
- name: restful - name: restful
port: 9200 port: 9200
targetPort: 9200 targetPort: 9200
nodePort: 30020 nodePort: 30029
type: NodePort type: NodePort
selector: selector:
app: elastic app: elastic