Skip to content

Commit

Permalink
update configuration files
Browse files Browse the repository at this point in the history
Signed-off-by: Daxin Wang <daxinwang@harmonycloud.cn>
  • Loading branch information
Daxin Wang committed Jun 30, 2022
1 parent 66b15ad commit 94251d6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions collector/docker/kindling-collector-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ analyzers:

processors:
k8smetadataprocessor:
disable: false
kube_auth_type: kubeConfig
kube_config_dir: /root/.kube/config
grace_delete_period: 60
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type Config struct {
// Should not be lower than 30 seconds.
GraceDeletePeriod int `mapstructure:"grace_delete_period"`
// Disable is used when the agent runs at the non-Kubernetes environment.
Disable bool
Disable bool `mapstructure:"disable"`
}

var DefaultConfig Config = Config{
Expand Down
1 change: 1 addition & 0 deletions deploy/agent/kindling-collector-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ analyzers:

processors:
k8smetadataprocessor:
disable: false
kube_auth_type: serviceAccount
kube_config_dir: /root/.kube/config
grace_delete_period: 60
Expand Down

0 comments on commit 94251d6

Please sign in to comment.