-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request kubernetes-sigs#82 from cofyc/setup-docs
Add operations/faqs docs and layout change
- Loading branch information
Showing
8 changed files
with
533 additions
and
252 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Best Practices | ||
|
||
* For IO isolation, a whole disk per volume is recommended | ||
* For capacity isolation, separate partitions per volume is recommended | ||
* Avoid recreating nodes with the same node name while there are still old PVs | ||
with that node's affinity specified. Otherwise, the system could think that | ||
the new node contains the old PVs. | ||
* For volumes with a filesystem, it's recommended to utilize their UUID (e.g. | ||
the output from `ls -l /dev/disk/by-uuid`) both in fstab entries | ||
and in the directory name of that mount point. This practice ensures | ||
that the wrong local volume is not mistakenly mounted, even if its device path | ||
changes (e.g. if /dev/sda1 becomes /dev/sdb1 when a new disk is added). | ||
Additionally, this practice will ensure that if another node with the | ||
same name is created, that any volumes on that node are unique and not | ||
mistaken for a volume on another node with the same name. | ||
* For raw block volumes without a filesystem, use a unique ID as the symlink | ||
name. Depending on your environment, the volume's ID in `/dev/disk/by-id/` | ||
may contain a unique hardware serial number. Otherwise, a unique ID should be | ||
generated. The uniqueness of the symlink name will ensure that if another | ||
node with the same name is created, that any volumes on that node are | ||
unique and not mistaken for a volume on another node with the same name. |
Oops, something went wrong.