update es

main
ycz008 2023-07-26 20:20:48 +08:00
parent a0cb248069
commit cccd713196
1 changed files with 9 additions and 9 deletions

View File

@ -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