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