Skip to content

Commit 6dae3f1

Browse files
committed
Provide more details in message when replica count is equal to min replicas.
1 parent 9c1fcdc commit 6dae3f1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

kubernetes/samples/scripts/domain-lifecycle/stopServer.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,9 @@ if [[ -n "${clusterName}" && "${keepReplicaConstant}" == 'false' ]]; then
158158
# check if replica count can decrease below current value
159159
isReplicaCountEqualToMinReplicas "${domainJson}" "${clusterName}" replicasEqualsMinReplicas
160160
if [ "${replicasEqualsMinReplicas}" == 'true' ]; then
161-
printInfo "Current replica count value is same as minimum number of replica count. \
162-
Not decreasing the replica count value."
161+
printInfo "Not decreasing the replica count value: it is at its minimum. \
162+
(See 'domain.spec.allowReplicasBelowMinDynClusterSize' and \
163+
'domain.status.clusters[].minimumReplicas' for details)."
163164
keepReplicaConstant=true
164165
fi
165166
fi

0 commit comments

Comments
 (0)