Fix broken doc in consul-k8s upgrade (#16852)

Signed-off-by: dttung2905 <ttdao.2015@accountancy.smu.edu.sg>
Co-authored-by: David Yu <dyu@hashicorp.com>
This commit is contained in:
Dao Thanh Tung 2023-04-04 05:21:51 +08:00 committed by GitHub
parent 40854125a5
commit 0582f137c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 8 deletions

View File

@ -38,9 +38,9 @@ For example, if you installed Consul with `connectInject.enabled: false` and you
``` ```
**Before performing the upgrade, be sure you read the other sections on this page, **Before performing the upgrade, be sure you read the other sections on this page,
continuing at [Determining What Will Change](#determining-what-will-change).** continuing at [Determine scope of changes](#determine-scope-of-changes).**
~> Note: You should always set the `--version` flag when upgrading Helm. Otherwise Helm uses the most up-to-date version in its local cache, which may result in an unintended upgrade. ~> Note: You should always set the `--version` flag when upgrading Helm. Otherwise, Helm uses the most up-to-date version in its local cache, which may result in an unintended upgrade.
### Upgrade Helm chart version ### Upgrade Helm chart version
@ -87,7 +87,7 @@ If you want to upgrade to the latest `0.40.0` version, use the following procedu
``` ```
**Before performing the upgrade, be sure you've read the other sections on this page, **Before performing the upgrade, be sure you've read the other sections on this page,
continuing at [Determining What Will Change](#determining-what-will-change).** continuing at [Determine scope of changes](#determine-scope-of-changes).**
### Upgrade Consul version ### Upgrade Consul version
@ -126,9 +126,9 @@ to update to the new version. Before you upgrade to a new version:
``` ```
**Before performing the upgrade, be sure you have read the other sections on this page, **Before performing the upgrade, be sure you have read the other sections on this page,
continuing at [Determining What Will Change](#determining-what-will-change).** continuing at [Determine scope of changes](#determine-scope-of-changes).**
~> Note: You should always set the `--version` flag when upgrading Helm. Otherwise Helm uses the most up-to-date version in its local cache, which may result in an unintended upgrade. ~> Note: You should always set the `--version` flag when upgrading Helm. Otherwise, Helm uses the most up-to-date version in its local cache, which may result in an unintended upgrade.
## Determine scope of changes ## Determine scope of changes
@ -175,7 +175,7 @@ that can be used.
Initiate the server upgrade: Initiate the server upgrade:
1. Change the `global.image` value to the desired Consul version. 1. Change the `global.image` value to the desired Consul version.
1. Set the `server.updatePartition` value to the number of server replicas. By default there are 3 servers, so you would set this value to `3`. 1. Set the `server.updatePartition` value to the number of server replicas. By default, there are 3 servers, so you would set this value to `3`.
1. Set the `updateStrategy` for clients to `OnDelete`. 1. Set the `updateStrategy` for clients to `OnDelete`.
<CodeBlockConfig filename="values.yaml"> <CodeBlockConfig filename="values.yaml">