git-hulk opened a new pull request, #171:
URL: https://github.com/apache/kvrocks-controller/pull/171

   This PR implements the simple client for the controller server:
   
   ```shell
   # Show help
   $ ./_build/kvctl --help
   
   # Create namespace
   $ ./_build/kvctl create namespace test-ns
   
   # List namespaces
   $ ./_build/kvctl list namespaces
   
   # Create a cluster in the namespace 
   $ ./_build/kvctl create cluster test-cluster --nodes 
127.0.0.1:6666,127.0.0.1:6667 -n test-ns
   
   # List clusters in the namespace
   $ ./_build/kvctl list clusters -n test-ns
   
   # Get cluster in the namespace
   $ ./_build/kvctl get cluster test-cluster -n test-ns
   
   # Migrate slot from source to target
   $ ./_build/kvctl migrate slot 123 --target 1 -n test-ns -c test-cluster
   ```


-- 
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]

Reply via email to