From 32c82b2751a10ce9d7db87e5a52565cacf0abd10 Mon Sep 17 00:00:00 2001 From: zeaslity Date: Thu, 27 Mar 2025 16:02:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=A7=E9=87=8F=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../real_project/cmii-uav-watchdog-agent-test.yaml | 4 +++- agent-common/real_project/cmii-uav-watchdog-test.yaml | 7 ++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/agent-common/real_project/cmii-uav-watchdog-agent-test.yaml b/agent-common/real_project/cmii-uav-watchdog-agent-test.yaml index a5b73d5..8cfa615 100644 --- a/agent-common/real_project/cmii-uav-watchdog-agent-test.yaml +++ b/agent-common/real_project/cmii-uav-watchdog-agent-test.yaml @@ -38,7 +38,7 @@ spec: - name: harborsecret containers: - name: cmii-uav-watchdog-agent - image: harbor.cdcyy.com.cn/cmii/cmii-uav-watchdog-agent-java:2025-03-26-16-26-29 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-watchdog-agent-java:2025-03-26-17-09-09 imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -101,6 +101,8 @@ spec: resourceFieldRef: containerName: cmii-uav-watchdog-agent resource: requests.memory + - name: WATCHDOG_HEARTBEAT_URL + value: http://cmii-uav-watchdog:8080/api/heartbeat ports: - name: pod-port containerPort: 8080 diff --git a/agent-common/real_project/cmii-uav-watchdog-test.yaml b/agent-common/real_project/cmii-uav-watchdog-test.yaml index 5142fba..6633331 100644 --- a/agent-common/real_project/cmii-uav-watchdog-test.yaml +++ b/agent-common/real_project/cmii-uav-watchdog-test.yaml @@ -38,7 +38,7 @@ spec: - name: harborsecret containers: - name: cmii-uav-watchdog - image: harbor.cdcyy.com.cn/cmii/cmii-uav-watchdog:2025-03-26-16-26-29 + image: harbor.cdcyy.com.cn/cmii/cmii-uav-watchdog:2025-03-26-17-33-09 imagePullPolicy: Always env: - name: K8S_NAMESPACE @@ -143,7 +143,7 @@ metadata: app.kubernetes.io/managed-by: octopus app.kubernetes.io/app-version: 6.2.0 spec: - type: ClusterIP + type: NodePort selector: cmii.type: backend cmii.app: cmii-uav-watchdog @@ -152,6 +152,7 @@ spec: port: 8080 protocol: TCP targetPort: 8080 + nodePort: 34567 --- kind: ConfigMap apiVersion: v1 @@ -171,7 +172,7 @@ data: url: "https://watchdog-center.example.com" # 一级授权中心地址 project: - project_namespace: "uavcloud-devfilght" # 项目命名空间 + project_namespace: "uavcloud-devflight" # 项目命名空间 tier_two_auth: tier_two_secret: "your_tier_two_secret_here" # 二级授权密钥 \ No newline at end of file