mirror of
https://github.com/cozystack/cozystack.git
synced 2026-12-05 14:42:05 +09:00
Placement could only be set per tenant, so two applications of the same tenant could not be kept together, or apart, unless each had a tenant to itself. With a class per application and the scheduling-class Pod label, a SchedulingClass name can serve as a co-affinity group: a database and the virtual machine that uses it can be kept in the same region without pinning which one. The field is capped at 63 characters. A SchedulingClass name may be up to 253, but the webhook writes the class into a Pod label, and this is the first source of the class the apiserver has not already validated as a label value; capping it is cheap while the field is new and a breaking change once released. A class created with a longer name must still not break Pod admission, so for it only the label is left out. kubernetes-nodes gets no field: the ownership walk from a worker Pod reaches the parent Kubernetes application, never the pool, so a class set on a pool would be accepted and silently ignored. Placement per replica role (primary or standby of a clustered database) is out of scope: the operator assigns the role after election, once the webhook has already seen the pod. Assisted-by: LLM Signed-off-by: Mattia Eleuteri <mattia@hidora.io>
BootBox
Parameters
Common parameters
| Name | Description | Type | Value |
|---|---|---|---|
whitelistHTTP |
Secure HTTP by enabling client networks whitelisting. | bool |
true |
whitelist |
List of client networks. | []string |
[] |
machines |
Configuration of physical machine instances. | []object |
[] |
machines[i].hostname |
Hostname. | string |
"" |
machines[i].arch |
Architecture. | string |
"" |
machines[i].ip |
IP address configuration. | object |
{} |
machines[i].ip.address |
IP address. | string |
"" |
machines[i].ip.gateway |
IP gateway. | string |
"" |
machines[i].ip.netmask |
Netmask. | string |
"" |
machines[i].leaseTime |
Lease time. | int |
0 |
machines[i].mac |
MAC addresses. | []string |
[] |
machines[i].nameServers |
Name servers. | []string |
[] |
machines[i].timeServers |
Time servers. | []string |
[] |
machines[i].uefi |
UEFI. | bool |
false |
schedulingClass |
Name of a SchedulingClass CR (cluster-scoped, group cozystack.io) applied to this application's workloads. When set, takes precedence over any tenant-level schedulingClass. Empty means inherit from the tenant. | string |
"" |