Skip to content
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

fix(docs): correct the k8s docs for custom database and storage #1048

Merged
merged 1 commit into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 15 additions & 3 deletions content/docs/02.installation/04.kubernetes-aws-eks.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ configuration:
kestra:
queue:
type: postgres
repository:
type: postgres
repository:
type: postgres
datasources:
postgres:
url: jdbc:postgresql://<your-rds-url-endpoint>:5432/kestra
Expand All @@ -58,6 +58,12 @@ configuration:
password: your_password
```

Also, disable the postgres pod by changing `enabled` value in the postgres section from `true` to `false` in the same file.
```yaml
postgres:
enabled: false
```

And here is how you can add S3 configuration in the [Helm chart's values](https://github.com/kestra-io/helm-charts/blob/master/charts/kestra/values.yaml#L11):

```yaml
Expand All @@ -72,7 +78,13 @@ configuration:
bucket: "<your-s3-bucket-name>"
```

Paste the values above into `values.yml` and apply these configurations using the following command:
Also, disable the minio pod by changing `enabled` value in the minio section from `true` to `false` in the same file.
```yaml
minio:
enabled: false
```

Apply these configurations using the following command:

```bash
helm upgrade kestra kestra/kestra -f values.yaml
Expand Down
18 changes: 15 additions & 3 deletions content/docs/02.installation/05.kubernetes-gcp-gke.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ configuration:
kestra:
queue:
type: postgres
repository:
type: postgres
repository:
type: postgres
datasources:
postgres:
url: jdbc:postgresql://<your-db-external-endpoint>:5432/<db_name>
Expand All @@ -124,6 +124,12 @@ configuration:
password: <your-password>
```

Also, disable the postgres pod by changing `enabled` value in the postgres section from `true` to `false` in the same file.
```yaml
postgres:
enabled: false
```

In order for the changes to take effect, run the `helm upgrade` command as:

```shell
Expand All @@ -144,7 +150,7 @@ By default, internal storage is implemented using the local file system. This se
6. On the newly created service account page, go to the `Keys` tab at the top of the page and click on `Add Key.` From the dropdown, select `Create New Key`.
7. Select the Key type as `JSON` and click on `Create`. The JSON key file for the service account will get downloaded.
8. We will be using the stringified JSON for our configuration. You can use the bash command `% cat <path_to_json_file> | jq '@json'` to generate stringified JSON.
9. Edit Kestra storage configuration.
9. Edit Kestra storage configuration in the [Helm chart's values](https://github.com/kestra-io/helm-charts/blob/master/charts/kestra/values.yaml#L11).

```yaml
configuration:
Expand All @@ -157,6 +163,12 @@ configuration:
serviceAccount: "<stringified-json-file-contents>"
```

Also, disable the minio pod by changing `enabled` value in the minio section from `true` to `false` in the same file.
```yaml
minio:
enabled: false
```

In order for the changes to take effect, run the `helm upgrade` command as:

```shell
Expand Down
16 changes: 14 additions & 2 deletions content/docs/02.installation/06.kubernetes-azure-aks.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ configuration:
kestra:
queue:
type: postgres
repository:
type: postgres
repository:
type: postgres
datasources:
postgres:
url: jdbc:postgresql://<your-db-external-endpoint>:5432/<db_name>
Expand All @@ -100,6 +100,12 @@ configuration:
password: <your-password>
```

Also, disable the postgres pod by changing `enabled` value in the postgres section from `true` to `false` in the same file.
```yaml
postgres:
enabled: false
```

In order for the changes to take effect, run the `helm upgrade` command as:

```shell
Expand Down Expand Up @@ -136,6 +142,12 @@ configuration:
connectionString: "<your-connection-string>"
```

Also, disable the postgres pod by changing `enabled` value in the minio section from `true` to `false` in the same file.
```yaml
minio:
enabled: false
```

In order for the changes to take effect, run the `helm upgrade` command as:

```shell
Expand Down