|
1 | 1 | import React, { FC } from 'react';
|
| 2 | +import { Typography } from 'antd'; |
2 | 3 | import classNames from 'classnames';
|
3 | 4 | import { Link } from '@app/components';
|
4 | 5 | import { createBemBlockBuilder } from '@app/utils';
|
5 | 6 |
|
| 7 | +import { Notice } from '../Notice'; |
| 8 | + |
6 | 9 | import '../InstallationPage.scss';
|
7 | 10 |
|
8 | 11 | export const KubernetesContent: FC = () => {
|
9 | 12 | const getBlocksWith = createBemBlockBuilder(['installation']);
|
| 13 | + const { Text } = Typography; |
10 | 14 |
|
11 | 15 | return (
|
12 | 16 | <div className={getBlocksWith('__wrapper')}>
|
13 | 17 | <div className={getBlocksWith('__chapter')}>Step 1</div>
|
14 |
| - <h3 className={getBlocksWith('__title-content')}>Configure and deploy ReportPortal</h3> |
| 18 | + <h3 className={getBlocksWith('__title-content')}>Install the Helm chart</h3> |
15 | 19 | <p>
|
16 | 20 | We use Helm package manager charts to bootstrap a ReportPortal deployment on a Kubernetes
|
17 | 21 | cluster.
|
18 | 22 | </p>
|
| 23 | + <h3>Prerequisites</h3> |
| 24 | + <Notice>Min requirements for a ReportPortal 1-node solution: 2 CPUs and 6Gi of memory</Notice> |
| 25 | + <p>Required versions:</p> |
| 26 | + <ul className={classNames(getBlocksWith('__list'), getBlocksWith('__main-list'))}> |
| 27 | + <li>Kubernetes v1.26+</li> |
| 28 | + <li>Helm Package Manager v3.4+</li> |
| 29 | + </ul> |
| 30 | + <h3>Chart installation</h3> |
| 31 | + <p>Add the official ReportPortal Helm Chart repository:</p> |
| 32 | + <Text className={getBlocksWith('__code')} code copyable> |
| 33 | + helm repo add reportportal https://reportportal.io/kubernetes && helm repo update |
| 34 | + reportportal |
| 35 | + </Text> |
| 36 | + <p>Install the chart:</p> |
| 37 | + <Text className={getBlocksWith('__code')} code copyable> |
| 38 | + helm install my-release --set uat.superadminInitPasswd.password="MyPassword" |
| 39 | + reportportal/reportportal |
| 40 | + </Text> |
| 41 | + <Notice title="NOTE"> |
| 42 | + Upon the initial installation and the first login of the SuperAdmin, they will be required |
| 43 | + to create a unique initial password, distinct from the default password provided in the |
| 44 | + ReportPortal installation documentation. Failure to do so will result in the Auth service |
| 45 | + not starting |
| 46 | + </Notice> |
| 47 | + <br /> |
| 48 | + <p> |
| 49 | + To <b>uninstall</b> the chart use the following command: |
| 50 | + </p> |
| 51 | + <Text className={getBlocksWith('__code')} code copyable> |
| 52 | + helm uninstall my-release |
| 53 | + </Text> |
19 | 54 | <p>
|
20 |
| - Kubernetes/Helm configs for ReportPortal installation can be find via the following link:{' '} |
21 |
| - </p>{' '} |
22 |
| - <Link |
23 |
| - className={classNames(getBlocksWith('__link'), getBlocksWith('__link-breakable'))} |
24 |
| - to="https://github.com/reportportal/kubernetes/tree/develop/reportportal" |
25 |
| - > |
26 |
| - https://github.com/reportportal/kubernetes/tree/develop/reportportal |
27 |
| - </Link> |
| 55 | + To customize your chart, follow the instructions in the{' '} |
| 56 | + <Link |
| 57 | + className={classNames(getBlocksWith('__link'))} |
| 58 | + to="https://github.com/reportportal/kubernetes/blob/develop/reportportal/README.md#configuration" |
| 59 | + > |
| 60 | + Configuration section |
| 61 | + </Link>{' '} |
| 62 | + Configuration section on GitHub. |
| 63 | + </p> |
28 | 64 | </div>
|
29 | 65 | );
|
30 | 66 | };
|
0 commit comments