Skip to content

Commit

Permalink
Merge pull request #336 from intelops/frequency
Browse files Browse the repository at this point in the history
changed kuberhealthy frequency
  • Loading branch information
vijeyashintelops authored Mar 25, 2024
2 parents d5f723b + c396f0d commit 99ca571
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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/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 99ca571

Please sign in to comment.