Skip to content

Commit 91ec8c8

Browse files
ash2kRobert Marshall
authored andcommitted
KAS: increase poll period
Push notifications reduce the need to poll this often. Change is also reflected in application defaults. Related https://gitlab.com/gitlab-org/cluster-integration/gitlab-agent/-/merge_requests/1046 Changelog: changed
1 parent 9ebd500 commit 91ec8c8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

files/gitlab-config-template/gitlab.rb.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1964,8 +1964,8 @@ external_url 'GENERATED_EXTERNAL_URL'
19641964
# gitlab_kas['enable'] = true
19651965

19661966
##! Agent configuration for GitLab KAS
1967-
# gitlab_kas['agent_configuration_poll_period'] = 20
1968-
# gitlab_kas['agent_gitops_poll_period'] = 20
1967+
# gitlab_kas['agent_configuration_poll_period'] = 300
1968+
# gitlab_kas['agent_gitops_poll_period'] = 300
19691969
# gitlab_kas['agent_gitops_project_info_cache_ttl'] = 300
19701970
# gitlab_kas['agent_gitops_project_info_cache_error_ttl'] = 60
19711971
# gitlab_kas['agent_info_cache_ttl'] = 300

files/gitlab-cookbooks/gitlab-kas/attributes/default.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
# GitLab Kubernetes Agent Server
33
####
44
default['gitlab_kas']['enable'] = false
5-
default['gitlab_kas']['agent_configuration_poll_period'] = 20
6-
default['gitlab_kas']['agent_gitops_poll_period'] = 20
5+
default['gitlab_kas']['agent_configuration_poll_period'] = 300
6+
default['gitlab_kas']['agent_gitops_poll_period'] = 300
77
default['gitlab_kas']['agent_gitops_project_info_cache_ttl'] = 300
88
default['gitlab_kas']['agent_gitops_project_info_cache_error_ttl'] = 60
99
default['gitlab_kas']['agent_info_cache_ttl'] = 300

0 commit comments

Comments
 (0)