shwstppr commented on code in PR #9070:
URL: https://github.com/apache/cloudstack/pull/9070#discussion_r1621985711
##########
plugins/integrations/kubernetes-service/src/main/java/com/cloud/kubernetes/cluster/KubernetesClusterManagerImpl.java:
##########
@@ -1526,6 +1575,8 @@ public KubernetesClusterConfigResponse
getKubernetesClusterConfig(GetKubernetesC
}
@Override
+ @ActionEvent(eventType =
KubernetesClusterEventTypes.EVENT_KUBERNETES_CLUSTER_SCALE,
+ eventDescription = "scaling Kubernetes cluster", async = true)
public boolean scaleKubernetesCluster(ScaleKubernetesClusterCmd cmd)
throws CloudRuntimeException {
Review Comment:
I tried this. There are too many variables to scale,
- size
- minSize
- maxSize
- offering
I've limited my change to add event details only when there is change in
size for now
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]