mirror of https://github.com/rancher/ui.git
Add drain options to k3s imported clusters edit
This commit is contained in:
parent
bc31c8961f
commit
c4a2829fb4
|
|
@ -17,6 +17,35 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col span-6">
|
||||||
|
<div class="form-control checkbox">
|
||||||
|
{{input
|
||||||
|
id="drain-master-nodes"
|
||||||
|
class="form-control"
|
||||||
|
type="checkbox"
|
||||||
|
checked=k3sConfig.k3supgradeStrategy.drainServerNodes
|
||||||
|
}}
|
||||||
|
<label for="drain-master-nodes">
|
||||||
|
{{t "k3sClusterInfo.drainServerNodes"}}
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="col span-6">
|
||||||
|
<div class="form-control checkbox">
|
||||||
|
{{input
|
||||||
|
id="drain-worker-nodes"
|
||||||
|
class="form-control"
|
||||||
|
type="checkbox"
|
||||||
|
checked=k3sConfig.k3supgradeStrategy.drainWorkerNodes
|
||||||
|
disabled=(not editing)
|
||||||
|
}}
|
||||||
|
<label for="drain-worker-nodes">
|
||||||
|
{{t "k3sClusterInfo.drainWorkerNodes"}}
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col span-6">
|
<div class="col span-6">
|
||||||
<label class="acc-label" for="node-server-concurrency">
|
<label class="acc-label" for="node-server-concurrency">
|
||||||
|
|
|
||||||
|
|
@ -7142,6 +7142,8 @@ k3sClusterInfo:
|
||||||
detail: Customize the K3S cluster options
|
detail: Customize the K3S cluster options
|
||||||
workerConcurrency: Worker Concurrency
|
workerConcurrency: Worker Concurrency
|
||||||
serverConcurrency: Server Concurrency
|
serverConcurrency: Server Concurrency
|
||||||
|
drainServerNodes: Drain Server Nodes
|
||||||
|
drainWorkerNodes: Drain Worker Nodes
|
||||||
nodeInfo:
|
nodeInfo:
|
||||||
title: K3s Node Information
|
title: K3s Node Information
|
||||||
detail: Read-only view of K3S master node arguments and environment variables.
|
detail: Read-only view of K3S master node arguments and environment variables.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue