From a0cb24806957ba6669bd31cfdb773302b2a4d242 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Wed, 26 Jul 2023 20:14:25 +0800 Subject: [PATCH] update es --- dev-upgrade/elastic/elastic-release.yaml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/dev-upgrade/elastic/elastic-release.yaml b/dev-upgrade/elastic/elastic-release.yaml index 55043f9..8811dab 100644 --- a/dev-upgrade/elastic/elastic-release.yaml +++ b/dev-upgrade/elastic/elastic-release.yaml @@ -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