mirror of https://github.com/istio/istio.io.git
zh-translation:/docs/setup/platform-setup/ibm/index.md (#5449)
This commit is contained in:
parent
9aec6bf979
commit
2d36dc1878
|
@ -1,39 +1,35 @@
|
||||||
---
|
---
|
||||||
title: IBM Cloud
|
title: IBM Cloud 快速开始
|
||||||
description: Instructions to setup an IBM Cloud cluster for Istio.
|
description: 在 IBM 公有云或私有云上快速搭建 Istio 服务。
|
||||||
weight: 18
|
weight: 18
|
||||||
skip_seealso: true
|
skip_seealso: true
|
||||||
aliases:
|
aliases:
|
||||||
- /docs/setup/kubernetes/prepare/platform-setup/ibm/
|
- /zh/docs/setup/kubernetes/prepare/platform-setup/ibm/
|
||||||
- /docs/setup/kubernetes/platform-setup/ibm/
|
- /zh/docs/setup/kubernetes/platform-setup/ibm/
|
||||||
keywords: [platform-setup,ibm,iks]
|
keywords: [platform-setup,ibm,iks]
|
||||||
---
|
---
|
||||||
|
依照以下说明
|
||||||
Follow these instructions to prepare a cluster for Istio using the
|
在 [IBM Cloud Kubernetes Service](https://cloud.ibm.com/docs/containers?topic=containers-getting-started) 公有云上搭建 Istio 服务集群。
|
||||||
[IBM Cloud Kubernetes Service](https://cloud.ibm.com/docs/containers?topic=containers-getting-started).
|
在 [Istio on IBM Cloud Private](https://www.ibm.com/support/knowledgecenter/en/SSBS6K_3.2.1/manage_cluster/istio.html) 私有云上搭建 Istio 服务集群。
|
||||||
To install Istio on IBM Cloud Private, refer to
|
|
||||||
[Istio on IBM Cloud Private](https://www.ibm.com/support/knowledgecenter/en/SSBS6K_3.2.1/manage_cluster/istio.html)
|
|
||||||
instead.
|
|
||||||
|
|
||||||
{{< tip >}}
|
{{< tip >}}
|
||||||
IBM offers a {{< gloss >}}managed control plane{{< /gloss >}} add-on for the IBM Cloud Kubernetes Service,
|
IBM 为 IBM Cloud Kubernetes Service 提供了 {{< gloss >}}managed control plane{{< /gloss >}} 插件,
|
||||||
which you can use instead of installing Istio manually.
|
您可以使用它代替手动安装 Istio。
|
||||||
Refer to [Istio on IBM Cloud Kubernetes Service](https://cloud.ibm.com/docs/containers?topic=containers-istio)
|
请参阅 [Istio on IBM Cloud Kubernetes Service](https://cloud.ibm.com/docs/containers?topic=containers-istio)
|
||||||
for details and instructions.
|
有关详细信息和说明。
|
||||||
{{< /tip >}}
|
{{< /tip >}}
|
||||||
|
|
||||||
To prepare a cluster before manually installing Istio, proceed as follows:
|
要在手动安装 Istio 之前准备群集,请按照下列步骤操作:
|
||||||
|
|
||||||
1. [Install the IBM Cloud CLI, the IBM Cloud Kubernetes Service plug-in, and the Kubernetes CLI](https://cloud.ibm.com/docs/containers?topic=containers-cs_cli_install).
|
1. [安装 IBM Cloud CLI,IBM Cloud Kubernetes Service 插件和 Kubernetes CLI](https://cloud.ibm.com/docs/containers?topic=containers-cs_cli_install).
|
||||||
|
|
||||||
1. Create a standard Kubernetes cluster using the following command.
|
1. 使用以下命令创建标准的 Kubernetes 集群。
|
||||||
Replace `<cluster-name>` with the name you want to use for your cluster and `<zone-name>` with the name of an
|
将 `<cluster-name>` 替换为您用于集群的名称,将 `<zone-name>` 替换为可用区。
|
||||||
available zone.
|
|
||||||
|
|
||||||
{{< tip >}}
|
{{< tip >}}
|
||||||
You can display your available zones by running `ibmcloud ks zones`.
|
您可以通过运行 `ibmcloud ks zones` 来显示可用区。
|
||||||
The IBM Cloud Kubernetes Service [Locations Reference Guide](https://cloud.ibm.com/docs/containers?topic=containers-regions-and-zones)
|
IBM Cloud Kubernetes Service [位置参考指南](https://cloud.ibm.com/docs/containers?topic=containers-regions-and-zones)
|
||||||
describes the available zones and how to specify them.
|
介绍可用区域以及如何指定它们。
|
||||||
{{< /tip >}}
|
{{< /tip >}}
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
|
@ -42,18 +38,16 @@ To prepare a cluster before manually installing Istio, proceed as follows:
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
{{< tip >}}
|
{{< tip >}}
|
||||||
If you already have a private and a public VLAN, you can specify them in the above command
|
如果已经有专用和公用 VLAN,您可以在上面的命令中指定使用 `--private-vlan` 和 `--public-vlan` 选项。
|
||||||
using the `--private-vlan` and `--public-vlan` options. Otherwise, they will be automatically created for you.
|
否则, 将自动为您创建。您可以通过运行 `ibmcloud ks vlans --zone <zone-name>` 来查看可用的 VLAN。
|
||||||
You can view your available VLANs by running `ibmcloud ks vlans --zone <zone-name>`.
|
|
||||||
{{< /tip >}}
|
{{< /tip >}}
|
||||||
|
|
||||||
1. Run the following command to download your cluster configuration for `kubectl` and then
|
1. 运行以下命令下载您的 `kubectl` 集群配置,然后按照命令输出的说明来设置 `KUBECONFIG` 环境变量。
|
||||||
set the `KUBECONFIG` environment variable as specified in the command output.
|
|
||||||
|
|
||||||
{{< text bash >}}
|
{{< text bash >}}
|
||||||
$ ibmcloud ks cluster-config <cluster-name>
|
$ ibmcloud ks cluster-config <cluster-name>
|
||||||
{{< /text >}}
|
{{< /text >}}
|
||||||
|
|
||||||
{{< warning >}}
|
{{< warning >}}
|
||||||
Make sure to use the `kubectl` CLI version that matches the Kubernetes version of your cluster.
|
确保使用与集群的 Kubernetes 版本匹配的 `kubectl` CLI 版本。
|
||||||
{{< /warning >}}
|
{{< /warning >}}
|
||||||
|
|
Loading…
Reference in New Issue