1
0
mirror of https://github.com/rancher/types.git synced 2025-07-10 03:53:02 +00:00

Add server/worker drain fields to k3sConfig

This commit is contained in:
rmweir 2020-03-05 15:24:27 -07:00 committed by Craig Jellick
parent e8e610dd9e
commit 8a6aadfa08

View File

@ -13,4 +13,8 @@ type K3sUpgradeStrategy struct {
ServerConcurrency int `yaml:"server_concurrency" json:"serverConcurrency,omitempty"`
// How many workers should be upgraded at a time
WorkerConcurrency int `yaml:"worker_concurrency" json:"workerConcurrency,omitempty"`
// Whether controlplane nodes should be drained
DrainServerNodes bool `yaml:"drain_server_nodes" json:"drainServerNodes,omitempty"`
// Whether worker nodes should be drained
DrainWorkerNodes bool `yaml:"drain_worker_nodes" json:"drainWorkerNodes,omitempty"`
}