Skip to content
代码片段 群组 项目
提交 08e67b75 编辑于 作者: Fiona Neill's avatar Fiona Neill 提交者: Achilleas Pipinellis
浏览文件

Docs: Navigation update for clusters folder

上级 3aaa8d76
No related branches found
No related tags found
无相关合并请求
...@@ -64,7 +64,7 @@ Authorization configuration can take one or two minutes to propagate. ...@@ -64,7 +64,7 @@ Authorization configuration can take one or two minutes to propagate.
To authorize the agent to access the GitLab project where you keep Kubernetes manifests: To authorize the agent to access the GitLab project where you keep Kubernetes manifests:
1. On the top bar, select **Main menu > Projects** and find the project that contains the [agent configuration file](install/index.md#create-an-agent-configuration-file) (`config.yaml`). 1. On the left sidebar, at the top, select **Search GitLab** (**{search}**) to find the project that contains the [agent configuration file](install/index.md#create-an-agent-configuration-file) (`config.yaml`).
1. Edit the `config.yaml` file. Under the `ci_access` keyword, add the `projects` attribute. 1. Edit the `config.yaml` file. Under the `ci_access` keyword, add the `projects` attribute.
1. For the `id`, add the path to the project. Do not wrap the path in quotation marks. 1. For the `id`, add the path to the project. Do not wrap the path in quotation marks.
...@@ -89,7 +89,7 @@ Choose the context to run `kubectl` commands from your CI/CD scripts. ...@@ -89,7 +89,7 @@ Choose the context to run `kubectl` commands from your CI/CD scripts.
To authorize the agent to access all of the GitLab projects in a group or subgroup: To authorize the agent to access all of the GitLab projects in a group or subgroup:
1. On the top bar, select **Main menu > Projects** and find the project that contains the [agent configuration file](install/index.md#create-an-agent-configuration-file) (`config.yaml`). 1. On the left sidebar, at the top, select **Search GitLab** (**{search}**) to find the project that contains the [agent configuration file](install/index.md#create-an-agent-configuration-file) (`config.yaml`).
1. Edit the `config.yaml` file. Under the `ci_access` keyword, add the `groups` attribute. 1. Edit the `config.yaml` file. Under the `ci_access` keyword, add the `groups` attribute.
1. For the `id`, add the path: 1. For the `id`, add the path:
......
...@@ -80,10 +80,10 @@ Prerequisites: ...@@ -80,10 +80,10 @@ Prerequisites:
You must register an agent before you can install the agent in your cluster. To register an agent: You must register an agent before you can install the agent in your cluster. To register an agent:
1. On the top bar, select **Main menu > Projects** and find your project. 1. On the left sidebar, at the top, select **Search GitLab** (**{search}**) to find your project.
If you have an [agent configuration file](#create-an-agent-configuration-file), If you have an [agent configuration file](#create-an-agent-configuration-file),
it must be in this project. Your cluster manifest files should also be in this project. it must be in this project. Your cluster manifest files should also be in this project.
1. From the left sidebar, select **Infrastructure > Kubernetes clusters**. 1. Select **Operate > Kubernetes clusters**.
1. Select **Connect a cluster (agent)**. 1. Select **Connect a cluster (agent)**.
- If you want to create a configuration with CI/CD defaults, type a name. - If you want to create a configuration with CI/CD defaults, type a name.
- If you already have an [agent configuration file](#create-an-agent-configuration-file), select it from the list. - If you already have an [agent configuration file](#create-an-agent-configuration-file), select it from the list.
......
...@@ -100,8 +100,8 @@ You can view the complete schema within the [scan execution policy documentation ...@@ -100,8 +100,8 @@ You can view the complete schema within the [scan execution policy documentation
To view vulnerability information in GitLab: To view vulnerability information in GitLab:
1. On the top bar, select **Main menu > Projects** and find the project that contains the agent configuration file. 1. On the left sidebar, at the top, select **Search GitLab** (**{search}**) to find the project that contains the agent configuration file.
1. On the left sidebar, select **Infrastructure > Kubernetes clusters**. 1. Select **Operate > Kubernetes clusters**.
1. Select the **Agent** tab. 1. Select the **Agent** tab.
1. Select an agent to view the cluster vulnerabilities. 1. Select an agent to view the cluster vulnerabilities.
......
...@@ -18,9 +18,9 @@ Prerequisite: ...@@ -18,9 +18,9 @@ Prerequisite:
To view the list of agents: To view the list of agents:
1. On the top bar, select **Main menu > Projects** and find the project that contains your agent configuration file. 1. On the left sidebar, at the top, select **Search GitLab** (**{search}**) to find the project that contains your agent configuration file.
You cannot view registered agents from a project that does not contain the agent configuration file. You cannot view registered agents from a project that does not contain the agent configuration file.
1. On the left sidebar, select **Infrastructure > Kubernetes clusters**. 1. Select **Operate > Kubernetes clusters**.
1. Select **Agent** tab to view clusters connected to GitLab through the agent. 1. Select **Agent** tab to view clusters connected to GitLab through the agent.
On this page, you can view: On this page, you can view:
...@@ -40,8 +40,8 @@ is shared with a project, it automatically appears in the project agent tab. ...@@ -40,8 +40,8 @@ is shared with a project, it automatically appears in the project agent tab.
To view the list of shared agents: To view the list of shared agents:
1. On the top bar, select **Main menu > Projects** and find the project. 1. On the left sidebar, at the top, select **Search GitLab** (**{search}**) to find your project.
1. On the left sidebar, select **Infrastructure > Kubernetes clusters**. 1. Select **Operate > Kubernetes clusters**.
1. Select the **Agent** tab. 1. Select the **Agent** tab.
The list of shared agents and their clusters are displayed. The list of shared agents and their clusters are displayed.
...@@ -54,8 +54,8 @@ The activity logs help you to identify problems and get the information ...@@ -54,8 +54,8 @@ The activity logs help you to identify problems and get the information
you need for troubleshooting. You can see events from a week before the you need for troubleshooting. You can see events from a week before the
current date. To view an agent's activity: current date. To view an agent's activity:
1. On the top bar, select **Main menu > Projects** and find the project that contains your agent configuration file. 1. On the left sidebar, at the top, select **Search GitLab** (**{search}**) to find the project that contains your agent configuration file.
1. On the left sidebar, select **Infrastructure > Kubernetes clusters**. 1. Select **Operate > Kubernetes clusters**.
1. Select the agent you want to see activity for. 1. Select the agent you want to see activity for.
The activity list includes: The activity list includes:
...@@ -114,8 +114,8 @@ An agent can have only two active tokens at one time. ...@@ -114,8 +114,8 @@ An agent can have only two active tokens at one time.
To reset the agent token without downtime: To reset the agent token without downtime:
1. Create a new token: 1. Create a new token:
1. On the top bar, select **Main menu > Projects** and find your project. 1. On the left sidebar, at the top, select **Search GitLab** (**{search}**) to find your project.
1. On the left sidebar, select **Infrastructure > Kubernetes clusters**. 1. Select **Operate > Kubernetes clusters**.
1. Select the agent you want to create a token for. 1. Select the agent you want to create a token for.
1. On the **Access tokens** tab, select **Create token**. 1. On the **Access tokens** tab, select **Create token**.
1. Enter token's name and description (optional) and select **Create token**. 1. Enter token's name and description (optional) and select **Create token**.
...@@ -136,8 +136,8 @@ clean up those resources manually. ...@@ -136,8 +136,8 @@ clean up those resources manually.
To remove an agent from the UI: To remove an agent from the UI:
1. On the top bar, select **Main menu > Projects** and find the project that contains the agent configuration file. 1. On the left sidebar, at the top, select **Search GitLab** (**{search}**) to find the project that contains the agent configuration file.
1. From the left sidebar, select **Infrastructure > Kubernetes clusters**. 1. Select **Operate > Kubernetes clusters**.
1. In the table, in the row for your agent, in the **Options** column, select the vertical ellipsis (**{ellipsis_v}**). 1. In the table, in the row for your agent, in the **Options** column, select the vertical ellipsis (**{ellipsis_v}**).
1. Select **Delete agent**. 1. Select **Delete agent**.
......
...@@ -61,7 +61,10 @@ To associate a cluster management project with your cluster: ...@@ -61,7 +61,10 @@ To associate a cluster management project with your cluster:
**Infrastructure > Kubernetes clusters** page. **Infrastructure > Kubernetes clusters** page.
- [Group-level cluster](../group/clusters/index.md), go to your group's **Kubernetes** - [Group-level cluster](../group/clusters/index.md), go to your group's **Kubernetes**
page. page.
- [Instance-level cluster](../instance/clusters/index.md), on the top bar, select **Main menu > Admin > Kubernetes**. - [Instance-level cluster](../instance/clusters/index.md):
1. On the left sidebar, expand the top-most chevron (**{chevron-down}**).
1. Select **Admin Area**.
1. Select **Kubernetes**.
1. Expand **Advanced settings**. 1. Expand **Advanced settings**.
1. From the **Cluster management project** dropdown list, select the cluster management project 1. From the **Cluster management project** dropdown list, select the cluster management project
you created in the previous step. you created in the previous step.
......
...@@ -45,8 +45,7 @@ If you have already configured the agent and connected a cluster with GitLab: ...@@ -45,8 +45,7 @@ If you have already configured the agent and connected a cluster with GitLab:
To create a project from the cluster management project template: To create a project from the cluster management project template:
1. In GitLab, on the top bar, select **Main menu > Projects > View all projects**. 1. On the left sidebar, at the top, select **Create new** (**{plus}**) and **New project/repository**.
1. On the right of the page, select **New project**.
1. Select **Create from template**. 1. Select **Create from template**.
1. From the list of templates, next to **GitLab Cluster Management**, select **Use template**. 1. From the list of templates, next to **GitLab Cluster Management**, select **Use template**.
1. Enter the project details. 1. Enter the project details.
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册