Show More
1 | NO CONTENT: new file 100644, binary diff hidden |
|
NO CONTENT: new file 100644, binary diff hidden |
@@ -0,0 +1,66 b'' | |||||
|
1 | .. _install-kubernetes: | |||
|
2 | ||||
|
3 | RhodeCode Kubernetes Deployment | |||
|
4 | =============================== | |||
|
5 | ||||
|
6 | .. important:: | |||
|
7 | Setup RhodeCode in K8s is in beta testing right now, and our team doing the testing in AWS EKS. | |||
|
8 | If you want to use RhodeCode in K8s and faced problems please reach out to our team in the Community Slack Channel or via ticket if you on the Enterprise license. | |||
|
9 | ||||
|
10 | .. tip:: | |||
|
11 | Requirements: | |||
|
12 | ||||
|
13 | - RhodeCode 5.x | |||
|
14 | - Kubernetes 1.21+ cluster | |||
|
15 | - Helm 3.0+ | |||
|
16 | - NFS shared storage | |||
|
17 | - One of the CSI drivers: NFS CSI / AWS EFS CSI / Azure Files CSI | |||
|
18 | - `prometheus-community.github.io/helm-chart`_ 0.11.0 | |||
|
19 | ||||
|
20 | Diagram of the helm chart components | |||
|
21 | ------------------------------------ | |||
|
22 | ||||
|
23 | .. image:: ../images/helm-chart-diagram.png | |||
|
24 | ||||
|
25 | Installation | |||
|
26 | ------------ | |||
|
27 | ||||
|
28 | 1. Find the latest version of chart by the link `hub.docker.com/r/rhodecode/rhodecode/tags`_ | |||
|
29 | 2. Fetch the latest version of chart and extract values.yaml file. | |||
|
30 | ||||
|
31 | .. code-block:: bash | |||
|
32 | ||||
|
33 | $ export VERSION=0.1.0-alpha.73 | |||
|
34 | $ helm fetch oci://registry-1.docker.io/rhodecode/rhodecode --version ${VERSION} | |||
|
35 | $ tar -zxvf rhodecode-${VERSION}.tgz rhodecode/values.yaml | |||
|
36 | ||||
|
37 | 3. Update values.yaml or create a custom one with values overrides. | |||
|
38 | 4. Install using the values.yaml file: | |||
|
39 | ||||
|
40 | .. code-block:: bash | |||
|
41 | ||||
|
42 | $ helm install rhodecode oci://registry-1.docker.io/rhodecode/rhodecode --version ${VERSION} --create-namespace --namespace rhodecode -f rhodecode/values.yaml | |||
|
43 | ||||
|
44 | Update | |||
|
45 | ------ | |||
|
46 | ||||
|
47 | 1. Change the values.yaml or custome values file using a text editor. | |||
|
48 | 2. Upgrade using the values.yaml file: | |||
|
49 | ||||
|
50 | .. code-block:: bash | |||
|
51 | ||||
|
52 | $ helm upgrade rhodecode oci://registry-1.docker.io/rhodecode/rhodecode --version ${VERSION} --namespace rhodecode -f rhodecode/values.yaml | |||
|
53 | ||||
|
54 | Uninstall | |||
|
55 | --------- | |||
|
56 | ||||
|
57 | .. code-block:: bash | |||
|
58 | ||||
|
59 | $ helm delete rhodecode --namespace rhodecode | |||
|
60 | ||||
|
61 | .. note:: | |||
|
62 | ||||
|
63 | There is known issues with setup on AWS EKS with EFS, please refer to: :ref:`known-issues` | |||
|
64 | ||||
|
65 | .. _prometheus-community.github.io/helm-chart: https://prometheus-community.github.io/helm-chart | |||
|
66 | .. _hub.docker.com/r/rhodecode/rhodecode/tags: https://hub.docker.com/r/rhodecode/rhodecode/tags |
@@ -42,6 +42,7 b' and commit files and |repos| while manag' | |||||
42 | install/quick-start |
|
42 | install/quick-start | |
43 | install/install-database |
|
43 | install/install-database | |
44 | install/install-steps |
|
44 | install/install-steps | |
|
45 | install/install-kubernetes | |||
45 | admin/system-overview |
|
46 | admin/system-overview | |
46 | nix/default-env |
|
47 | nix/default-env | |
47 | admin/system-admin |
|
48 | admin/system-admin |
@@ -115,7 +115,6 b' 5. Check the status of your installation' | |||||
115 | * Set up :ref:`indexing-ref` |
|
115 | * Set up :ref:`indexing-ref` | |
116 | * Familiarise yourself with the :ref:`rhodecode-admin-ref` section. |
|
116 | * Familiarise yourself with the :ref:`rhodecode-admin-ref` section. | |
117 |
|
117 | |||
118 | .. _rhodecode.com/download/: https://rhodecode.com/download/ |
|
|||
119 | .. _rhodecode.com: https://rhodecode.com/ |
|
118 | .. _rhodecode.com: https://rhodecode.com/ | |
120 | .. _rhodecode.com/register: https://rhodecode.com/register/ |
|
119 | .. _rhodecode.com/register: https://rhodecode.com/register/ | |
121 | .. _rhodecode.com/download: https://rhodecode.com/download/ |
|
120 | .. _rhodecode.com/download: https://rhodecode.com/download/ |
@@ -42,6 +42,7 b' Newer Operating system locales' | |||||
42 | the local-archive format, which is now incompatible with our used glibc 2.26. |
|
42 | the local-archive format, which is now incompatible with our used glibc 2.26. | |
43 |
|
43 | |||
44 | Mostly affected are: |
|
44 | Mostly affected are: | |
|
45 | ||||
45 | - Fedora 23+ |
|
46 | - Fedora 23+ | |
46 | - Ubuntu 18.04 |
|
47 | - Ubuntu 18.04 | |
47 | - CentOS / RHEL 8 |
|
48 | - CentOS / RHEL 8 | |
@@ -93,3 +94,24 b' example to pass the correct locale infor' | |||||
93 | [Install] |
|
94 | [Install] | |
94 | WantedBy=multi-user.target |
|
95 | WantedBy=multi-user.target | |
95 |
|
96 | |||
|
97 | ||||
|
98 | Merge stucks in "merging" status | |||
|
99 | -------------------------------- | |||
|
100 | ||||
|
101 | Similar issues: | |||
|
102 | ||||
|
103 | - Pull Request duplicated and/or stucks in "creating" status. | |||
|
104 | ||||
|
105 | Mostly affected are: | |||
|
106 | ||||
|
107 | - Kubernetes AWS EKS setup with NFS as shared storage | |||
|
108 | - AWS EFS as shared storage | |||
|
109 | ||||
|
110 | Workaround: | |||
|
111 | ||||
|
112 | 1. Manually clear the repo cache via UI: | |||
|
113 | :menuselection:`Repository Settings --> Caches --> Invalidate repository cache` | |||
|
114 | ||||
|
115 | 1. Open problematic PR and reset status to "created" | |||
|
116 | ||||
|
117 | Now you can merge PR normally |
@@ -10,20 +10,20 b' Release Date' | |||||
10 | New Features |
|
10 | New Features | |
11 | ^^^^^^^^^^^^ |
|
11 | ^^^^^^^^^^^^ | |
12 |
|
12 | |||
13 |
- We've introduced 2FA for users. Now alongside the external auth 2 |
|
13 | - We've introduced 2FA for users. Now alongside the external auth 2FA support RhodeCode allows to enable 2FA for users. | |
14 | 2FA options will be available for each user individually, or enforced via authentication plugins like ldap, or internal. |
|
14 | 2FA options will be available for each user individually, or enforced via authentication plugins like ldap, or internal. | |
15 | - Email based log-in. RhodeCode now allows to log-in using email as well as username for main authentication type. |
|
15 | - Email based log-in. RhodeCode now allows to log-in using email as well as username for main authentication type. | |
16 | - Ability to replace a file using web UI. Now one can replace an existing file from the web-ui. |
|
16 | - Ability to replace a file using web UI. Now one can replace an existing file from the web-ui. | |
17 | - GIT LFS Sync automation. Remote push/pull commands now can also sync GIT LFS objects. |
|
17 | - GIT LFS Sync automation. Remote push/pull commands now can also sync GIT LFS objects. | |
18 | - Added ability to remove or close branches from the web ui |
|
18 | - Added ability to remove or close branches from the web ui. | |
19 | - Added ability to delete a branch automatically after merging PR for git repositories |
|
19 | - Added ability to delete a branch automatically after merging PR for git repositories. | |
20 |
- Added support for S3 based archive_cache |
|
20 | - Added support for S3 based archive_cache that allows storing cached archives in S3 compatible object store. | |
21 |
|
21 | |||
22 |
|
22 | |||
23 | General |
|
23 | General | |
24 | ^^^^^^^ |
|
24 | ^^^^^^^ | |
25 |
|
25 | |||
26 | - Upgraded all dependency libraries to their latest available versions |
|
26 | - Upgraded all dependency libraries to their latest available versions. | |
27 | - Repository storage is no longer controlled via DB settings, but .ini file. This allows easier automated deployments. |
|
27 | - Repository storage is no longer controlled via DB settings, but .ini file. This allows easier automated deployments. | |
28 | - Bumped mercurial to 6.7.4 |
|
28 | - Bumped mercurial to 6.7.4 | |
29 | - Mercurial: enable httppostarguments for better support of large repositories with lots of heads. |
|
29 | - Mercurial: enable httppostarguments for better support of large repositories with lots of heads. | |
@@ -39,21 +39,21 b' Performance' | |||||
39 | ^^^^^^^^^^^ |
|
39 | ^^^^^^^^^^^ | |
40 |
|
40 | |||
41 | - Introduced a full rewrite of ssh backend for performance. The result is 2-5x speed improvement for operation with ssh. |
|
41 | - Introduced a full rewrite of ssh backend for performance. The result is 2-5x speed improvement for operation with ssh. | |
42 |
|
|
42 | Enable new ssh wrapper by setting: `ssh.wrapper_cmd = /home/rhodecode/venv/bin/rc-ssh-wrapper-v2` | |
43 |
- Introduced a new hooks subsystem that is more scalable and faster, enable it by setting |
|
43 | - Introduced a new hooks subsystem that is more scalable and faster, enable it by setting: `vcs.hooks.protocol = celery` | |
44 |
|
44 | |||
45 |
|
45 | |||
46 | Fixes |
|
46 | Fixes | |
47 | ^^^^^ |
|
47 | ^^^^^ | |
48 |
|
48 | |||
49 | - Archives: Zip archive download breaks when a gitmodules file is present |
|
49 | - Archives: Zip archive download breaks when a gitmodules file is present. | |
50 | - Branch permissions: fixed bug preventing to specify own rules from 4.X install |
|
50 | - Branch permissions: fixed bug preventing to specify own rules from 4.X install. | |
51 | - SVN: refactored svn events, thus fixing support for it in dockerized env |
|
51 | - SVN: refactored svn events, thus fixing support for it in dockerized environment. | |
52 | - Fixed empty server url in PR link after push from cli |
|
52 | - Fixed empty server url in PR link after push from cli. | |
53 |
|
53 | |||
54 |
|
54 | |||
55 | Upgrade notes |
|
55 | Upgrade notes | |
56 | ^^^^^^^^^^^^^ |
|
56 | ^^^^^^^^^^^^^ | |
57 |
|
57 | |||
58 | - RhodeCode 5.1.0 is a mayor feature release after big 5.0.0 python3 migration. Happy to ship a first time feature |
|
58 | - RhodeCode 5.1.0 is a mayor feature release after big 5.0.0 python3 migration. Happy to ship a first time feature- | |
59 | rich release |
|
59 | rich release. |
General Comments 0
You need to be logged in to leave comments.
Login now