update es
parent
a0cb248069
commit
cccd713196
|
@ -68,17 +68,17 @@ spec:
|
|||
apiVersion: apps/v1
|
||||
kind: StatefulSet
|
||||
metadata:
|
||||
name: elastic-release
|
||||
name: elastic
|
||||
spec:
|
||||
serviceName: elastic-release
|
||||
serviceName: elastic
|
||||
replicas: 3
|
||||
selector:
|
||||
matchLabels:
|
||||
app: elastic-release
|
||||
app: elastic
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: elastic-release
|
||||
app: elastic
|
||||
spec:
|
||||
securityContext:
|
||||
fsGroup: 100
|
||||
|
@ -150,7 +150,7 @@ kind: Service
|
|||
metadata:
|
||||
name: elastic-internel
|
||||
labels:
|
||||
app: elastic-release
|
||||
app: elastic
|
||||
spec:
|
||||
ports:
|
||||
- name: restful
|
||||
|
@ -159,15 +159,15 @@ spec:
|
|||
nodePort: 30029
|
||||
type: NodePort
|
||||
selector:
|
||||
app: elastic-release
|
||||
app: elastic
|
||||
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: elastic-release
|
||||
name: elastic
|
||||
labels:
|
||||
app: elastic-release
|
||||
app: elastic
|
||||
spec:
|
||||
ports:
|
||||
- name: restful
|
||||
|
@ -176,5 +176,5 @@ spec:
|
|||
port: 9300
|
||||
clusterIP: None
|
||||
selector:
|
||||
app: elastic-release
|
||||
app: elastic
|
||||
|
||||
|
|
Loading…
Reference in New Issue