Update to 2023-09-14 17:00

This commit is contained in:
Daniel Berteaud
2023-09-14 17:00:20 +02:00
parent 1499342c59
commit b47821acb1
6 changed files with 43 additions and 9 deletions

View File

@@ -40,9 +40,6 @@ acl {
server {
enabled = {{ nomad_conf.server.enabled | ternary('true', 'false') }}
bootstrap_expect = {{ nomad_conf.server.bootstrap_expect }}
{% if nomad_conf.server.encrypt is defined %}
encrypt = "{{ nomad_conf.server.encrypt }}"
{% endif %}
server_join {
retry_join = [
{% for server in nomad_servers %}
@@ -50,9 +47,33 @@ server {
{% endfor %}
]
}
{% if nomad_conf.server.authoritative_region is defined %}
authoritative_region = "{{ nomad_conf.server.authoritative_region }}"
{% for setting in [
'authoritative_region',
'encrypt',
'node_gc_threshold',
'job_gc_interval',
'job_gc_threshold',
'eval_gc_threshold',
'batch_eval_gc_threshold',
'deployment_gc_threshold',
'csi_volume_claim_gc_interval',
'csi_volume_claim_gc_threshold',
'csi_plugin_gc_threshold',
'acl_token_gc_threshold',
'heartbeat_grace',
'min_heartbeat_ttl',
'failover_heartbeat_ttl',
'license_path',
'root_key_gc_interval',
'root_key_gc_threshold',
'root_key_rotation_threshold',
'job_max_source_size'
] %}
{% if nomad_conf.server[setting] is defined %}
{{ setting }} = "{{ nomad_conf.server[setting] }}"
{% endif %}
{% endfor %}
default_scheduler_config {
scheduler_algorithm = "{{ nomad_conf.server.default_scheduler_config.scheduler_algorithm }}"