diff --git a/Kubernetes/KubernetesCluster/package/Classes/KubernetesCluster.yaml b/Kubernetes/KubernetesCluster/package/Classes/KubernetesCluster.yaml index c275fbb..9975cc5 100644 --- a/Kubernetes/KubernetesCluster/package/Classes/KubernetesCluster.yaml +++ b/Kubernetes/KubernetesCluster/package/Classes/KubernetesCluster.yaml @@ -454,6 +454,8 @@ Methods: - $._environment.reporter.report($this, 'Scaling up Kubernetes cluster') - $.nodeCount: $.nodeCount + 1 - $.deploy() + Else: + - $._environment.reporter.report($this, 'The maximum number of nodes has been reached') scaleNodesDown: @@ -464,6 +466,8 @@ Methods: - $._environment.reporter.report($this, 'Scaling Kubernetes cluster down') - $.nodeCount: $.nodeCount - 1 - $.deploy() + Else: + - $._environment.reporter.report($this, 'At least one node must be in cluster') scaleGatewaysUp: @@ -474,6 +478,8 @@ Methods: - $._environment.reporter.report($this, 'Adding new gateway node') - $.gatewayCount: $.gatewayCount + 1 - $.deploy() + Else: + - $._environment.reporter.report($this, 'The maximum number of nodes has been reached') exportConfig: