@@ -248,8 +248,8 @@ Here is a shell command which makes this check easy:
248248curl -k https://arangodb.9hoeffer.de:8529/_db/_system/_api/replication/clusterInventory --user root: | jq . | grep ' "isReady"\|"allInSync"' | sort | uniq -c
249249```
250250
251- If all these checks are performed and are okay, the cluster is ready to
252- run a risk-free drain operation .
251+ If all these checks are performed and are okay, then it is safe to
252+ continue with the clean out and drain procedure as described below .
253253
254254{% hint 'danger' %}
255255If there are some collections with ` replicationFactor ` set to
@@ -277,9 +277,9 @@ at the time of a node drain.
277277
278278## Clean out a DBserver manually
279279
280- In this step we clean out a _ DBServer_ manually, before even issuing the
281- ` kubectl drain ` command. Previously, we have denoted this step as optional,
282- but for safety reasons, we have made it mandatory now, since it is near
280+ In this step we clean out a _ DBServer_ manually, ** before issuing the
281+ ` kubectl drain ` command** . Previously, we have denoted this step as optional,
282+ but for safety reasons, we consider it mandatory now, since it is near
283283impossible to choose the grace period long enough in a reliable way.
284284
285285Furthermore, if this step is not performed, we must choose
@@ -405,8 +405,8 @@ completely risk-free, even with a small grace period.
405405## Performing the drain
406406
407407After all above [ checks before a node drain] ( #things-to-check-in-arangodb-before-a-node-drain )
408- have been done successfully, it is safe to perform the drain
409- operation, similar to this command:
408+ and the [ manual clean out of the DBServer ] ( #clean-out-a-dbserver-manually )
409+ have been done successfully, it is safe to perform the drain operation, similar to this command:
410410
411411``` bash
412412kubectl drain gke-draintest-default-pool-394fe601-glts --delete-local-data --ignore-daemonsets --grace-period=300
@@ -416,11 +416,11 @@ As described above, the options `--delete-local-data` for ArangoDB and
416416` --ignore-daemonsets ` for other services have been added. A ` --grace-period ` of
417417300 seconds has been chosen because for this example we are confident that all the data on our _ DBServer_ pod
418418can be moved to a different server within 5 minutes. Note that this is
419- ** not saying** that 300 seconds will always be enough, regardless of how
419+ ** not saying** that 300 seconds will always be enough. Regardless of how
420420much data is stored in the pod, your mileage may vary, moving a terabyte
421421of data can take considerably longer!
422422
423- If the step of
423+ If the highly recommended step of
424424[ cleaning out a DBserver manually] ( #clean-out-a-dbserver-manually )
425425has been performed beforehand, the grace period can easily be reduced to 60
426426seconds - at least from the perspective of ArangoDB, since the server is already
0 commit comments