Command ‘cloudctl es’ produces ‘FAILED’ message


When running the cloudctl es command, the following error message is displayed:



This error occurs when you have not logged in to the cluster and initialized the command line tool.

Resolving the problem

Log in to your cluster as an administrator by using the IBM Cloud Pak CLI:
cloudctl login -a https://<cluster_address>:<cluster_router_https_port>

Initialize the Event Streams CLI as follows:

cloudctl es init

Re-run the failed operation again.