zh-translation:/docs/setup/platform-setup/ibm/index.md (#5449)

This commit is contained in:
Arun 2019-11-07 22:43:07 +08:00 committed by Istio Automation
parent 9aec6bf979
commit 2d36dc1878
1 changed files with 22 additions and 28 deletions

View File

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