From 50cf9d40e7b3c097e7e05caf19a8b520a7598529 Mon Sep 17 00:00:00 2001 From: songtianlun Date: Wed, 23 Apr 2025 20:53:04 +0800 Subject: [PATCH] fix: correct deployment kind in load.yaml - Change kind from DaemonSet to Deployment - Uncomment replicas setting to ensure proper scaling This change corrects the resource type for the application in the Kubernetes configuration, ensuring it is deployed as a Deployment instead of a DaemonSet. This allows for better management of replicas and scaling capabilities. --- today_ai_weather/load.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/today_ai_weather/load.yaml b/today_ai_weather/load.yaml index b28b48c..3ea497c 100644 --- a/today_ai_weather/load.yaml +++ b/today_ai_weather/load.yaml @@ -1,13 +1,13 @@ apiVersion: apps/v1 -#kind: Deployment -kind: DaemonSet +kind: Deployment +#kind: DaemonSet metadata: name: app namespace: taw labels: app: taw spec: - #replicas: 1 + replicas: 1 selector: matchLabels: app: taw