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 apiVersion: apps/v1
kind: StatefulSet kind: StatefulSet
metadata: metadata:
name: elastic-release name: elastic
spec: spec:
serviceName: elastic-release serviceName: elastic
replicas: 3 replicas: 3
selector: selector:
matchLabels: matchLabels:
app: elastic-release app: elastic
template: template:
metadata: metadata:
labels: labels:
app: elastic-release app: elastic
spec: spec:
securityContext: securityContext:
fsGroup: 100 fsGroup: 100
@ -150,7 +150,7 @@ kind: Service
metadata: metadata:
name: elastic-internel name: elastic-internel
labels: labels:
app: elastic-release app: elastic
spec: spec:
ports: ports:
- name: restful - name: restful
@ -159,15 +159,15 @@ spec:
nodePort: 30029 nodePort: 30029
type: NodePort type: NodePort
selector: selector:
app: elastic-release app: elastic
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: elastic-release name: elastic
labels: labels:
app: elastic-release app: elastic
spec: spec:
ports: ports:
- name: restful - name: restful
@ -176,5 +176,5 @@ spec:
port: 9300 port: 9300
clusterIP: None clusterIP: None
selector: selector:
app: elastic-release app: elastic