-
Notifications
You must be signed in to change notification settings - Fork 64
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 #839 from run-ai/v2.18-RUN-17656-Workload-Policy-Y…
…aml-Documentation V2.18 run 17656 workload policy yaml documentation
- Loading branch information
Showing
14 changed files
with
324 additions
and
30 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
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
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
# Install the Run:ai Control Plane | ||
# Install the Run:ai Control Plane | ||
|
||
## Prerequisites and preperations | ||
|
||
|
@@ -16,7 +16,7 @@ Run the helm command below: | |
helm upgrade -i runai-backend -n runai-backend runai-backend/control-plane --version "~2.17.0" \ | ||
--set global.domain=<DOMAIN> # (1) | ||
``` | ||
|
||
1. Domain name described [here](prerequisites.md#domain-name). | ||
|
||
!!! Info | ||
|
@@ -29,18 +29,17 @@ Run the helm command below: | |
--set global.customCA.enabled=true \ # (3) | ||
-n runai-backend -f custom-env.yaml # (4) | ||
``` | ||
|
||
1. Replace `<VERSION>` with the Run:ai control plane version. | ||
2. Domain name described [here](prerequisites.md#domain-name). | ||
3. See the Local Certificate Authority instructions below | ||
4. `custom-env.yaml` should have been created by the _prepare installation_ script in the previous section. | ||
|
||
!!! Tip | ||
Use the `--dry-run` flag to gain an understanding of what is being installed before the actual installation. | ||
|
||
|
||
Use the `--dry-run` flag to gain an understanding of what is being installed before the actual installation. | ||
|
||
### Additional configurations (optional) | ||
|
||
There may be cases where you need to set additional properties as follows: | ||
|
||
| Key | Change | Description | | ||
|
@@ -62,8 +61,14 @@ There may be cases where you need to set additional properties as follows: | |
| `grafana.dbPassword` | Grafana database password | Password for the Grafana database user | | ||
| `grafana.adminUser` | Grafana username | Override the Run:ai default user name for accessing Grafana | | ||
| `grafana.adminPassword` | Grafana password | Override the Run:ai default password for accessing Grafana | | ||
| `grafana.dbUser` | Grafana's username for PostgreSQL | Override the Run:ai default user name for Grafana to access Run:ai database (PostgreSQL) | | ||
| `grafana.dbPassword` | Grafana's password for PostgreSQL | Override the Run:ai default password for Grafana to access Run:ai database (PostgreSQL) | | ||
| `grafana.grafana.ini.database.user` | Reference to Grafana's username for PostgreSQL | Don't override this value | | ||
| `grafana.grafana.ini.database.password` | Reference to Grafana's password for PostgreSQL | Don't override this value | | ||
| `tenantsManager.config.adminUsername` | Run:ai first admin username | Override the default user name of the first admin user created with Run:ai | | ||
| `tenantsManager.config.adminPassword` | Run:ai first admin user's password | Override the default password of the first admin user created with Run:ai | | ||
| `thanos.receive.persistence.storageClass` and `postgresql.primary.persistence.storageClass` | Storage class | The installation to work with a specific storage class rather than the default one | | ||
| `<component>` <br>  `resources:` <br>   `limits:` <br>     `cpu: 500m` <br>     `memory: 512Mi` <br>   `requests:` <br>     `cpu: 250m` <br>     `memory: 256Mi` | Pod request and limits | `<component>` may be anyone of the following: `backend`, `frontend`, `assetsService`, `identityManager`, `tenantsManager`, `keycloakx`, `grafana`, `authorization`, `orgUnitService`,`policyService` | | ||
| `<component>` <br>  `resources:` <br>   `limits:` <br>     `cpu: 500m` <br>     `memory: 512Mi` <br>   `requests:` <br>     `cpu: 250m` <br>     `memory: 256Mi` | Pod request and limits | `<component>` may be anyone of the following: `backend`, `frontend`, `assetsService`, `identityManager`, `tenantsManager`, `keycloakx`, `grafana`, `authorization`, `orgUnitService`,`policyService` | | ||
|<div style="width:200px"></div>| | | | ||
|
||
Use the `--set` syntax in the helm command above. | ||
|
@@ -80,24 +85,38 @@ If you have opted to connect to an [external PostgreSQL database](preperations.m | |
* `grafana.dbUser` | ||
* `grafana.dbPassword` | ||
|
||
#### External PostgreSQL database | ||
|
||
If you have opted to connect to an [external PostgreSQL database](preperations.md#external-postgres-database-optional), refer to the additional configurations table below. Adjust the following parameters based on your connection details: | ||
|
||
* `postgresql.enabled` - set to `false` | ||
* `global.postgresql.auth.password` | ||
* `global.postgresql.auth.username` | ||
* `global.postgresql.auth.host` | ||
* `global.postgresql.auth.port` | ||
* `grafana.dbUser` | ||
* `grafana.dbPassword` | ||
|
||
!!! Note | ||
If you modify one of the usernames or passwords (KeyCloak, PostgreSQL, Grafana) after Run:ai is already installed, perform the following steps to apply the change: | ||
|
||
1. Modify the username/password within the relevant component as well (KeyCloak, PostgreSQL, Grafana). | ||
2. Run `helm upgrade` for Run:ai with the right values, and restart the relevant Run:ai pods so they can fetch the new username/password. | ||
|
||
## Next Steps | ||
|
||
### Connect to Run:ai User interface | ||
|
||
Go to: `runai.<domain>`. Log in using the default credentials: User: `[email protected]`, Password: `Abcd!234`. Go to the Users area and change the password. | ||
Go to: `runai.<domain>`. Log in using the default credentials: User: `[email protected]`, Password: `Abcd!234`. Go to the Users area and change the password. | ||
|
||
### Enable Forgot Password (optional) | ||
|
||
To support the *Forgot password* functionality, follow the steps below. | ||
|
||
* Go to `runai.<domain>/auth` and Log in. | ||
* Go to `runai.<domain>/auth` and Log in. | ||
* Under `Realm settings`, select the `Login` tab and enable the `Forgot password` feature. | ||
* Under the `Email` tab, define an SMTP server, as explained [here](https://www.keycloak.org/docs/latest/server_admin/#_email){target=_blank} | ||
|
||
|
||
### Install Run:ai Cluster | ||
Continue with installing a [Run:ai Cluster](cluster.md). | ||
|
||
|
||
|
||
|
||
Continue with installing a [Run:ai Cluster](cluster.md). |
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
Oops, something went wrong.