Skip to content

Commit f22457f

Browse files
th-2021kkimurak
authored andcommitted
upgrade to 18.5.1
squash following commit: - update to 18.5.0 - upgrade to 18.5.1
1 parent a214c82 commit f22457f

2 files changed

Lines changed: 73 additions & 77 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ENV GITLAB_VERSION=${VERSION} \
1010
GITLAB_SHELL_VERSION=14.45.5 \
1111
GITLAB_PAGES_VERSION=18.7.0 \
1212
GITALY_SERVER_VERSION=18.7.0 \
13-
GITLAB_AGENT_VERSION=18.1.0 \
13+
GITLAB_AGENT_VERSION=18.5.1 \
1414
GITLAB_USER="git" \
1515
GITLAB_HOME="/home/git" \
1616
GITLAB_LOG_DIR="/var/log/gitlab" \
Lines changed: 72 additions & 76 deletions
Original file line numberDiff line numberDiff line change
@@ -1,99 +1,95 @@
1-
# Import from gitlab-org/cluster-integration/gitlab-agent/pkg/kascfg/config_example.yaml
2-
#
3-
# This is a sample configuration file for kas. The source of truth is pkg/kascfg/kascfg.proto. It contains documentation
4-
# for all the fields. Configuration values in this file are the defaults (if set) that are used by kas.
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.
59

6-
gitlab:
7-
address: http://localhost:8080{{GITLAB_RELATIVE_URL_ROOT}} # required
8-
authentication_secret_file: {{GITLAB_AGENT_KAS_GITLAB_AUTHENTICATION_SECRET_FILE}} # required
9-
# ca_certificate_file: /server-ca.pem
10-
api_rate_limit:
11-
bucket_size: 250
12-
refill_rate_per_second: 50
1310
agent:
14-
listen:
15-
network: tcp
16-
address: 127.0.0.1:8150
17-
websocket: false
18-
# certificate_file: /server-cert.pem
19-
# key_file: /server-key.pem
20-
connections_per_token_per_minute: 40000
21-
max_connection_age: "7200s"
22-
listen_grace_period: "5s"
2311
configuration:
24-
poll_period: "300s"
2512
max_configuration_file_size: 131072
13+
poll_period: 300s
14+
info_cache_error_ttl: 60s
15+
info_cache_ttl: 300s
2616
kubernetes_api:
17+
allowed_agent_cache_error_ttl: 10s
18+
allowed_agent_cache_ttl: 60s
2719
listen:
20+
address: 127.0.0.1:8154
21+
listen_grace_period: 5s
2822
network: tcp
29-
address: 0.0.0.0:8154
30-
# certificate_file: /server-cert.pem
31-
# key_file: /server-key.pem
32-
listen_grace_period: "5s"
33-
shutdown_grace_period: "3600s"
34-
url_path_prefix: /
35-
allowed_agent_cache_ttl: "60s"
36-
allowed_agent_cache_error_ttl: "10s"
37-
info_cache_ttl: "300s"
38-
info_cache_error_ttl: "60s"
39-
redis_conn_info_ttl: "300s"
40-
redis_conn_info_refresh: "240s"
41-
redis_conn_info_gc: "600s"
42-
observability:
43-
usage_reporting_period: "10s"
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}}
4426
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
4531
network: tcp
46-
address: 127.0.0.1:8151
47-
prometheus:
48-
url_path: /metrics
49-
# tracing:
50-
# otlp_endpoint: "https://localhost:4317/traces/foo/bar"
51-
# otlp_token_secret_file: "/some/path"
52-
# otlp_ca_certificate_file: "/some/path/ca.crt"
53-
sentry:
54-
dsn: ""
55-
environment: ""
56-
logging:
57-
level: info
58-
grpc_level: error
59-
google_profiler:
60-
enabled: false
61-
# project_id: ""
62-
# credentials_file: /some/file
63-
# debug_logging: false
64-
liveness_probe:
65-
url_path: /liveness
66-
readiness_probe:
67-
url_path: /readiness
68-
event_reporting_period: "10s"
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
6945
gitaly:
7046
global_api_rate_limit:
71-
refill_rate_per_second: 30.0
7247
bucket_size: 70
48+
refill_rate_per_second: 30
7349
per_server_api_rate_limit:
74-
refill_rate_per_second: 15.0
7550
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
7675
private_api:
7776
listen:
77+
address: 0.0.0.0:8155
78+
listen_grace_period: 5s
79+
max_connection_age: 7200s
7880
network: tcp
79-
address: 127.0.0.1:8155
8081
authentication_secret_file: {{GITLAB_AGENT_KAS_PRIVATE_API_LISTEN_AUTHENTICATION_SECRET_FILE}}
81-
max_connection_age: 7200s
82-
listen_grace_period: "5s"
8382
redis:
83+
dial_timeout: 5s
84+
key_prefix: gitlab-kas
85+
network: tcp
86+
write_timeout: 3s
8487
server:
8588
address: "{{REDIS_HOST}}:{{REDIS_PORT}}" # required
86-
dial_timeout: "5s"
87-
write_timeout: "3s"
88-
key_prefix: gitlab-kas
89-
password_file: {{GITLAB_AGENT_KAS_REDIS_PASSWORD_FILE}}
90-
network: "tcp"
91-
api:
89+
workspaces:
9290
listen:
91+
address: 127.0.0.1:8160
92+
listen_grace_period: 5s
9393
network: tcp
94-
address: 127.0.0.1:8153
95-
authentication_secret_file: {{GITLAB_AGENT_KAS_API_LISTEN_AUTHENTICATION_SECRET_FILE}} # required
96-
# certificate_file: /server-cert.pem
97-
# key_file: /server-key.pem
98-
max_connection_age: "7200s"
99-
listen_grace_period: "5s"
94+
shutdown_grace_period: 3600s
95+

0 commit comments

Comments
 (0)