Skip to content

Commit

Permalink
docs(readme): cleanup examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorres committed Apr 17, 2024
1 parent 7acdd54 commit e4b5d8f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ ginkgo test -vvv ./tests

## Current limitations:

1. [CRITICAL FEATURE] Drain API is not in public YDB Maintenance GRPC api yet. Therefore, `ydbops` currently relies on builtin drain when restarting nodes (which has a certain timeout, and a node with a lot of tablets will probably not shutdown healthily). Will be implemented as soon as
1. [NON-CRITICAL FEATURE] Yandex IAM authorization with SA account key file is currently unsupported. However, you can always issue the token yourself and put it inside the `YDB_TOKEN` variable: `export YDB_TOKEN=$(ycp --profile <profile> iam create-token)`

## How to use:
Expand All @@ -32,6 +31,15 @@ ydbops restart --storage \
--verbose --hosts <node1-fqdn>,<node2-fqdn>,<node3-fqdn>
```

#### Restarting hosts without specifying filters will restart all of them

```
ydbops restart --storage \
--endpoint grpc://<cluster-fqdn> \
--ssh-args=pssh,-A,-J,<bastion-fqdn>,--ycp-profile,prod,--no-yubikey \
--verbose
```

##### Run hello-world on remote hosts

```
Expand Down

0 comments on commit e4b5d8f

Please sign in to comment.