From c396f0d1c8cc2d5869a7ad39fadee6f9708f8c43 Mon Sep 17 00:00:00 2001 From: Nithunikzz Date: Tue, 12 Mar 2024 11:50:04 +0530 Subject: [PATCH] changed kuberhealthy frequency --- agent/config/config.go | 2 +- charts/agent/Chart.yaml | 2 +- charts/agent/values.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/agent/config/config.go b/agent/config/config.go index 632b3332..020db830 100644 --- a/agent/config/config.go +++ b/agent/config/config.go @@ -30,7 +30,7 @@ func GetAgentConfigurations() (serviceConf *AgentConfigurations, err error) { type KHConfig struct { KuberhealthyURL string `envconfig:"KUBERHEALTHY_URL" required:"true"` - PollInterval time.Duration `envconfig:"POLL_INTERVAL" default:"15m"` + PollInterval time.Duration `envconfig:"POLL_INTERVAL" default:"60m"` } func GetKuberHealthyConfig() (khconfig *KHConfig, err error) { diff --git a/charts/agent/Chart.yaml b/charts/agent/Chart.yaml index 694dc262..6b3b7924 100644 --- a/charts/agent/Chart.yaml +++ b/charts/agent/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.1.14 +version: 1.1.15 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/agent/values.yaml b/charts/agent/values.yaml index f119e92a..a2c5841d 100644 --- a/charts/agent/values.yaml +++ b/charts/agent/values.yaml @@ -188,7 +188,7 @@ schedule: kuberhealthy: enabled: true - pollInterval: "15m" + pollInterval: "60m" url: "http://localhost:8080" opentelemetry: