-
Notifications
You must be signed in to change notification settings - Fork 20
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
Doc prod deployment #126
base: master
Are you sure you want to change the base?
Doc prod deployment #126
Conversation
003c879
to
560db1f
Compare
560db1f
to
ae5b5b0
Compare
@@ -0,0 +1,261 @@ | |||
# Details of deploying `diracx` in production | |||
|
|||
The aim of this documentation is to give pointers on how to install the `diracx-charts` longside an existing `DIRAC` installation. |
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.
The aim of this documentation is to give pointers on how to install the `diracx-charts` longside an existing `DIRAC` installation. | |
The aim of this documentation is to give pointers on how to install the `diracx-charts` alongside an existing `DIRAC` installation. |
|
||
Effectively, this means that you will be using your existing databases (`MySQL`, `OpenSearch`), and just install the new dependencies of `diracx`. | ||
|
||
We go here with the assumption that you have a `kubernetes` cluster at hand. If you do no have one, see the [k3s example](../k3s/README.md). |
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.
We go here with the assumption that you have a `kubernetes` cluster at hand. If you do no have one, see the [k3s example](../k3s/README.md). | |
We go here with the assumption that you have a `kubernetes` cluster at hand. If you do not have one, see the [k3s example](../k3s/README.md). |
|
||
You can for example use [CERN SSO](SSO.md) as an IdP. | ||
|
||
Note that you still need to have the users registered in `diracx` by filling the `CsSync` section in the CS. |
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.
Do we actually explain that in details anywhere? If yes, may be we should add a link pointing to the CsSync
section in the CS.
## Admin VO | ||
|
||
|
||
A new concept in `diracx` is the `AdminVO`, which has super karma on `diracx` itself but not on the resources the VO use. |
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.
A new concept in `diracx` is the `AdminVO`, which has super karma on `diracx` itself but not on the resources the VO use. | |
A new concept in `diracx` is the `AdminVO`, which has super karma on `diracx` itself but not on the resources the VOs use. |
|
||
A new concept in `diracx` is the `AdminVO`, which has super karma on `diracx` itself but not on the resources the VO use. | ||
|
||
We recommand using the SSO of your institute of it supports it (see [IdP](#idp)). |
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.
We recommand using the SSO of your institute of it supports it (see [IdP](#idp)). | |
We recommand using the SSO of your institute if it supports it (see [IdP](#idp)). |
|
||
We recommend taking the configuration from a git repository (gitlab, github, ...). | ||
|
||
This is controled with the `DIRACX_CONFIG_BACKEND_URL` setting. |
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.
This is controled with the `DIRACX_CONFIG_BACKEND_URL` setting. | |
This is controlled with the `DIRACX_CONFIG_BACKEND_URL` setting. |
|
||
The Sandbox needs to be an object store. We highly recommend that you use one provided by your institute. | ||
|
||
The connections parameters are controlled with |
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.
The connections parameters are controlled with | |
The connections parameters are controlled with: |
JobDB: | ||
``` | ||
|
||
You can chose whether you prefer to create the DB yourself or let `diracx` do it. |
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.
You can chose whether you prefer to create the DB yourself or let `diracx` do it. | |
You can choose whether you prefer to create the DB yourself or let `diracx` do it. |
enabled: fase | ||
``` | ||
|
||
The command being executed is |
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.
The command being executed is | |
The command being executed is: |
|
||
|
||
Note that these options will generate mysql urls only. Should you need another DB, | ||
you should write the URL yourself in the settings, for example |
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.
you should write the URL yourself in the settings, for example | |
you should write the URL yourself in the settings, for example: |
``` | ||
|
||
|
||
You can chose to initialize the DBs yourself or let `diracx` do it. |
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.
You can chose to initialize the DBs yourself or let `diracx` do it. | |
You can choose to initialize the DBs yourself or let `diracx` do it. |
enabled: true | ||
``` | ||
|
||
The command executed is |
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.
The command executed is | |
The command executed is: |
|
||
It will make sure to generate the appropriate settings from the db configurations, generate token signing keys if not present, etc | ||
|
||
We recommend you leave it to `true`. |
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.
We recommend you leave it to `true`. | |
We recommend you to leave it to `true`. |
No description provided.