Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add kubectl-etcd plugin #220

Merged
merged 1 commit into from
Jun 18, 2024
Merged

Add kubectl-etcd plugin #220

merged 1 commit into from
Jun 18, 2024

Conversation

kvaps
Copy link
Member

@kvaps kvaps commented May 20, 2024

fixes #212

Manage etcd pods spawned by etcd-operator

Usage:
  kubectl-etcd [command]

Available Commands:
  alarm              Manage etcd alarms
  completion         Generate the autocompletion script for the specified shell
  defrag             Defragment etcd database on the node
  forfeit-leadership Tell node to forfeit etcd cluster leadership
  help               Help about any command
  leave              Tell node to leave etcd cluster
  members            Get the list of etcd cluster members
  remove-member      Remove a node from the etcd cluster
  snapshot           Stream snapshot of the etcd node to the path.
  status             Get the status of etcd cluster member

Flags:
  -h, --help                help for kubectl-etcd
  -k, --kubeconfig string   Path to the kubeconfig file (default "/Users/kvaps/git/clients/fin-dev/infra/clusters/dev2/kubeconfig")
  -n, --namespace string    Namespace of the etcd pod (default is the current namespace from kubeconfig)
  -p, --pod string          Name of the etcd pod

Use "kubectl-etcd [command] --help" for more information about a command.

Copy link
Member

@sircthulhu sircthulhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job! :)

@kvaps kvaps force-pushed the plugin branch 4 times, most recently from c5a4942 to 5166283 Compare June 18, 2024 07:40
Signed-off-by: Andrei Kvapil <kvapss@gmail.com>
@kvaps kvaps merged commit df56b4d into main Jun 18, 2024
9 checks passed
@kvaps kvaps deleted the plugin branch June 18, 2024 08:27
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.

kubectl plugin
4 participants