-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Expand file tree
/
Copy pathgitlab-kas_config.yaml
More file actions
94 lines (93 loc) · 2.69 KB
/
gitlab-kas_config.yaml
File metadata and controls
94 lines (93 loc) · 2.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
# This is a configuration file for kas that contains the default values for the settings.
# It DOES NOT contain all the possible configuration knobs.
# The source of truth is kascfg.proto.
# It contains all the fields and documentation them.
# If you are looking for a setting, start from the ConfigurationFile message in:
# - the proto file kascfg.proto.
# - the generated documentation in kascfg_proto_docs.md.
# Correctness of this file is enforced by a unit test in kascfg_defaults_test.go.
agent:
configuration:
max_configuration_file_size: 131072
poll_period: 300s
info_cache_error_ttl: 60s
info_cache_ttl: 300s
kubernetes_api:
allowed_agent_cache_error_ttl: 10s
allowed_agent_cache_ttl: 60s
listen:
address: :8154
listen_grace_period: 5s
network: tcp
shutdown_grace_period: 3600s
url_path_prefix: {{GITLAB_RELATIVE_URL_ROOT}}/-/kubernetes-agent/k8s-proxy/
websocket_token_secret_file: {{GITLAB_AGENT_KAS_WEBSOCKET_TOKEN_SECRET_FILE}}
listen:
address: 127.0.0.1:8150
connections_per_token_per_minute: 40000
listen_grace_period: 5s
max_connection_age: 7200s
network: tcp
websocket: true
receptive_agent:
poll_period: 60s
redis_conn_info_gc: 600s
redis_conn_info_refresh: 240s
redis_conn_info_ttl: 300s
api:
listen:
address: 127.0.0.1:8153
listen_grace_period: 5s
max_connection_age: 7200s
network: tcp
authentication_secret_file: {{GITLAB_AGENT_KAS_API_LISTEN_AUTHENTICATION_SECRET_FILE}} # required
gitaly:
global_api_rate_limit:
bucket_size: 70
refill_rate_per_second: 30
per_server_api_rate_limit:
bucket_size: 40
refill_rate_per_second: 15
gitlab:
address: http://127.0.0.1:8080{{GITLAB_RELATIVE_URL_ROOT}}
authentication_secret_file: {{GITLAB_AGENT_KAS_GITLAB_AUTHENTICATION_SECRET_FILE}} # required
api_rate_limit:
bucket_size: 250
refill_rate_per_second: 50
observability:
event_reporting_period: 300s
google_profiler: {}
listen:
address: 127.0.0.1:8151
network: tcp
liveness_probe:
url_path: /liveness
logging:
level: debug
grpc_level: debug
prometheus:
url_path: /metrics
readiness_probe:
url_path: /readiness
sentry: {}
usage_reporting_period: 10s
private_api:
listen:
address: :8155
listen_grace_period: 5s
max_connection_age: 7200s
network: tcp
authentication_secret_file: {{GITLAB_AGENT_KAS_PRIVATE_API_LISTEN_AUTHENTICATION_SECRET_FILE}}
redis:
dial_timeout: 5s
key_prefix: gitlab-kas
network: tcp
write_timeout: 3s
server:
address: "{{REDIS_HOST}}:{{REDIS_PORT}}" # required
workspaces:
listen:
address: :8160
listen_grace_period: 5s
network: tcp
shutdown_grace_period: 3600s