-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BE-5194 Improve Kubernete (helm deploy) documents (#777)
- Loading branch information
1 parent
0cc3d96
commit da8ea8a
Showing
16 changed files
with
510 additions
and
576 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
11 changes: 11 additions & 0 deletions
11
...e/install-server/helm-chart/configuration/_apply-helm-configuration-changes.mdx
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
To apply configuration changes to the Appcircle server installation, update the Helm release with the new configuration using the following command: | ||
|
||
:::info | ||
The namespace, release name, and Helm repository name in the example command below are written for the example installation document. If you have changed these values while installing the Appcircle server, adjust the values if required. | ||
::: | ||
|
||
```bash | ||
helm upgrade appcircle-server appcircle/appcircle \ | ||
-n appcircle \ | ||
-f values.yaml | ||
``` |
693 changes: 169 additions & 524 deletions
693
...ted-appcircle/install-server/helm-chart/configuration/advanced-configuration.md
Large diffs are not rendered by default.
Oops, something went wrong.
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
81 changes: 81 additions & 0 deletions
81
...sted-appcircle/install-server/helm-chart/configuration/ingress-configuration.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
--- | ||
title: Ingress Configuration | ||
description: Learn how to configure Ingress | ||
tags: [self-hosted, helm, configuration, kubernetes] | ||
sidebar_position: 60 | ||
--- | ||
|
||
import NeedHelp from '@site/docs/\_need-help.mdx'; | ||
import ApplyHelmConfigurationChanges from '@site/docs/self-hosted-appcircle/install-server/helm-chart/configuration/\_apply-helm-configuration-changes.mdx'; | ||
|
||
## Overview | ||
|
||
The Appcircle Helm chart includes an Ingress controller, specifically ingress-nginx, which is enabled by default. For production environments, it is recommended to use your own Ingress controller for better control and customization. | ||
|
||
## Appcircle Default Ingress-NGINX Configuration | ||
|
||
The default `ingress-nginx` configuration in the `values.yaml` file includes several parameters that apply globally to the Ingress controller. These configurations can be adjusted as needed to fit your deployment requirements. If you are using your own Ingress controller, you can configure these values globally or on a per-Ingress basis for Appcircle ingresses. | ||
|
||
Default Configurations in `values.yaml` of the Appcircle server Helm chart: | ||
|
||
```yaml | ||
ingress-nginx: | ||
controller: | ||
config: | ||
proxy-body-size: '4096m' | ||
client-body-buffer-size: '128k' | ||
proxy-connect-timeout: '600' | ||
proxy-send-timeout: '600' | ||
proxy-read-timeout: '600' | ||
proxy-buffer-size: '128k' | ||
proxy-buffers-number: '4' | ||
proxy-busy-buffers-size: '128k' | ||
``` | ||
You can change the default values of the Ingress controller that is installed with the Appcircle Helm chart as your needs dictate. | ||
<ApplyHelmConfigurationChanges /> | ||
## Configuring Ingress Annotations | ||
Adding per-Ingress annotations is recommended for external Ingress controllers. By setting annotations per Ingress, you can fine-tune the behavior of specific Appcircle services without impacting the entire Ingress controller. | ||
Example Ingress configurations for `values.yaml` of the Appcircle server Helm chart: | ||
|
||
```yaml | ||
# For APK, IPA, build artifact uploads from browsers and Appcircle runners | ||
apigateway: | ||
ingress: | ||
annotations: | ||
# For Ingres-Nginx Controller | ||
nginx.ingress.kubernetes.io/proxy-body-size: "4096m" | ||
nginx.ingress.kubernetes.io/client-body-buffer-size: "128k" | ||
nginx.ingress.kubernetes.io/proxy-connect-timeout: "600" | ||
nginx.ingress.kubernetes.io/proxy-send-timeout: "600" | ||
nginx.ingress.kubernetes.io/proxy-read-timeout: "600" | ||
nginx.ingress.kubernetes.io/proxy-buffer-size: "128k" | ||
nginx.ingress.kubernetes.io/proxy-buffers-number: "4" | ||
nginx.ingress.kubernetes.io/proxy-busy-buffers-size: "128k" | ||
# For build cache uploads from Appcircle runners | ||
resource: | ||
ingress: | ||
annotations: | ||
# For Ingres-Nginx Controller | ||
nginx.ingress.kubernetes.io/proxy-body-size: "4096m" | ||
nginx.ingress.kubernetes.io/client-body-buffer-size: "128k" | ||
nginx.ingress.kubernetes.io/proxy-connect-timeout: "600" | ||
nginx.ingress.kubernetes.io/proxy-send-timeout: "600" | ||
nginx.ingress.kubernetes.io/proxy-read-timeout: "600" | ||
nginx.ingress.kubernetes.io/proxy-buffer-size: "128k" | ||
nginx.ingress.kubernetes.io/proxy-buffers-number: "4" | ||
nginx.ingress.kubernetes.io/proxy-busy-buffers-size: "128k" | ||
``` | ||
|
||
:::tip | ||
If you are using an ingress controller other than `ingress-nginx`, please refer to the documentation for your specific ingress controller to find the relevant configurations. Each ingress controller may have different annotations and settings to achieve similar functionality. | ||
::: | ||
|
||
<ApplyHelmConfigurationChanges /> | ||
|
||
<NeedHelp /> |
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
34 changes: 0 additions & 34 deletions
34
...appcircle/install-server/helm-chart/configuration/request-size-configuration.md
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.