From 2b5ca7e1b8b32b943c45d56bc1fcd7c5ea51530b Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Sun, 23 Jan 2022 22:31:22 +0700 Subject: [PATCH] docs(tutorials): add some placeholders --- docs/src/SUMMARY.md | 4 +++- docs/src/tutorials/single_node_adjustments.md | 24 +------------------ .../single_node_cluster_adjustments.md | 23 ++++++++++++++++++ 3 files changed, 27 insertions(+), 24 deletions(-) create mode 100644 docs/src/tutorials/single_node_cluster_adjustments.md diff --git a/docs/src/SUMMARY.md b/docs/src/SUMMARY.md index 9a25f476..0e1ea7e3 100644 --- a/docs/src/SUMMARY.md +++ b/docs/src/SUMMARY.md @@ -11,7 +11,9 @@ - [External resources (optional)](./deployment/external_resources.md) - [Troubleshooting](./troubleshooting.md) - [Tutorials]() - - [Single node adjustments](./tutorials/single_node_adjustments.md) + - [Single node cluster adjustments](./tutorials/single_node_cluster_adjustments.md) + - [Add or remove nodes (scale up or down)]() + - [Install new applications]() - [Reference](./reference/README.md) - [Architecture]() - [FAQ](./reference/faq.md) diff --git a/docs/src/tutorials/single_node_adjustments.md b/docs/src/tutorials/single_node_adjustments.md index 16ede883..5764de3a 100644 --- a/docs/src/tutorials/single_node_adjustments.md +++ b/docs/src/tutorials/single_node_adjustments.md @@ -1,23 +1 @@ -# Single node adjustments - -Update the following changes, then commit and push. - -## Reduce Longhorn replica count - -Set the `defaultClassReplicaCount` to 1: - -```yaml -# system/longhorn-system/values.yaml -{{#include ../../../system/longhorn-system/values.yaml}} -``` - -## Disable automated system upgrade - -Because the system upgrade controller will try to drain the node, -the pods will have no place to go on a single node set up. - -Remove the system upgrade controller entirely: - -```sh -rm -rf system/system-upgrade -``` +# Single node cluster adjustments diff --git a/docs/src/tutorials/single_node_cluster_adjustments.md b/docs/src/tutorials/single_node_cluster_adjustments.md new file mode 100644 index 00000000..8415c87a --- /dev/null +++ b/docs/src/tutorials/single_node_cluster_adjustments.md @@ -0,0 +1,23 @@ +# Single node cluster adjustments + +Update the following changes, then commit and push. + +## Reduce Longhorn replica count + +Set the `defaultClassReplicaCount` to 1: + +```yaml +# system/longhorn-system/values.yaml +{{#include ../../../system/longhorn-system/values.yaml}} +``` + +## Disable automated system upgrade + +Because the system upgrade controller will try to drain the node, +the pods will have no place to go on a single node set up. + +Remove the system upgrade controller entirely: + +```sh +rm -rf system/system-upgrade +```