Parameterise the host LB host label used for affinity scheduling.
This commit is contained in:
parent
f826533c59
commit
caa454c123
@ -113,4 +113,4 @@ services:
|
||||
- ${host_port}:${host_port}
|
||||
labels:
|
||||
io.rancher.scheduler.global: 'true'
|
||||
io.rancher.scheduler.affinity:host_label_soft: drone_lb=true
|
||||
io.rancher.scheduler.affinity:host_label_soft: ${drone_lb_host_label}
|
||||
|
@ -148,6 +148,12 @@ catalog:
|
||||
- 'true'
|
||||
- 'false'
|
||||
default: 'false'
|
||||
- variable: drone_lb_host_label
|
||||
label: Drone LB Host Label
|
||||
description: Host Label (soft affinity) for scheduling of the load balancer service.
|
||||
required: true
|
||||
default: "drone_lb=true"
|
||||
type: string
|
||||
services:
|
||||
agent:
|
||||
scale: ${agent_scale}
|
||||
|
Loading…
x
Reference in New Issue
Block a user