You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: api/src/main/java/com/cloud/kubernetes/cluster/KubernetesCluster.java
+24Lines changed: 24 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,8 @@ enum Event {
44
44
AutoscaleRequested,
45
45
ScaleUpRequested,
46
46
ScaleDownRequested,
47
+
AddNodeRequested,
48
+
RemoveNodeRequested,
47
49
UpgradeRequested,
48
50
OperationSucceeded,
49
51
OperationFailed,
@@ -59,6 +61,8 @@ enum State {
59
61
Stopped("All resources for the Kubernetes cluster are destroyed, Kubernetes cluster may still have ephemeral resource like persistent volumes provisioned"),
60
62
Scaling("Transient state in which resources are either getting scaled up/down"),
61
63
Upgrading("Transient state in which cluster is getting upgraded"),
64
+
Importing("Transient state in which additional nodes are added as worker nodes to a cluster"),
65
+
RemovingNodes("Transient state in which additional nodes are removed from a cluster"),
62
66
Alert("State to represent Kubernetes clusters which are not in expected desired state (operationally in active control place, stopped cluster VM's etc)."),
63
67
Recovering("State in which Kubernetes cluster is recovering from alert state"),
64
68
Destroyed("End state of Kubernetes cluster in which all resources are destroyed, cluster will not be usable further"),
0 commit comments