diff --git a/content/zh/blog/2024/v1-apis/index.md b/content/zh/blog/2024/v1-apis/index.md index 10a82d70c4..e0dac657ab 100644 --- a/content/zh/blog/2024/v1-apis/index.md +++ b/content/zh/blog/2024/v1-apis/index.md @@ -85,7 +85,7 @@ Istio 社区决定在 Istio 1.22 中将这些 API 升级到 `v1`。 | Telemetry | [Telemetry](/zh/docs/reference/config/telemetry/) | `v1`, `v1alpha1` | | 扩展 | [Wasm Plugin](/zh/docs/reference/config/proxy_extensions/wasm-plugin/) | `v1alpha1` | -还可以[使用 Kubernetes Gateway API](/zh/docs/setup/additional-setup/getting-started/) 配置 Istio。 +还可以[使用 Kubernetes Gateway API](/zh/docs/setup/getting-started/) 配置 Istio。 ## 使用 `v1` 版本的 Istio API {#using-the-v1-istio-apis} diff --git a/content/zh/docs/ops/diagnostic-tools/istioctl/index.md b/content/zh/docs/ops/diagnostic-tools/istioctl/index.md index b904dd4b83..140e9cd5fc 100644 --- a/content/zh/docs/ops/diagnostic-tools/istioctl/index.md +++ b/content/zh/docs/ops/diagnostic-tools/istioctl/index.md @@ -28,7 +28,7 @@ Istio 项目还提供了两个在 Bash 和 Zsh 环境下用于自动补全 `isti 使用相匹配的版本有助于避免产生意外的问题。 {{< tip >}} -如果您已经[下载 Istio 发行版](/zh/docs/setup/getting-started/#download), +如果您已经[下载 Istio 发行版](/zh/docs/setup/additional-setup/download-istio-release/), 则应该已经具有 `istioctl`,而无需再次安装。 {{< /tip >}} @@ -166,7 +166,7 @@ $ chmod -R go-w "$(brew --prefix)/share" {{< warning >}} 您需要下载包含自动补全文件(在`/tools`目录下)的 Istio 完整发行版本。如果您没有这么做, -现在请[下载 Istio 完整发行版本](/zh/docs/setup/getting-started/#download) 。 +现在请[下载 Istio 完整发行版本](/zh/docs/setup/additional-setup/download-istio-release/) 。 {{< /warning >}} {{< tabset category-name="profile" >}} diff --git a/content/zh/docs/ops/integrations/spire/index.md b/content/zh/docs/ops/integrations/spire/index.md index 3ce0aae931..33af9a7c93 100644 --- a/content/zh/docs/ops/integrations/spire/index.md +++ b/content/zh/docs/ops/integrations/spire/index.md @@ -98,7 +98,7 @@ $ kubectl apply -f @samples/security/spire/spire-quickstart.yaml@ 示例 ClusterSPIFFEID 允许自动注册所有具有 `spiffe.io/spire-managed-identity: "true"` 标签的工作负载。 对于具有此标签的 Pod,将提取 `spiffeIDTemplate` 中指定的值以形成 SPIFFE ID。 -1. [下载 Istio](/zh/docs/setup/getting-started/#download)。 +1. [下载 Istio 发行版](/zh/docs/setup/additional-setup/download-istio-release/)。 1. 创建具有自定义补丁的 Ingress Gateway 和 istio-proxy 的 Istio 配置。Ingress Gateway 组件包括 `spiffe.io/spire-managed-identity: "true"` 标签。 @@ -200,7 +200,7 @@ $ kubectl apply -f @samples/security/spire/spire-quickstart.yaml@ ### 选项 2:手动工作负载注册 {#option-2-configuration-for-manual-workload-registration-with-spire} -1. [下载 Istio](/zh/docs/setup/getting-started/#download)。 +1. [下载 Istio 发行版](/zh/docs/setup/additional-setup/download-istio-release/)。 1. 在[部署 SPIRE](#install-spire) 到您的环境并确保所有 Deployment 都处于 `Ready` 状态后, 使用 Ingress-gateway 和 istio-proxy 的自定义补丁来配置 Istio。 diff --git a/content/zh/docs/setup/additional-setup/customize-installation-helm/index.md b/content/zh/docs/setup/additional-setup/customize-installation-helm/index.md index 9586551119..2cd0fd0cfe 100644 --- a/content/zh/docs/setup/additional-setup/customize-installation-helm/index.md +++ b/content/zh/docs/setup/additional-setup/customize-installation-helm/index.md @@ -11,7 +11,7 @@ test: n/a 在开始之前,请检查以下先决条件: -1. [下载 Istio 版本](/zh/docs/setup/getting-started/#download)。 +1. [下载 Istio 发行版](/zh/docs/setup/additional-setup/download-istio-release/)。 1. 执行任何必要的[特定于平台的设置](/zh/docs/setup/platform-setup/)。 1. 检查 [Pod 和 Service 的请求](/zh/docs/ops/deployment/application-requirements/)。 1. [使用 helm 进行 Istio 安装](/zh/docs/setup/install/helm)。 diff --git a/content/zh/docs/setup/additional-setup/customize-installation/index.md b/content/zh/docs/setup/additional-setup/customize-installation/index.md index 3a5fbc0113..fb06d17c66 100644 --- a/content/zh/docs/setup/additional-setup/customize-installation/index.md +++ b/content/zh/docs/setup/additional-setup/customize-installation/index.md @@ -11,7 +11,7 @@ test: n/a 开始之前,检查下列先决条件: -1. [下载 Istio 发行版](/zh/docs/setup/getting-started/#download)。 +1. [下载 Istio 发行版](/zh/docs/setup/additional-setup/download-istio-release/)。 1. 执行必要的[平台安装](/zh/docs/setup/platform-setup/)。 1. 检查 [Pod 和 Service 的要求](/zh/docs/ops/deployment/application-requirements/)。 diff --git a/content/zh/docs/setup/additional-setup/download-istio-release/index.md b/content/zh/docs/setup/additional-setup/download-istio-release/index.md new file mode 100644 index 0000000000..0fcabab24a --- /dev/null +++ b/content/zh/docs/setup/additional-setup/download-istio-release/index.md @@ -0,0 +1,53 @@ +--- +title: 下载 Istio 发行版 +description: 获取安装和探索 Istio 所需的文件。 +weight: 30 +keywords: [profiles,install,release,istioctl] +owner: istio/wg-environments-maintainers +test: n/a +--- + +每个 Istio 版本中都包含一个**发布档案**,其中包含: + +- [`istioctl`](/zh/docs/ops/diagnostic-tools/istioctl/) 二进制文件 +- [安装配置文件](/zh/docs/setup/additional-setup/config-profiles/)和 + [Helm Chart](/zh/docs/setup/install/helm) +- 示例,包括 [Bookinfo](/zh/docs/examples/bookinfo/) 应用程序 + +发布档案是为每个受支持的处理器架构和操作系统构建的。 + +## 下载 Istio {#download} + +1. 前往 [Istio 发布版本]({{< istio_release_url >}})页面下载适用于您的操作系统的安装文件, + 或者自动下载并解压最新版本(Linux 或 macOS): + + {{< text bash >}} + $ curl -L https://istio.io/downloadIstio | sh - + {{< /text >}} + + {{< tip >}} + 上述命令下载 Istio 的最新版本(以数字表示)。您可以在命令行中传递变量来下载特定版本或覆盖处理器架构。 + 例如,要下载适用于 x86_64 体系结构的 Istio {{< istio_full_version >}},请运行: + + {{< text bash >}} + $ curl -L https://istio.io/downloadIstio | ISTIO_VERSION={{< istio_full_version >}} TARGET_ARCH=x86_64 sh - + {{< /text >}} + + {{< /tip >}} + +1. 转到 Istio 软件包目录。例如,如果软件包是 `istio-{{< istio_full_version >}}`: + + {{< text syntax=bash snip_id=none >}} + $ cd istio-{{< istio_full_version >}} + {{< /text >}} + + 安装目录中包含: + + - `samples/` 中的示例应用程序 + - `bin/` 目录中的 [`istioctl`](/zh/docs/reference/commands/istioctl) 客户端二进制文件。 + +1. 将 `istioctl` 客户端添加到您的 Path 中(Linux 或 macOS): + + {{< text bash >}} + $ export PATH=$PWD/bin:$PATH + {{< /text >}} diff --git a/content/zh/docs/setup/additional-setup/getting-started/index.md b/content/zh/docs/setup/additional-setup/getting-started/index.md deleted file mode 100644 index 0b573ddd3e..0000000000 --- a/content/zh/docs/setup/additional-setup/getting-started/index.md +++ /dev/null @@ -1,345 +0,0 @@ ---- -title: 开始使用 Istio 和 Kubernetes Gateway API -description: 轻松试用 Istio 的各项功能。 -weight: 5 -aliases: - - /zh/docs/setup/kubernetes/getting-started/ - - /zh/docs/setup/kubernetes/ - - /zh/docs/setup/kubernetes/install/kubernetes/ -keywords: [getting-started, install, bookinfo, quick-start, kubernetes, gateway-api] -owner: istio/wg-environments-maintainers -test: yes ---- - -{{< tip >}} -{{< boilerplate gateway-api-future >}} -以下文档将指导您通过 Gateway API 来使用 Istio。 -如果您更喜欢用经过验证的 Istio API 来进行流量管理, -您应转为参阅[这些指示说明](/zh/docs/setup/getting-started/)。 -{{< /tip >}} - -{{< warning >}} -大多数 Kubernetes 集群上默认并未安装 Kubernetes Gateway API CRD, -因此需要先确保安装了 Kubernetes Gateway API CRD,再使用 Gateway API: - -{{< text bash >}} -$ kubectl get crd gateways.gateway.networking.k8s.io &> /dev/null || \ - { kubectl kustomize "github.com/kubernetes-sigs/gateway-api/config/crd?ref={{< k8s_gateway_api_version >}}" | kubectl apply -f -; } -{{< /text >}} - -{{< /warning >}} - -本指南可以让您快速熟悉 Istio。如果您已经熟悉了 Istio -或想要安装其他配置文件或高级的[部署模型](/zh/docs/ops/deployment/deployment-models/), -请参阅 FAQ 页面:[我应该使用哪种 Istio 安装方法?](/zh/about/faq/#install-method-selection)。 - -这些步骤需要您有一个运行 Kubernetes ({{< supported_kubernetes_versions >}}) -所[支持版本](/zh/docs/releases/supported-releases#support-status-of-istio-releases)的 -{{< gloss >}}cluster{{< /gloss >}}。您可以使用任意受支持的平台,例如 -[Minikube](https://kubernetes.io/zh-cn/docs/tasks/tools/install-minikube/) -或[特定平台安装说明](/zh/docs/setup/platform-setup/)中指定的其他平台。 - -遵循以下步骤开始使用 Istio: - -1. [下载并安装 Istio](#download) -1. [部署样例应用](#bookinfo) -1. [打开应用程序并允许外部流量](#ip) -1. [查看仪表板](#dashboard) - -## 下载 Istio {#download} - -1. 转到 [Istio 发布]({{< istio_release_url >}})页面下载适合您操作系统的安装文件, - 或下载并自动解压最新的版本(Linux 或 macOS): - - {{< text bash >}} - $ curl -L https://istio.io/downloadIstio | sh - - {{< /text >}} - - {{< tip >}} - 上述命令将下载 Istio 的最新版本(按数字顺序)。 - 您可以通过命令行传递变量,下载特定的版本或重载处理器架构。 - 例如要下载 x86_64 架构的 Istio {{< istio_full_version >}},执行以下命令: - - {{< text bash >}} - $ curl -L https://istio.io/downloadIstio | ISTIO_VERSION={{< istio_full_version >}} TARGET_ARCH=x86_64 sh - - {{< /text >}} - - {{< /tip >}} - -1. 切换到 Istio 文件包目录。例如,如果文件包是 - `istio-{{< istio_full_version >}}`: - - {{< text syntax=bash snip_id=none >}} - $ cd istio-{{< istio_full_version >}} - {{< /text >}} - - 安装目录包含: - - - 位于 `samples/` 中的样例应用 - - 位于 `bin/` 目录中的 [`istioctl`](/zh/docs/reference/commands/istioctl) 客户端二进制文件。 - -1. 添加 `istioctl` 客户端到您的路径(Linux 或 macOS): - - {{< text bash >}} - $ export PATH=$PWD/bin:$PATH - {{< /text >}} - -## 安装 Istio {#install} - -1. 本次安装使用 `demo` [配置文件](/zh/docs/setup/additional-setup/config-profiles/)。 - 这个配置文件包含了便于测试的一组默认值,当然您可以使用其他配置文件用于生产或性能测试。 - - {{< warning >}} - 如果您的平台有特定于供应商(例如 Openshift)的配置文件, - 可以在以下命令中直接使用而不是采用 `demo` 配置文件。 - 更多细节请参阅[平台指示说明](/zh/docs/setup/platform-setup/)。 - {{< /warning >}} - - 与 [Istio Gateway](/zh/docs/concepts/traffic-management/#gateways) 不同, - 创建 [Kubernetes Gateway](https://gateway-api.sigs.k8s.io/api-types/gateway/) - 将默认[部署关联的网关代理服务](/zh/docs/tasks/traffic-management/ingress/gateway-api/#automated-deployment)。 - 因为本例不会使用这些服务,所以将禁用默认的 Istio 网关服务, - 这些默认服务通常是作为 `demo` 配置文件的一部分被安装的。 - - {{< text bash >}} - $ istioctl install -f @samples/bookinfo/demo-profile-no-gateways.yaml@ -y - ✔ Istio core installed - ✔ Istiod installed - ✔ Installation complete - {{< /text >}} - -1. 添加命名空间标签,指示 Istio 在您稍后部署应用时自动注入 Envoy Sidecar 代理: - - {{< text bash >}} - $ kubectl label namespace default istio-injection=enabled - namespace/default labeled - {{< /text >}} - -## 部署样例应用 {#bookinfo} - -1. 部署 [`Bookinfo` 样例应用](/zh/docs/examples/bookinfo/): - - {{< text bash >}} - $ kubectl apply -f @samples/bookinfo/platform/kube/bookinfo.yaml@ - service/details created - serviceaccount/bookinfo-details created - deployment.apps/details-v1 created - service/ratings created - serviceaccount/bookinfo-ratings created - deployment.apps/ratings-v1 created - service/reviews created - serviceaccount/bookinfo-reviews created - deployment.apps/reviews-v1 created - deployment.apps/reviews-v2 created - deployment.apps/reviews-v3 created - service/productpage created - serviceaccount/bookinfo-productpage created - deployment.apps/productpage-v1 created - {{< /text >}} - -1. 此应用将启动。随着每个 Pod 就绪,Istio Sidecar 将随之被部署。 - - {{< text bash >}} - $ kubectl get services - NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE - details ClusterIP 10.0.0.212 9080/TCP 29s - kubernetes ClusterIP 10.0.0.1 443/TCP 25m - productpage ClusterIP 10.0.0.57 9080/TCP 28s - ratings ClusterIP 10.0.0.33 9080/TCP 29s - reviews ClusterIP 10.0.0.28 9080/TCP 29s - {{< /text >}} - - 还有 - - {{< text bash >}} - $ kubectl get pods - NAME READY STATUS RESTARTS AGE - details-v1-558b8b4b76-2llld 2/2 Running 0 2m41s - productpage-v1-6987489c74-lpkgl 2/2 Running 0 2m40s - ratings-v1-7dc98c7588-vzftc 2/2 Running 0 2m41s - reviews-v1-7f99cc4496-gdxfn 2/2 Running 0 2m41s - reviews-v2-7d79d5bd5d-8zzqd 2/2 Running 0 2m41s - reviews-v3-7dbcdcbc56-m8dph 2/2 Running 0 2m41s - {{< /text >}} - - {{< tip >}} - 再次运行上一条命令,等到所有 Pod 报告 READY `2/2` 且 STATUS 为 `Running`, - 然后转到下一步。这可能要用几分钟时间,具体时间取决于您的平台。 - {{< /tip >}} - -1. 确认到此为止一切运行良好。执行以下命令通过检查响应中的页面标题查看应用是否在集群内运行且正在提供 HTML 页面: - - {{< text bash >}} - $ kubectl exec "$(kubectl get pod -l app=ratings -o jsonpath='{.items[0].metadata.name}')" -c ratings -- curl -sS productpage:9080/productpage | grep -o ".*" - Simple Bookstore App - {{< /text >}} - -## 打开应用并允许对外流量 {#ip} - -Bookinfo 应用已被部署但还不能从外部进行访问。 -要使其能够被访问,您需要创建 Ingress Gateway,将路径映射到网格边缘处的某个路由。 - -1. 为 Bookinfo 应用创建 [Kubernetes Gateway](https://gateway-api.sigs.k8s.io/api-types/gateway/): - - {{< text bash >}} - $ kubectl apply -f @samples/bookinfo/gateway-api/bookinfo-gateway.yaml@ - gateway.gateway.networking.k8s.io/bookinfo-gateway created - httproute.gateway.networking.k8s.io/bookinfo created - {{< /text >}} - - 因为创建 Kubernetes `Gateway` - 资源也会[部署关联的代理服务](/zh/docs/tasks/traffic-management/ingress/gateway-api/#automated-deployment), - 所以执行以下命令等到 Gateway 就绪: - - {{< text bash >}} - $ kubectl wait --for=condition=programmed gtw bookinfo-gateway - {{< /text >}} - -1. 确保配置没有问题: - - {{< text bash >}} - $ istioctl analyze - ✔ No validation issues found when analyzing namespace: default. - {{< /text >}} - -### 确定 Ingress IP 和端口 {#determing-ingress-ip-and-ports} - -1. 设置访问网关的 `INGRESS_HOST` 和 `INGRESS_PORT` 变量: - - {{< boilerplate external-loadbalancer-support >}} - - {{< text bash >}} - $ export INGRESS_HOST=$(kubectl get gtw bookinfo-gateway -o jsonpath='{.status.addresses[0].value}') - $ export INGRESS_PORT=$(kubectl get gtw bookinfo-gateway -o jsonpath='{.spec.listeners[?(@.name=="http")].port}') - {{< /text >}} - -1. 设置 `GATEWAY_URL`: - - {{< text bash >}} - $ export GATEWAY_URL=$INGRESS_HOST:$INGRESS_PORT - {{< /text >}} - -1. 确保 IP 地址和端口均被成功分配给了环境变量: - - {{< text bash >}} - $ echo "$GATEWAY_URL" - 169.48.8.37:80 - {{< /text >}} - -### 验证外部访问 {#confirm} - -通过浏览器查看 Bookinfo 产品页面,确认能从集群外访问 Bookinfo 应用。 - -1. 执行以下命令检索 Bookinfo 应用的对外地址。 - - {{< text bash >}} - $ echo "http://$GATEWAY_URL/productpage" - {{< /text >}} - -1. 将上一条命令的输出粘贴到您的 Web 浏览器中,确认 Bookinfo 产品页面显示正常。 - -## 查看仪表板 {#dashboard} - -Istio 集成了[几种](/zh/docs/ops/integrations)不同的遥测应用。 -这些可以帮助您了解服务网格的结构,能够显示网格的拓扑,还能分析网格的健康状况。 - -参阅以下指示说明部署 [Kiali](/zh/docs/ops/integrations/kiali/) 仪表板, -以及 [Prometheus](/zh/docs/ops/integrations/prometheus/)、 -[Grafana](/zh/docs/ops/integrations/grafana) 和 -[Jaeger](/zh/docs/ops/integrations/jaeger/)。 - -1. 安装 [Kiali 和其他插件]({{< github_tree >}}/samples/addons)并等待其完成部署。 - - {{< text bash >}} - $ kubectl apply -f samples/addons - $ kubectl rollout status deployment/kiali -n istio-system - Waiting for deployment "kiali" rollout to finish: 0 of 1 updated replicas are available... - deployment "kiali" successfully rolled out - {{< /text >}} - - {{< tip >}} - 如果尝试安装插件时报错,请重新运行命令。 - 因为再次执行命令可以解决一些时序问题。 - {{< /tip >}} - -1. 访问 Kiali 仪表板。 - - {{< text bash >}} - $ istioctl dashboard kiali - {{< /text >}} - -1. 在左侧导航菜单中,从 **Namespace** 下拉菜单中选择 **Graph**,选择 **default**。 - - {{< tip >}} - {{< boilerplate trace-generation >}} - {{< /tip >}} - - Kiali 仪表板显示了网格的概述以及 `Bookinfo` 样例应用中服务之间的关系。 - Kiali 还能过滤显示流量。 - - {{< image link="./kiali-example2.png" caption="Kiali Dashboard" >}} - -## 下一步 {#next-steps} - -恭喜完成了评估安装! - -以下任务便于初学者使用这个 `demo` 安装进一步评估 Istio 的功能特性: - -- [请求路由](/zh/docs/tasks/traffic-management/request-routing/) -- [故障注入](/zh/docs/tasks/traffic-management/fault-injection/) -- [流量转移](/zh/docs/tasks/traffic-management/traffic-shifting/) -- [查询指标](/zh/docs/tasks/observability/metrics/querying-metrics/) -- [图形化显示指标](/zh/docs/tasks/observability/metrics/using-istio-dashboard/) -- [访问外部服务](/zh/docs/tasks/traffic-management/egress/egress-control/) -- [图形化显示网格](/zh/docs/tasks/observability/kiali/) - -自定义 Istio 用于生产之前,请参阅以下资源: - -- [部署模型](/zh/docs/ops/deployment/deployment-models/) -- [部署最佳实践](/zh/docs/ops/best-practices/deployment/) -- [Pod 要求](/zh/docs/ops/deployment/application-requirements/) -- [常规安装指示](/zh/docs/setup/) - -## 加入 Istio 社区 {#join-istio-community} - -欢迎您加入 [Istio 社区](/zh/get-involved/)提问和给出反馈。 - -## 卸载 {#uninstall} - -要删除 `Bookinfo` 样例应用及其配置,请参阅 -[`Bookinfo` 清理](/zh/docs/examples/bookinfo/#cleanup)。 - -卸载 Istio 时将删除 RBAC 权限和 `istio-system` 命名空间下的所有资源层次结构。 -可以安全地忽略不存在资源的错误,因为它们可能已经被按层次结构删除了。 - -{{< text bash >}} -$ kubectl delete -f @samples/addons@ -$ istioctl uninstall -y --purge -{{< /text >}} - -`istio-system` 命名空间默认未被移除。如果不再需要,请执行以下命令将其移除: - -{{< text bash >}} -$ kubectl delete namespace istio-system -{{< /text >}} - -指示 Istio 自动注入 Envoy Sidecar 代理的标签默认未被移除。 -如果不再需要,执行以下命令将其移除: - -{{< text bash >}} -$ kubectl label namespace default istio-injection- -{{< /text >}} - -如果您安装了 Kubernetes Gateway API CRD 并且现在想要删除它们,请运行以下命令之一: - -- 如果您运行的任何任务需要**实验版本**的 CRD: - - {{< text bash >}} - $ kubectl kustomize "github.com/kubernetes-sigs/gateway-api/config/crd/experimental?ref={{< k8s_gateway_api_version >}}" | kubectl delete -f - - {{< /text >}} - -- 否则: - - {{< text bash >}} - $ kubectl kustomize "github.com/kubernetes-sigs/gateway-api/config/crd?ref={{< k8s_gateway_api_version >}}" | kubectl delete -f - - {{< /text >}} diff --git a/content/zh/docs/setup/additional-setup/getting-started/kiali-example2.png b/content/zh/docs/setup/additional-setup/getting-started/kiali-example2.png deleted file mode 100644 index 49fa148fda..0000000000 Binary files a/content/zh/docs/setup/additional-setup/getting-started/kiali-example2.png and /dev/null differ diff --git a/content/zh/docs/setup/install/istioctl/index.md b/content/zh/docs/setup/install/istioctl/index.md index 24c1f6895e..6108e61ea1 100644 --- a/content/zh/docs/setup/install/istioctl/index.md +++ b/content/zh/docs/setup/install/istioctl/index.md @@ -25,7 +25,7 @@ test: no 开始之前,检查下列先决条件: -1. [下载 Istio 发行版](/zh/docs/setup/getting-started/#download)。 +1. [下载 Istio 发行版](/zh/docs/setup/additional-setup/download-istio-release/)。 1. 执行必要的[平台安装](/zh/docs/setup/platform-setup/)。 1. 检查 [Pod 和 Service 的要求](/zh/docs/ops/deployment/application-requirements/)。 diff --git a/content/zh/docs/setup/install/operator/index.md b/content/zh/docs/setup/install/operator/index.md index 2544c5010b..dfddb0e897 100644 --- a/content/zh/docs/setup/install/operator/index.md +++ b/content/zh/docs/setup/install/operator/index.md @@ -83,7 +83,7 @@ $ istioctl operator init --watchedNamespaces=istio-namespace1,istio-namespace2 -n istio-operator {{< /text >}} -注意:为了运行上面的命令,您需要[下载 Istio 的发行版本](/zh/docs/setup/getting-started/#download)。 +注意:为了运行上面的命令,您需要[下载 Istio 发行版](/zh/docs/setup/additional-setup/download-istio-release/)。 {{< /tip >}} {{< warning >}} @@ -289,7 +289,7 @@ $ helm install istio-operator manifests/charts/istio-operator \ --set revision={{< istio_full_version_revision >}} {{< /text >}} -注意:您需要[下载 Istio 的发行版本](/zh/docs/setup/getting-started/#download)来运行上面的命令。 +注意:您需要[下载 Istio 发行版](/zh/docs/setup/additional-setup/download-istio-release/)来运行上面的命令。 {{< /tip >}} 复制 `example-istiocontrolplane` CR 并将其另存为 `example-istiocontrolplane-1-8-1.yaml` 文件。 diff --git a/content/zh/docs/setup/install/virtual-machine/index.md b/content/zh/docs/setup/install/virtual-machine/index.md index 0df1582aea..ea6528281f 100644 --- a/content/zh/docs/setup/install/virtual-machine/index.md +++ b/content/zh/docs/setup/install/virtual-machine/index.md @@ -15,7 +15,7 @@ test: yes ## 先决条件 {#prerequisites} -1. [下载 Istio 发行版](/zh/docs/setup/getting-started/#download) +1. [下载 Istio 发行版](/zh/docs/setup/additional-setup/download-istio-release/) 1. 执行必要的[平台安装](/zh/docs/setup/platform-setup/) 1. 检查 [Pod 和 Service 的要求](/zh/docs/ops/deployment/application-requirements/) 1. 虚拟机必须 IP 连通到目标网格的入口网关,如果有更高的性能需求,也可通过三层网络连通网格中的每个 Pod。 diff --git a/content/zh/docs/setup/platform-setup/kind/index.md b/content/zh/docs/setup/platform-setup/kind/index.md index 12eba3a39e..84df6927e6 100644 --- a/content/zh/docs/setup/platform-setup/kind/index.md +++ b/content/zh/docs/setup/platform-setup/kind/index.md @@ -58,7 +58,7 @@ kind 主要是为了测试 Kubernetes 自身而设计的,但它也可用于本 Switched to context "kind-istio-testing". {{< /text >}} - kind 集群设置完成后,就可以开始在它上面[安装 Istio](/zh/docs/setup/getting-started/#download) 了。 + kind 集群设置完成后,就可以开始在它上面[安装 Istio 发行版](/zh/docs/setup/additional-setup/download-istio-release/)了。 1. 当体验过后,想删除集群时,可以使用以下命令: diff --git a/content/zh/docs/setup/upgrade/in-place/index.md b/content/zh/docs/setup/upgrade/in-place/index.md index a78205b942..a9ab0bcf35 100644 --- a/content/zh/docs/setup/upgrade/in-place/index.md +++ b/content/zh/docs/setup/upgrade/in-place/index.md @@ -42,7 +42,7 @@ Istio 的升级指令同样可以执行回退操作。 本节所使用的所有命令应该使用新版本的 `istioctl` 运行,可执行文件可以在下载包的 `bin/` 目录下找到。 -1. [下载新版 Istio](/zh/docs/setup/getting-started/#download),并且切换到该目录。 +1. [下载新版 Istio](/zh/docs/setup/additional-setup/download-istio-release/),并且切换到该目录。 1. 确保您的 Kubernetes 配置指向的是要升级的集群: diff --git a/content/zh/docs/tasks/traffic-management/ingress/gateway-api/index.md b/content/zh/docs/tasks/traffic-management/ingress/gateway-api/index.md index d6635382f0..c89b053ae9 100644 --- a/content/zh/docs/tasks/traffic-management/ingress/gateway-api/index.md +++ b/content/zh/docs/tasks/traffic-management/ingress/gateway-api/index.md @@ -20,8 +20,7 @@ test: yes {{< tip >}} 许多 Istio 流量管理文档均囊括了 Istio 或 Kubernetes API 的使用说明 (例如请参阅[控制入站流量](/zh/docs/tasks/traffic-management/ingress/ingress-control))。 -通过参照[入门指南](/zh/docs/setup/additional-setup/getting-started/), -您甚至从一开始就可以使用 Gateway API。 +您可以按照[入门指南](/zh/docs/setup/getting-started/)从一开始就使用 Gateway API。 {{< /tip >}} ## 设置 {#setup} diff --git a/content/zh/news/releases/1.16.x/announcing-1.16/upgrade-notes/index.md b/content/zh/news/releases/1.16.x/announcing-1.16/upgrade-notes/index.md index ca08757230..d27d24543c 100644 --- a/content/zh/news/releases/1.16.x/announcing-1.16/upgrade-notes/index.md +++ b/content/zh/news/releases/1.16.x/announcing-1.16/upgrade-notes/index.md @@ -14,4 +14,4 @@ weight: 20 Gateway API 集成已升级为读取 `v1beta1` 版本的 `HTTPRoute`、`Gateway` 和 `GatewayClass` 资源。 如果使用目前处于 Beta 阶段的 Gateway API 新特性进行流量管理,则此项更改将要求 gateway-api 为 0.5.0 或更高版本。 -有关详细信息,请参阅 Kubernetes Gateway API [入门指南](/zh/docs/setup/additional-setup/getting-started)。 +有关详细信息,请参阅 Kubernetes Gateway API [入门指南](/zh/docs/setup/getting-started/)。