mirror of https://github.com/istio/istio.io.git
zh-translation: docs/setup/additional-setup/config-profiles/index.md (#9319)
* zh-translation: docs/setup/additional-setup/config-profiles/index.md * fixed * Update content/zh/docs/setup/additional-setup/config-profiles/index.md Co-authored-by: Kebe <mail@kebe7jun.com> * Update content/zh/docs/setup/additional-setup/config-profiles/index.md Co-authored-by: Kebe <mail@kebe7jun.com> Co-authored-by: Kebe <mail@kebe7jun.com>
This commit is contained in:
parent
072d6ae415
commit
37f5843f40
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
title: 安装配置
|
||||
title: 安装配置文件
|
||||
description: 描述 Istio 内置的安装配置文件。
|
||||
weight: 35
|
||||
aliases:
|
||||
|
@ -9,66 +9,43 @@ owner: istio/wg-environments-maintainers
|
|||
test: n/a
|
||||
---
|
||||
|
||||
本页面描述了在[安装 Istio](/zh/docs/setup/install/istioctl/) 时所能够使用的内置配置文件。这些配置文件提供了对 Istio 控制平面和 Istio 数据平面 sidecar 的定制内容。
|
||||
您可以从 Istio 内置配置文件的其中一个开始入手,然后根据您的特定需求进一步自定义配置文件。当前提供以下几种内置配置文件:
|
||||
本页面描述了在[安装 Istio](/zh/docs/setup/install/istioctl/) 时所能够使用的内置配置文件。这些配置文件提供了对 Istio 控制平面和 Istio 数据平面 Sidecar 的定制内容。
|
||||
|
||||
1. **default**: 根据默认的[安装选项](/zh/docs/reference/config/installation-options/)启用组件
|
||||
(建议用于生产部署)。
|
||||
您可以从 Istio 内置配置文件的其中一个开始入手,然后根据您的特定需求进一步[自定义配置文件](/zh/docs/setup/install/istioctl/#customizing-the-configuration)。当前提供以下几种内置配置文件:
|
||||
|
||||
1. **demo**: 这一配置具有适度的资源需求,旨在展示 Istio 的功能。它适合运行 [Bookinfo](/zh/docs/examples/bookinfo/) 应用程序和相关任务。
|
||||
这是通过[快速开始](/zh/docs/setup/getting-started/)指导安装的配置,但是您以后可以通过[自定义配置](/zh/docs/setup/install/istioctl/#customizing-the-configuration)
|
||||
启用其他功能来探索更高级的任务。
|
||||
1. **default**:根据 [`IstioOperator` API](/zh/docs/reference/config/istio.operator.v1alpha1/) 的默认设置启动组件。
|
||||
建议用于生产部署和 [Multicluster Mesh](/zh/docs/ops/deployment/deployment-models/#multiple-clusters) 中的 {{< gloss "primary cluster" >}}Primary Cluster{{< /gloss >}}。
|
||||
|
||||
您可以运行 `istioctl profile dump` 命令来查看默认设置。
|
||||
|
||||
1. **demo**:这一配置具有适度的资源需求,旨在展示 Istio 的功能。
|
||||
它适合运行 [Bookinfo](/zh/docs/examples/bookinfo/) 应用程序和相关任务。
|
||||
这是通过[快速开始](/zh/docs/setup/getting-started/)指导安装的配置。
|
||||
|
||||
{{< warning >}}
|
||||
此配置文件启用了高级别的追踪和访问日志,因此不适合进行性能测试。
|
||||
{{< /warning >}}
|
||||
|
||||
1. **minimal**: 使用 Istio 的[流量管理](/zh/docs/tasks/traffic-management/)功能所需的最少组件集。
|
||||
1. **minimal**:与默认配置文件相同,但只安装了控制平面组件。
|
||||
它允许您使用 [Separate Profile](/zh/docs/setup/upgrade/gateways/#installation-with-istioctl) 配置控制平面和数据平面组件(例如 Gateway)。
|
||||
|
||||
1. **sds**: 和 **default** 配置类似,但是启用了 Istio 的 SDS (secret discovery service) 功能。
|
||||
这个配置文件默认启用了附带的认证功能 (Strict Mutual TLS)。
|
||||
1. **remote**:配置 [Multicluster Mesh](/zh/docs/ops/deployment/deployment-models/#multiple-clusters) 的 {{< gloss "remote cluster" >}}Remote Cluster{{< /gloss >}}。
|
||||
|
||||
下表中标记为 **X** 的组件就是包含在配置文件里的内容:
|
||||
1. **empty**:不部署任何东西。可以作为自定义配置的基本配置文件。
|
||||
|
||||
| | default | demo | minimal | sds |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| 核心组件 | | | | | |
|
||||
| `istio-citadel` | X | X | | X |
|
||||
| `istio-egressgateway` | | X | | |
|
||||
| `istio-galley` | X | X | | X |
|
||||
| `istio-ingressgateway` | X | X | | X |
|
||||
| `istio-nodeagent` | | | | X |
|
||||
| `istio-pilot` | X | X | X | X |
|
||||
| `istio-policy` | X | X | | X |
|
||||
| `istio-sidecar-injector` | X | X | | X |
|
||||
| `istio-telemetry` | X | X | | X |
|
||||
| 插件 | | | | | |
|
||||
| `grafana` | | X | | |
|
||||
| `istio-tracing` | | X | | |
|
||||
| `kiali` | | X | | |
|
||||
| `prometheus` | X | X | | X |
|
||||
1. **preview**:预览文件包含的功能都是实验性。这是为了探索 Istio 的新功能。不确保稳定性、安全性和性能(使用风险需自负)。
|
||||
|
||||
为了进一步自定义 Istio 和安装插件,您可以在安装 Istio 时所使用的 `istioctl manifest` 命令中添加一个或多个 `--set <key>=<value>` 选项。
|
||||
[安装选项](/zh/docs/reference/config/installation-options/)中列出了完整的当前所支持的安装键值对集合。
|
||||
{{< tip >}}
|
||||
此外,还提供了一些其他特定的配置文件。更多相关信息,请参阅平台的 [平台安装](/zh/docs/setup/platform-setup)。
|
||||
{{< /tip >}}
|
||||
|
||||
## 多集群配置{#multicluster-profiles}
|
||||
标注 ✔ 的组件安装在每个配置文件中:
|
||||
|
||||
Istio 提供了两个附加的内置配置文件,被专门用于配置[多集群部署](/zh/docs/ops/deployment/deployment-models/#multiple-clusters) :
|
||||
| | default | demo | minimal | remote | empty | preview |
|
||||
| --- | --- | --- | --- | --- | --- | --- |
|
||||
| 核心组件 | | | | | | | |
|
||||
| `istio-egressgateway` | | ✔ | | | | | | |
|
||||
| `istio-ingressgateway` | ✔ | ✔ | | | | ✔ |
|
||||
| `istiod` | ✔ | ✔ | ✔ | | | ✔ |
|
||||
|
||||
1. **remote**: 用于配置通过[共享控制平面](/zh/docs/setup/install/multicluster/shared-vpn/)搭建的多集群网格里的远程集群。
|
||||
|
||||
1. **multicluster-gateways**: 用于配置通过[多控制平面](/zh/docs/setup/install/multicluster/gateways/)搭建的多集群网格里的集群。
|
||||
|
||||
**remote** 配置文件仅安装两个 Istio 核心组件:
|
||||
|
||||
1. `istio-citadel`
|
||||
|
||||
1. `istio-sidecar-injector`
|
||||
|
||||
**multicluster-gateways** 配置文件除了安装和 **default** 配置文件相同的组件外,还增加了两个额外组件:
|
||||
|
||||
1. `istio-egressgateway` 核心组件。
|
||||
|
||||
1. `coredns` 插件。
|
||||
|
||||
参考[多集群安装说明](/zh/docs/setup/install/multicluster/)获取更多详细信息。
|
||||
为了进一步自定义 Istio,还可以安装一些附加组件。详情请参阅 [集成](/zh/docs/ops/integrations)。
|
||||
|
|
Loading…
Reference in New Issue