File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
src/Pages/ResourceBrowser Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -4,3 +4,35 @@ export const ALL_NAMESPACE_OPTION: Readonly<Pick<SelectPickerOptionType<string>,
4
4
value : 'all' ,
5
5
label : 'All namespaces' ,
6
6
}
7
+
8
+ export const DRAIN_NODE_MODAL_MESSAGING = {
9
+ GracePeriod : {
10
+ heading : 'Grace period' ,
11
+ infoText :
12
+ 'Period of time in seconds given to each pod to terminate gracefully. If negative, the default value specified in the pod will be used.' ,
13
+ } ,
14
+ DeleteEmptyDirectoryData : {
15
+ heading : 'Delete empty directory data' ,
16
+ infoText : 'Enabling this field will delete the pods using empty directory data when the node is drained.' ,
17
+ } ,
18
+ DisableEviction : {
19
+ heading : 'Disable eviction (use with caution)' ,
20
+ infoText : `Enabling this field will force drain to use delete, even if eviction is supported. This will bypass checking PodDisruptionBudgets.
21
+ Note: Make sure to use with caution.` ,
22
+ } ,
23
+ ForceDrain : {
24
+ heading : 'Force drain' ,
25
+ infoText :
26
+ 'Enabling this field will force drain a node even if there are pods that do not declare a controller.' ,
27
+ } ,
28
+ IgnoreDaemonSets : {
29
+ heading : 'Ignore DaemonSets' ,
30
+ infoText : 'Enabling this field will ignore DaemonSet-managed pods.' ,
31
+ } ,
32
+ Actions : {
33
+ infoText : 'Drain will cordon off the node and evict all pods of the node.' ,
34
+ drain : 'Drain node' ,
35
+ draining : 'Draining node' ,
36
+ cancel : 'Cancel' ,
37
+ } ,
38
+ }
You can’t perform that action at this time.
0 commit comments