From 2f6b635d3e4a9dbc21fd7174b5b7c0a4f0346bc7 Mon Sep 17 00:00:00 2001 From: dongwoo Date: Thu, 12 Oct 2023 17:37:20 +0900 Subject: [PATCH] =?UTF-8?q?[fea]=20Topology=20Agent=20Liveness=20Probe=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit :Why/What: - kubernetes_info 체크용 livenessProbe 설정 추가 - 미사용 환경변수 삭제 - 기본 로그 레벨 수정 DEBUG -> INFO :Tasks: [CLOUD-20862] 리더 선출로직 개선 --- .../files/05-imxc/templates/topology-agent.yaml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/roles/cmoa_install/files/05-imxc/templates/topology-agent.yaml b/roles/cmoa_install/files/05-imxc/templates/topology-agent.yaml index b75ec61..aeab4df 100755 --- a/roles/cmoa_install/files/05-imxc/templates/topology-agent.yaml +++ b/roles/cmoa_install/files/05-imxc/templates/topology-agent.yaml @@ -113,12 +113,16 @@ spec: fieldPath: metadata.namespace - name: DATAGATE value: datagate:50051 - - name: LOG_RNAME_USE - value: "false" - name: LOG_LEVEL - value: "DEBUG" + value: "INFO" - name: CLOUDMOA_SETTING_PATH value: /home/cloudmoa/setting/ + livenessProbe: + httpGet: + path: /healthz + port: 18081 + initialDelaySeconds: 30 + timeoutSeconds: 5 resources: requests: memory: "125Mi"