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