update elastic
parent
44a55a4942
commit
d5996101b0
|
@ -155,7 +155,7 @@ spec:
|
|||
- name: restful
|
||||
port: 9200
|
||||
targetPort: 9200
|
||||
nodePort: 30020
|
||||
nodePort: 30019
|
||||
type: NodePort
|
||||
selector:
|
||||
app: elastic
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue