Add latest changes from gitlab-org/gitlab@master
This commit is contained in:
		
							parent
							
								
									3cd08f4bf9
								
							
						
					
					
						commit
						dcce066c50
					
				|  | @ -3,10 +3,9 @@ | ||||||
| # | # | ||||||
| # For a list of all options, see https://errata-ai.github.io/vale/styles/ | # For a list of all options, see https://errata-ai.github.io/vale/styles/ | ||||||
| extends: substitution | extends: substitution | ||||||
| message: Use `%s` instead of `%s`. | message: Use "%s" instead of "%s". | ||||||
| link: https://about.gitlab.com/handbook/communication/#top-misused-terms | link: https://about.gitlab.com/handbook/communication/#top-misused-terms | ||||||
| level: warning | level: error | ||||||
| nonword: true |  | ||||||
| ignorecase: true | ignorecase: true | ||||||
| swap: | swap: | ||||||
|   GitLabber: GitLab team member |   GitLabber: GitLab team member | ||||||
|  |  | ||||||
|  | @ -98,9 +98,9 @@ If a new subscription would cause the total number of subscription to exceed the | ||||||
| limit, the subscription will be considered invalid. | limit, the subscription will be considered invalid. | ||||||
| 
 | 
 | ||||||
| - On GitLab.com different [limits are defined per plan](../user/gitlab_com/index.md#gitlab-cicd) and they affect all projects under that plan. | - On GitLab.com different [limits are defined per plan](../user/gitlab_com/index.md#gitlab-cicd) and they affect all projects under that plan. | ||||||
| - On [GitLab Starter](https://about.gitlab.com/pricing/#self-managed) tier or higher self-hosted installations, this limit is defined for the `default` plan that affects all projects. | - On [GitLab Starter](https://about.gitlab.com/pricing/#self-managed) tier or higher self-managed installations, this limit is defined for the `default` plan that affects all projects. | ||||||
| 
 | 
 | ||||||
| To set this limit on a self-hosted installation, run the following in the | To set this limit on a self-managed installation, run the following in the | ||||||
| [GitLab Rails console](https://docs.gitlab.com/omnibus/maintenance/#starting-a-rails-console-session): | [GitLab Rails console](https://docs.gitlab.com/omnibus/maintenance/#starting-a-rails-console-session): | ||||||
| 
 | 
 | ||||||
| ```ruby | ```ruby | ||||||
|  |  | ||||||
|  | @ -937,6 +937,9 @@ This could result in some unexpected behavior, including: | ||||||
| 
 | 
 | ||||||
| `rules` allows for a list of individual rule objects to be evaluated | `rules` allows for a list of individual rule objects to be evaluated | ||||||
| *in order*, until one matches and dynamically provides attributes to the job. | *in order*, until one matches and dynamically provides attributes to the job. | ||||||
|  | Note that `rules` cannot be used in combination with `only/except` since it is intended | ||||||
|  | to replace that functionality. If you attempt to do this the linter will return a | ||||||
|  | `key may not be used with rules` error. | ||||||
| 
 | 
 | ||||||
| Available rule clauses include: | Available rule clauses include: | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -112,17 +112,15 @@ end | ||||||
| 
 | 
 | ||||||
| ### Subscription Plans | ### Subscription Plans | ||||||
| 
 | 
 | ||||||
| Self-hosted: | Self-managed: | ||||||
| 
 | 
 | ||||||
| - `default` - Everyone | - `default` - Everyone | ||||||
| 
 | 
 | ||||||
| Hosted: | GitLab.com: | ||||||
| 
 | 
 | ||||||
| - `free` - Everyone | - `free` - Everyone | ||||||
| - `bronze`- Namespaces with a Bronze subscription | - `bronze`- Namespaces with a Bronze subscription | ||||||
| - `silver` - Namespaces with a Silver subscription | - `silver` - Namespaces with a Silver subscription | ||||||
| - `gold` - Namespaces with a Gold subscription | - `gold` - Namespaces with a Gold subscription | ||||||
| 
 | 
 | ||||||
| NOTE: **Note:** Hosted plans exist only on GitLab.com. |  | ||||||
| 
 |  | ||||||
| NOTE: **Note:** The test environment doesn't have any plans. | NOTE: **Note:** The test environment doesn't have any plans. | ||||||
|  |  | ||||||
|  | @ -9,42 +9,43 @@ pipeline](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/6665). | ||||||
| 
 | 
 | ||||||
| ```mermaid | ```mermaid | ||||||
| graph TD | graph TD | ||||||
|     build-qa-image -->|once the `prepare` stage is done| gitlab:assets:compile |   A["build-qa-image, gitlab:assets:compile pull-cache<br/>(canonical default refs only)"]; | ||||||
|     gitlab:assets:compile -->|once the `gitlab:assets:compile` job is done| review-build-cng |   B[review-build-cng]; | ||||||
|     review-build-cng -.->|triggers a CNG-mirror pipeline and wait for it to be done| CNG-mirror |   C[review-deploy]; | ||||||
|     CNG-mirror -.->|polls until completed| review-build-cng |   D[CNG-mirror]; | ||||||
|     review-build-cng -->|once the `review-build-cng` job is done| review-deploy |   E[review-qa-smoke]; | ||||||
|     review-deploy -->|once the `review-deploy` job is done| review-qa-smoke |  | ||||||
| 
 | 
 | ||||||
| subgraph "1. gitlab-foss/gitlab `prepare` stage" |   A -->|once the `prepare` stage is done| B | ||||||
|     build-qa-image |   B -.->|triggers a CNG-mirror pipeline and wait for it to be done| D | ||||||
|     end |   D -.->|polls until completed| B | ||||||
|  |   B -->|once the `review-build-cng` job is done| C | ||||||
|  |   C -->|once the `review-deploy` job is done| E | ||||||
| 
 | 
 | ||||||
| subgraph "2. gitlab-foss/gitlab `test` stage" | subgraph "1. gitlab `prepare` stage" | ||||||
|     gitlab:assets:compile |   A | ||||||
|     end |   end | ||||||
| 
 | 
 | ||||||
| subgraph "3. gitlab-foss/gitlab `review-prepare` stage" | subgraph "2. gitlab `review-prepare` stage" | ||||||
|     review-build-cng |   B | ||||||
|     end |   end | ||||||
| 
 | 
 | ||||||
| subgraph "4. gitlab-foss/gitlab `review` stage" | subgraph "3. gitlab `review` stage" | ||||||
|     review-deploy["review-deploy<br><br>Helm deploys the Review App using the Cloud<br/>Native images built by the CNG-mirror pipeline.<br><br>Cloud Native images are deployed to the `review-apps-ce` or `review-apps-ee`<br>Kubernetes (GKE) cluster, in the GCP `gitlab-review-apps` project."] |   C["review-deploy<br><br>Helm deploys the Review App using the Cloud<br/>Native images built by the CNG-mirror pipeline.<br><br>Cloud Native images are deployed to the `review-apps-ce` or `review-apps-ee`<br>Kubernetes (GKE) cluster, in the GCP `gitlab-review-apps` project."] | ||||||
|     end |   end | ||||||
| 
 | 
 | ||||||
| subgraph "5. gitlab-foss/gitlab `qa` stage" | subgraph "4. gitlab `qa` stage" | ||||||
|     review-qa-smoke[review-qa-smoke<br><br>gitlab-qa runs the smoke suite against the Review App.] |   E[review-qa-smoke<br><br>gitlab-qa runs the smoke suite against the Review App.] | ||||||
|     end |   end | ||||||
| 
 | 
 | ||||||
| subgraph "CNG-mirror pipeline" | subgraph "CNG-mirror pipeline" | ||||||
|     CNG-mirror>Cloud Native images are built]; |   D>Cloud Native images are built]; | ||||||
|     end |   end | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
| ### Detailed explanation | ### Detailed explanation | ||||||
| 
 | 
 | ||||||
| 1. On every [pipeline][gitlab-pipeline] during the `test` stage, the | 1. On every [pipeline][gitlab-pipeline] during the `test` stage, the | ||||||
|    [`gitlab:assets:compile`][gitlab:assets:compile] job is automatically started. |    [`gitlab:assets:compile`][gitlab:assets:compile pull-cache] job is automatically started. | ||||||
|    - Once it's done, it starts the [`review-build-cng`][review-build-cng] |    - Once it's done, it starts the [`review-build-cng`][review-build-cng] | ||||||
|      manual job since the [`CNG-mirror`][cng-mirror] pipeline triggered in the |      manual job since the [`CNG-mirror`][cng-mirror] pipeline triggered in the | ||||||
|      following step depends on it. |      following step depends on it. | ||||||
|  | @ -223,7 +224,7 @@ failing to cleanup stale Review Apps and Kubernetes resources. | ||||||
| 
 | 
 | ||||||
| **Where to look for further debugging:** | **Where to look for further debugging:** | ||||||
| 
 | 
 | ||||||
| Look at the latest `schedule:review-cleanup` job log, and identify look for any | Look at the latest `review-cleanup` job log, and identify look for any | ||||||
| unexpected failure. | unexpected failure. | ||||||
| 
 | 
 | ||||||
| ### p99 CPU utilization is at 100% for most of the nodes and/or many components | ### p99 CPU utilization is at 100% for most of the nodes and/or many components | ||||||
|  | @ -388,10 +389,10 @@ find a way to limit it to only us.** | ||||||
| - [Stern](https://github.com/wercker/stern) - enables cross pod log tailing based on label/field selectors | - [Stern](https://github.com/wercker/stern) - enables cross pod log tailing based on label/field selectors | ||||||
| 
 | 
 | ||||||
| [charts-1068]: https://gitlab.com/gitlab-org/charts/gitlab/issues/1068 | [charts-1068]: https://gitlab.com/gitlab-org/charts/gitlab/issues/1068 | ||||||
| [gitlab-pipeline]: https://gitlab.com/gitlab-org/gitlab-foss/pipelines/44362587 | [gitlab-pipeline]: https://gitlab.com/gitlab-org/gitlab/pipelines/125315730 | ||||||
| [gitlab:assets:compile]: https://gitlab.com/gitlab-org/gitlab-foss/-/jobs/149511610 | [gitlab:assets:compile pull-cache]: https://gitlab.com/gitlab-org/gitlab/-/jobs/467724487 | ||||||
| [review-build-cng]: https://gitlab.com/gitlab-org/gitlab-foss/-/jobs/149511623 | [review-build-cng]: https://gitlab.com/gitlab-org/gitlab/-/jobs/467724808 | ||||||
| [review-deploy]: https://gitlab.com/gitlab-org/gitlab-foss/-/jobs/149511624 | [review-deploy]: https://gitlab.com/gitlab-org/gitlab/-/jobs/467724810 | ||||||
| [cng-mirror]: https://gitlab.com/gitlab-org/build/CNG-mirror | [cng-mirror]: https://gitlab.com/gitlab-org/build/CNG-mirror | ||||||
| [cng]: https://gitlab.com/gitlab-org/build/CNG | [cng]: https://gitlab.com/gitlab-org/build/CNG | ||||||
| [cng-mirror-pipeline]: https://gitlab.com/gitlab-org/build/CNG-mirror/pipelines/44364657 | [cng-mirror-pipeline]: https://gitlab.com/gitlab-org/build/CNG-mirror/pipelines/44364657 | ||||||
|  |  | ||||||
|  | @ -489,6 +489,7 @@ Supported applications: | ||||||
| - [Cilium](#install-cilium-using-gitlab-ci) | - [Cilium](#install-cilium-using-gitlab-ci) | ||||||
| - [JupyterHub](#install-jupyterhub-using-gitlab-ci) | - [JupyterHub](#install-jupyterhub-using-gitlab-ci) | ||||||
| - [Elastic Stack](#install-elastic-stack-using-gitlab-ci) | - [Elastic Stack](#install-elastic-stack-using-gitlab-ci) | ||||||
|  | - [Crossplane](#install-crossplane-using-gitlab-ci) | ||||||
| 
 | 
 | ||||||
| ### Usage | ### Usage | ||||||
| 
 | 
 | ||||||
|  | @ -827,6 +828,30 @@ available configuration options. | ||||||
| NOTE: **Note:** | NOTE: **Note:** | ||||||
| In this alpha implementation of installing Elastic Stack through CI, reading the environment logs through Elasticsearch is unsupported. This is supported if [installed via the UI](#elastic-stack). | In this alpha implementation of installing Elastic Stack through CI, reading the environment logs through Elasticsearch is unsupported. This is supported if [installed via the UI](#elastic-stack). | ||||||
| 
 | 
 | ||||||
|  | ### Install Crossplane using GitLab CI | ||||||
|  | 
 | ||||||
|  | > [Introduced](https://gitlab.com/gitlab-org/cluster-integration/cluster-applications/-/merge_requests/68) in GitLab 12.9. | ||||||
|  | 
 | ||||||
|  | Crossplane is installed using GitLab CI by defining configuration in | ||||||
|  | `.gitlab/managed-apps/config.yaml`. | ||||||
|  | 
 | ||||||
|  | The following configuration is required to install Crossplane using GitLab CI: | ||||||
|  | 
 | ||||||
|  | ```yaml | ||||||
|  | Crossplane: | ||||||
|  |   installed: true | ||||||
|  | ``` | ||||||
|  | 
 | ||||||
|  | Crossplane is installed into the `gitlab-managed-apps` namespace of your cluster. | ||||||
|  | 
 | ||||||
|  | You can check the default [values.yaml](https://github.com/crossplane/crossplane/blob/master/cluster/charts/crossplane/values.yaml.tmpl) we set for this chart. | ||||||
|  | 
 | ||||||
|  | You can customize the installation of Crossplane by defining | ||||||
|  | `.gitlab/managed-apps/crossplane/values.yaml` file in your cluster | ||||||
|  | management project. Refer to the | ||||||
|  | [chart](https://github.com/crossplane/crossplane/tree/master/cluster/charts/crossplane#configuration) for the | ||||||
|  | available configuration options. Note that this link points to the docs for the current development release, which may differ from the version you have installed. You can check out a specific version in the branch/tag switcher. | ||||||
|  | 
 | ||||||
| ## Upgrading applications | ## Upgrading applications | ||||||
| 
 | 
 | ||||||
| > [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/24789) in GitLab 11.8. | > [Introduced](https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/24789) in GitLab 11.8. | ||||||
|  |  | ||||||
|  | @ -35,7 +35,7 @@ If you need to migrate all data over, you can leverage our [API](../../../api/RE | ||||||
| The order of assets to migrate from a self-managed instance to GitLab.com is the following: | The order of assets to migrate from a self-managed instance to GitLab.com is the following: | ||||||
| 
 | 
 | ||||||
| NOTE: **Note:** | NOTE: **Note:** | ||||||
| When migrating to GitLab.com, users would need to be manually created unless [SCIM](../../../user/group/saml_sso/scim_setup.md) is going to be used. Creating users with the API is limited to self-hosted instances as it requires administrator access. | When migrating to GitLab.com, users would need to be manually created unless [SCIM](../../../user/group/saml_sso/scim_setup.md) is going to be used. Creating users with the API is limited to self-managed instances as it requires administrator access. | ||||||
| 
 | 
 | ||||||
| 1. [Groups](../../../api/groups.md) | 1. [Groups](../../../api/groups.md) | ||||||
| 1. [Projects](../../../api/projects.md) | 1. [Projects](../../../api/projects.md) | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue