Skip to content

Commit

Permalink
changed kuberhealthy frequency
Browse files Browse the repository at this point in the history
  • Loading branch information
Nithunikzz committed Mar 12, 2024
1 parent 086975f commit c396f0d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion agent/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion charts/agent/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion charts/agent/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ schedule:

kuberhealthy:
enabled: true
pollInterval: "15m"
pollInterval: "60m"
url: "http://localhost:8080"

opentelemetry:
Expand Down

0 comments on commit c396f0d

Please sign in to comment.