Skip to content

Conversation

@git-hulk
Copy link
Member

@git-hulk git-hulk commented May 2, 2024

This PR implements the simple client for the controller server:

# 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

@git-hulk git-hulk force-pushed the feature/new-kvctl-client branch from d211a8e to bb50a03 Compare May 2, 2024 13:32
@git-hulk git-hulk requested review from PragmaTwice, jihuayu and torwig May 2, 2024 13:45
@git-hulk git-hulk merged commit 4685978 into apache:unstable May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants