Skip to content

Commit 52b7911

Browse files
committed
Add kubectl suggestion
1 parent ad41942 commit 52b7911

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

st2common/bin/st2ctl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ function must_be_root() {
7171

7272
function not_running_in_k8s() {
7373
if [ -n "$KUBERNETES_SERVICE_HOST" ]; then
74-
echo -e "\e[31mError: \"st2ctl status\" is not supported under Kubernetes \e[0m\n"
74+
echo -e "\e[31mError: \"st2ctl status\" is not supported under Kubernetes, please use Kubernetes tools such as \"kubectl\" to view the StackStorm services in this cluster. \e[0m\n"
7575
exit 1
7676
fi
7777
}

0 commit comments

Comments
 (0)