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