-
Notifications
You must be signed in to change notification settings - Fork 270
DOC-4561 fixes for RDI Helm docs #882
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
4 commits
Select commit
Hold shift + click to select a range
29301ce
DOC-4561 added suggested fixes
andy-stark-redis 143aa6a
DOC-4561 added further fixes suggested by Yaron
andy-stark-redis 4995469
DOC-4561 changed note about Redis Insight
andy-stark-redis 807292b
DOC-4561 implemented feedback
andy-stark-redis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
|
|
@@ -94,7 +94,7 @@ To pull images from a local registry, you must provide the image pull secret and | |
| 1. Decompress the tar file: | ||
|
|
||
| ```bash | ||
| tar -xvf rdi-k8s-<rdi-tag>.tar.gz | ||
| tar -xvf rdi-<rdi-tag>.tar.gz | ||
| ``` | ||
|
|
||
| 1. Open the `values.yaml` file and set the appropriate values for your installation | ||
|
|
@@ -104,13 +104,32 @@ To pull images from a local registry, you must provide the image pull secret and | |
| 1. Start the installation: | ||
|
|
||
| ```bash | ||
| helm install <The logical chart name> rdi-k8s/<rdi-tag>/helm --create-namespace -n rdi | ||
| helm install <The logical chart name> ./rdi --create-namespace -n rdi | ||
| ``` | ||
|
|
||
| ### The `values.yaml` file | ||
|
|
||
| The annotated [`values.yaml`](https://helm.sh/docs/topics/charts/#templates-and-values) | ||
| file below describes the values you can set for the RDI Helm installation: | ||
| file below describes the values you can set for the RDI Helm installation. | ||
|
|
||
| Note that if you want to use | ||
| [Redis Insight]({{< relref "/develop/tools/insight/rdi-connector" >}}) | ||
| to connect to your RDI deployment and you are using TLS, make sure you | ||
| uncomment the `RDI_API_AUTH_ENABLED` line in the default `values.yaml`: | ||
|
||
|
|
||
| ```yaml | ||
| # Enable authentication for the RDI API. | ||
| RDI_API_AUTH_ENABLED: "1" | ||
| ``` | ||
|
|
||
| You must also set the appropriate value for `JWT_SECRET_KEY`: | ||
|
|
||
| ```yaml | ||
| # The key used to encrypt the JWT token used by RDI API. | ||
| JWT_SECRET_KEY: "yourKey" | ||
| ``` | ||
|
|
||
| The full `values.yaml` file is shown below: | ||
|
|
||
| ```yaml | ||
| # Default RDI values in YAML format. | ||
|
|
@@ -134,7 +153,7 @@ global: | |
|
|
||
| image: | ||
| # Overrides the image tag for all RDI components. | ||
| tag: 0.0.0 | ||
| # tag: 0.0.0 | ||
|
|
||
| # If using a private repository, update the default values accordingly. | ||
| # Docker registry. | ||
|
|
@@ -436,11 +455,10 @@ NAME NAMESPACE REVISION UPDATED STATUS CHA | |
| <logical_chart_name> rdi 1 2024-10-10 16:53... +0300 IDT deployed rdi-1.0.0 | ||
| ``` | ||
|
|
||
|
|
||
| Also, check that the following pods have `Running` status: | ||
|
|
||
| ```bash | ||
| sudo k3s kubectl get pod -n rdi | ||
| kubectl get pod -n rdi | ||
|
|
||
| NAME READY STATUS RESTARTS AGE | ||
| rdi-api-<id> 1/1 Running 0 29m | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like a tab character was used before "tar". I suggest replacing this with spaces. Here's an octal dump of the above snippet:
In VS Code, the tar line does not line up with the indent of the line above.
Doesn't look like this affects the display, so consider it a quality of life change. :)