From ec6e8da4392f78eca13adfd998379bcb6fec88ba Mon Sep 17 00:00:00 2001 From: Y-Rookie Date: Wed, 6 Nov 2024 15:58:31 +0800 Subject: [PATCH] fix POD_FQDN --- addons/nebula/templates/cmpd-graphd.yaml | 2 +- addons/nebula/templates/cmpd-metad.yaml | 2 +- addons/nebula/templates/cmpd-storaged.yaml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/nebula/templates/cmpd-graphd.yaml b/addons/nebula/templates/cmpd-graphd.yaml index 613fe2fb7..d24737a5c 100644 --- a/addons/nebula/templates/cmpd-graphd.yaml +++ b/addons/nebula/templates/cmpd-graphd.yaml @@ -84,7 +84,7 @@ spec: apiVersion: v1 fieldPath: metadata.name - name: POD_FQDN - value: $(POD_NAME)-$(GRAPHD_COMPONENT_NAME)-headless.$(CLUSTER_NAMESPACE).svc.$(CLUSTER_DOMAIN) + value: $(POD_NAME).$(GRAPHD_COMPONENT_NAME)-headless.$(CLUSTER_NAMESPACE).svc.$(CLUSTER_DOMAIN) readinessProbe: failureThreshold: 3 httpGet: diff --git a/addons/nebula/templates/cmpd-metad.yaml b/addons/nebula/templates/cmpd-metad.yaml index 6f9fddf71..db87a30ff 100644 --- a/addons/nebula/templates/cmpd-metad.yaml +++ b/addons/nebula/templates/cmpd-metad.yaml @@ -66,7 +66,7 @@ spec: apiVersion: v1 fieldPath: metadata.name - name: POD_FQDN - value: $(POD_NAME)-$(METAD_COMPONENT_NAME)-headless.$(CLUSTER_NAMESPACE).svc.$(CLUSTER_DOMAIN) + value: $(POD_NAME).$(METAD_COMPONENT_NAME)-headless.$(CLUSTER_NAMESPACE).svc.$(CLUSTER_DOMAIN) # readinessProbe: # failureThreshold: 3 # httpGet: diff --git a/addons/nebula/templates/cmpd-storaged.yaml b/addons/nebula/templates/cmpd-storaged.yaml index 05efa0003..737adb90f 100644 --- a/addons/nebula/templates/cmpd-storaged.yaml +++ b/addons/nebula/templates/cmpd-storaged.yaml @@ -107,7 +107,7 @@ spec: apiVersion: v1 fieldPath: metadata.name - name: POD_FQDN - value: $(POD_NAME)-$(STORAGED_COMPONENT_NAME)-headless.$(CLUSTER_NAMESPACE).svc.$(CLUSTER_DOMAIN) + value: $(POD_NAME).$(STORAGED_COMPONENT_NAME)-headless.$(CLUSTER_NAMESPACE).svc.$(CLUSTER_DOMAIN) readinessProbe: failureThreshold: 3 httpGet: @@ -136,7 +136,7 @@ spec: apiVersion: v1 fieldPath: metadata.name - name: POD_FQDN - value: $(POD_NAME)-$(STORAGED_COMPONENT_NAME)-headless.$(CLUSTER_NAMESPACE).svc.$(CLUSTER_DOMAIN) + value: $(POD_NAME).$(STORAGED_COMPONENT_NAME)-headless.$(CLUSTER_NAMESPACE).svc.$(CLUSTER_DOMAIN) lifecycle: postStart: exec: