Merge pull request #2347 from Bettygogo2021/cmd

update the docs to fix issues
This commit is contained in:
KubeSphere CI Bot 2022-03-25 10:26:32 +08:00 committed by GitHub
commit 444000fa76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
55 changed files with 166 additions and 133 deletions

View File

@ -55,7 +55,7 @@ You can use any cloud load balancers or hardware load balancers (e.g. F5). In ad
1. Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command to download KubeKey version 1.0.1. You only need to download KubeKey to one of your machines that serves as the **taskbox** for scaling.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.0.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
2. The above command downloads KubeKey and unzips the file. Your folder now contains a file called `kk`. Make it executable:

View File

@ -136,7 +136,7 @@ sudo systemctl restart sshd
Download KubeKey from the [Github Release Page](https://github.com/kubesphere/kubekey/releases) or run the following command:
```
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
## Use KubeKey to Deploy a Kubernetes Cluster

View File

@ -124,7 +124,7 @@ For more information about Linux compatibility, check out [Linux Distribution Co
2. After the dependencies are deployed, run the following command to deploy Kubernetes and KubeSphere together:
```bash
sudo kk create cluster -f config-sample.yaml --with-kubesphere v3.1.0
sudo kk create cluster -f config-sample.yaml --with-kubesphere v3.2.1
```
3. Wait for a while and you will see prompts similar to the following example if the installation is successful:

View File

@ -238,7 +238,7 @@ We can use the open-source tool [KubeKey](https://github.com/kubesphere/kubekey)
3. Create a configuration file. For example, run the following command to create the configuration for KubeSphere v3.0.0.
```bash
./kk create config --with-kubesphere v3.0.0
./kk create config --with-kubesphere v3.2.1
```
4. Edit the configuration file (default file name: `config-sample.yaml`).

View File

@ -69,7 +69,7 @@ You can use KubeKey to install a specified Kubernetes version. The dependency th
1. Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command to download KubeKey version 1.0.1. You only need to download KubeKey to one of your machines that serves as the **taskbox** for installation, such as the master node.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.0.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}

View File

@ -178,7 +178,7 @@ Now that we have our server machine ready, we need to install `nfs-common` on al
1. Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command to download KubeKey version 1.0.1. You only need to download KubeKey to one of your machines that serves as the **taskbox** for installation.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.0.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
2. The above command downloads KubeKey and unzips the file. Your folder now contains a file called `kk`. Make it executable.
@ -190,7 +190,7 @@ Now that we have our server machine ready, we need to install `nfs-common` on al
3. Specify a Kubernetes version and a KubeSphere version that you want to install. For more information about supported Kubernetes versions, see [this list](https://github.com/kubesphere/kubekey/blob/master/docs/kubernetes-versions.md).
```bash
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.0.0
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.2.1
```
4. A default file `config-sample.yaml` will be created if you do not customize the name. Edit the file.

View File

@ -74,7 +74,7 @@ Follow the steps below to download KubeKey.
1. Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command directly.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
2. Make `kk` executable.

View File

@ -48,7 +48,7 @@ For more information about requirements for nodes, network, and dependencies, [s
1. Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command to download KubeKey version 1.0.1. You only need to download KubeKey to one of your machines that serves as the **taskbox** for scaling, such as the master node.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.0.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}

View File

@ -267,7 +267,7 @@ Before you start to create your Kubernetes cluster, make sure you have tested th
1. Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command to download KubeKey version 1.0.1. You only need to download KubeKey to one of your machines (e.g. `master1`) that serves as the **taskbox** for installation.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.0.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
2. The above command downloads KubeKey and unzips the file. Your folder now contains a file called `kk`. Make it executable:

View File

@ -9,7 +9,7 @@ weight: 4120
You can install KubeSphere on virtual machines and bare metal with Kubernetes also provisioned. In addition, KubeSphere can also be deployed on cloud-hosted and on-premises Kubernetes clusters as long as your Kubernetes cluster meets the prerequisites below.
- To install KubeSphere 3.2.1 on Kubernetes, your Kubernetes version must be v1.19.x, v1.20.x, v1.21.x, or v1.22.x (experimental).
- Available CPU > 1 Core and Memory > 2 G.
- Available CPU > 1 Core and Memory > 2 G. Only x86_64 CPUs are supported, and Arm CPUs are not fully supported at present.
- A **default** StorageClass in your Kubernetes cluster is configured; use `kubectl get sc` to verify it.
- The CSR signing feature is activated in kube-apiserver when it is started with the `--cluster-signing-cert-file` and `--cluster-signing-key-file` parameters. See [RKE installation issue](https://github.com/kubesphere/kubesphere/issues/1925#issuecomment-591698309).

View File

@ -48,7 +48,7 @@ You must create a load balancer in your environment to listen (also known as lis
Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command directly.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -64,7 +64,7 @@ export KKZONE=cn
Run the following command to download KubeKey:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -79,7 +79,7 @@ After you download KubeKey, if you transfer it to a new machine also with poor n
{{< notice note >}}
The commands above download the latest release (v1.2.1) of KubeKey. You can change the version number in the command to download a specific version.
The commands above download the latest release (v2.0.0) of KubeKey. You can change the version number in the command to download a specific version.
{{</ notice >}}

View File

@ -12,10 +12,16 @@ This document describes how to use the built-in high availability mode when inst
## Architecture
Make sure you have prepared six Linux machines before you begin, three of which serve as control planes and the other three as worker nodes. The following figure shows the architecture of the built-in high availability mode. For more information about system and network requirements, see [Multi-node Installation](../../../installing-on-linux/introduction/multioverview/#step-1-prepare-linux-hosts).
The following figure shows the example architecture of the built-in high availability mode. For more information about system and network requirements, see [Multi-node Installation](../../../installing-on-linux/introduction/multioverview/#step-1-prepare-linux-hosts).
![HA architecture](/images/docs/zh-cn/installing-on-linux/introduction/internal-ha-configuration/internalLoadBalancer.png)
{{< notice note >}}
In the development environment, make sure you have prepared six Linux machines, among which three of them serve as control planes and the other three as worker nodes.
{{</ notice >}}
## Download KubeKey
Refer to the following steps to download KubeKey.
@ -27,7 +33,7 @@ Refer to the following steps to download KubeKey.
Download KubeKey from [its GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or run the following command.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -43,7 +49,7 @@ export KKZONE=cn
Run the following command to download KubeKey:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -58,7 +64,7 @@ After you download KubeKey, if you transfer it to a new machine also with poor n
{{< notice note >}}
The preceding commands download the latest release of KubeKey (v1.2.1). You can modify the version number in the command to download a specific version.
The preceding commands download the latest release of KubeKey (v2.0.0). You can modify the version number in the command to download a specific version.
{{</ notice >}}

View File

@ -268,7 +268,7 @@ Before you start to create your Kubernetes cluster, make sure you have tested th
Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command directly.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -284,7 +284,7 @@ export KKZONE=cn
Run the following command to download KubeKey:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -299,7 +299,7 @@ After you download KubeKey, if you transfer it to a new machine also with poor n
{{< notice note >}}
The commands above download the latest release (v1.2.1) of KubeKey. You can change the version number in the command to download a specific version.
The commands above download the latest release (v2.0.0) of KubeKey. You can change the version number in the command to download a specific version.
{{</ notice >}}

View File

@ -24,7 +24,9 @@ Please see the requirements for hardware and operating system shown below. To ge
{{< notice note >}}
[KubeKey](https://github.com/kubesphere/kubekey) uses `/var/lib/docker` as the default directory where all Docker related files, including images, are stored. It is recommended you add additional storage volumes with at least **100G** mounted to `/var/lib/docker` and `/mnt/registry` respectively. See [fdisk](https://www.computerhope.com/unix/fdisk.htm) command for reference.
- [KubeKey](https://github.com/kubesphere/kubekey) uses `/var/lib/docker` as the default directory where all Docker related files, including images, are stored. It is recommended you add additional storage volumes with at least **100G** mounted to `/var/lib/docker` and `/mnt/registry` respectively. See [fdisk](https://www.computerhope.com/unix/fdisk.htm) command for reference.
- Only x86_64 CPUs are supported, and Arm CPUs are not fully supported at present.
{{</ notice >}}
@ -149,7 +151,7 @@ docker run -d \
## Step 3: Download KubeKey
Similar to installing KubeSphere on Linux in an online environment, you also need to [download KubeKey v1.2.1](https://github.com/kubesphere/kubekey/releases) first. Download the `tar.gz` file, and transfer it to your local machine which serves as the taskbox for installation. After you uncompress the file, execute the following command to make `kk` executable:
Similar to installing KubeSphere on Linux in an online environment, you also need to [download KubeKey v2.0.0](https://github.com/kubesphere/kubekey/releases) first. Download the `tar.gz` file, and transfer it to your local machine which serves as the taskbox for installation. After you uncompress the file, execute the following command to make `kk` executable:
```bash
chmod +x kk
@ -449,12 +451,18 @@ For more information about these parameters, see [Multi-node Installation](../mu
## Step 7: Start Installation
You can execute the following command after you make sure that all steps above are completed.
If you have added the flag when creating the sample configuration file, run the following command:
```bash
./kk create cluster -f config-sample.yaml
```
If you have not added the flag when creating the sample configuration file, run the following command:
```bash
./kk create cluster -f config-sample.yaml --with-kubesphere v3.2.1
```
{{< notice warning >}}
After you transfer the executable file `kk` and the folder `kubekey` that contains the Kubernetes binary file to the taskbox machine for installation, they must be placed in the same directory before you execute the command above.

View File

@ -38,7 +38,7 @@ With the configuration file in place, you execute the `./kk` command with varied
Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command directly.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -54,7 +54,7 @@ export KKZONE=cn
Run the following command to download KubeKey:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -69,7 +69,7 @@ After you download KubeKey, if you transfer it to a new machine also with poor n
{{< notice note >}}
The commands above download the latest release (v1.2.1) of KubeKey. You can change the version number in the command to download a specific version.
The commands above download the latest release (v2.0.0) of KubeKey. You can change the version number in the command to download a specific version.
{{</ notice >}}

View File

@ -37,7 +37,9 @@ Please see the requirements for hardware and operating system shown below. To ge
{{< notice note >}}
The path `/var/lib/docker` is mainly used to store the container data, and will gradually increase in size during use and operation. In the case of a production environment, it is recommended that `/var/lib/docker` should mount a drive separately.
- The path `/var/lib/docker` is mainly used to store the container data, and will gradually increase in size during use and operation. In the case of a production environment, it is recommended that `/var/lib/docker` should mount a drive separately.
- Only x86_64 CPUs are supported, and Arm CPUs are not fully supported at present.
{{</ notice >}}
@ -107,7 +109,7 @@ Follow the step below to download [KubeKey](../kubekey).
Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command directly.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -123,7 +125,7 @@ export KKZONE=cn
Run the following command to download KubeKey:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -138,7 +140,7 @@ After you download KubeKey, if you transfer it to a new machine also with poor n
{{< notice note >}}
The commands above download the latest release (v1.2.1) of KubeKey. You can change the version number in the command to download a specific version.
The commands above download the latest release (v2.0.0) of KubeKey. You can change the version number in the command to download a specific version.
{{</ notice >}}

View File

@ -45,7 +45,7 @@ The below table describes the above parameters in detail.
</tr>
<tr>
<td><code>version</code></td>
<td>The Kubernetes version to be installed. If you do not specify a Kubernetes version, {{< contentLink "docs/installing-on-linux/introduction/kubekey" "KubeKey" >}} v1.2.1 will install Kubernetes v1.21.5 by default. For more information, see {{< contentLink "docs/installing-on-linux/introduction/kubekey/#support-matrix" "Support Matrix" >}}.</td>
<td>The Kubernetes version to be installed. If you do not specify a Kubernetes version, {{< contentLink "docs/installing-on-linux/introduction/kubekey" "KubeKey" >}} v2.0.0 will install Kubernetes v1.21.5 by default. For more information, see {{< contentLink "docs/installing-on-linux/introduction/kubekey/#support-matrix" "Support Matrix" >}}.</td>
</tr>
<tr>
<td><code>imageRepo</code></td>

View File

@ -32,7 +32,7 @@ Follow the step below to download [KubeKey](../../../installing-on-linux/introdu
Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command directly.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -48,7 +48,7 @@ export KKZONE=cn
Run the following command to download KubeKey:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -63,7 +63,7 @@ After you download KubeKey, if you transfer it to a new machine also with poor n
{{< notice note >}}
The commands above download the latest release (v1.2.1) of KubeKey. Note that an earlier version of KubeKey cannot be used to install K3s.
The commands above download the latest release (v2.0.0) of KubeKey. Note that an earlier version of KubeKey cannot be used to install K3s.
{{</ notice >}}
@ -83,7 +83,7 @@ chmod +x kk
{{< notice note >}}
KubeKey v1.2.1 supports the installation of K3s v1.21.4.
KubeKey v2.0.0 supports the installation of K3s v1.21.4.
{{</ notice >}}

View File

@ -199,7 +199,7 @@ Follow the step below to download KubeKey.
Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command directly.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -215,7 +215,7 @@ export KKZONE=cn
Run the following command to download KubeKey:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -230,7 +230,7 @@ After you download KubeKey, if you transfer it to a new machine also with poor n
{{< notice note >}}
The commands above download the latest release (v1.2.1) of KubeKey. You can change the version number in the command to download a specific version.
The commands above download the latest release (v2.0.0) of KubeKey. You can change the version number in the command to download a specific version.
{{</ notice >}}

View File

@ -300,7 +300,7 @@ Follow the step below to download KubeKey.
Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command directly.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -316,7 +316,7 @@ export KKZONE=cn
Run the following command to download KubeKey:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -331,7 +331,7 @@ After you download KubeKey, if you transfer it to a new machine also with poor n
{{< notice note >}}
The commands above download the latest release (v1.2.1) of KubeKey. You can change the version number in the command to download a specific version.
The commands above download the latest release (v2.0.0) of KubeKey. You can change the version number in the command to download a specific version.
{{</ notice >}}

View File

@ -119,7 +119,7 @@ Follow the steps below to download [KubeKey](../../../installing-on-linux/introd
Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command directly.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -135,7 +135,7 @@ export KKZONE=cn
Run the following command to download KubeKey:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -150,7 +150,7 @@ After you download KubeKey, if you transfer it to a new machine also with poor n
{{< notice note >}}
The commands above download the latest release (v1.2.1) of KubeKey. You can change the version number in the command to download a specific version.
The commands above download the latest release (v2.0.0) of KubeKey. You can change the version number in the command to download a specific version.
{{</ notice >}}

View File

@ -71,7 +71,7 @@ Follow the steps below to download [KubeKey](../../../installing-on-linux/introd
Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command directly.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -87,7 +87,7 @@ export KKZONE=cn
Run the following command to download KubeKey:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -102,7 +102,7 @@ After you download KubeKey, if you transfer it to a new machine also with poor n
{{< notice note >}}
The commands above download the latest release (v1.2.1) of KubeKey. You can change the version number in the command to download a specific version.
The commands above download the latest release (v2.0.0) of KubeKey. You can change the version number in the command to download a specific version.
{{</ notice >}}

View File

@ -73,7 +73,7 @@ Follow the steps below to download [KubeKey](../../../installing-on-linux/introd
Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command directly.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -89,7 +89,7 @@ export KKZONE=cn
Run the following command to download KubeKey:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -104,7 +104,7 @@ After you download KubeKey, if you transfer it to a new machine also with poor n
{{< notice note >}}
The commands above download the latest release (v1.2.1) of KubeKey. You can change the version number in the command to download a specific version.
The commands above download the latest release (v2.0.0) of KubeKey. You can change the version number in the command to download a specific version.
{{</ notice >}}

View File

@ -101,7 +101,7 @@ ssh -i .ssh/id_rsa2 -p50200 kubesphere@40.81.5.xx
Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command directly:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -117,7 +117,7 @@ export KKZONE=cn
Run the following command to download KubeKey:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -132,7 +132,7 @@ After you download KubeKey, if you transfer it to a new machine also with poor n
{{< notice note >}}
The commands above download the latest release (v1.2.1) of KubeKey. You can change the version number in the command to download a specific version.
The commands above download the latest release (v2.0.0) of KubeKey. You can change the version number in the command to download a specific version.
{{</ notice >}}

View File

@ -126,7 +126,7 @@ Follow the step below to download KubeKey.
Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command directly.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -142,7 +142,7 @@ export KKZONE=cn
Run the following command to download KubeKey:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -157,7 +157,7 @@ After you download KubeKey, if you transfer it to a new machine also with poor n
{{< notice note >}}
The commands above download the latest release (v1.2.1) of KubeKey. You can change the version number in the command to download a specific version.
The commands above download the latest release (v2.0.0) of KubeKey. You can change the version number in the command to download a specific version.
{{</ notice >}}

View File

@ -151,7 +151,7 @@ Perform the following steps to download KubeKey.
Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or run the following command:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -167,7 +167,7 @@ export KKZONE=cn
Run the following command to download KubeKey:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -182,7 +182,7 @@ After you download KubeKey, if you transfer it to a new machine also with poor n
{{< notice note >}}
The commands above download the latest release (v1.2.1) of KubeKey. You can change the version number in the command to download a specific version.
The commands above download the latest release (v2.0.0) of KubeKey. You can change the version number in the command to download a specific version.
{{</ notice >}}

View File

@ -47,7 +47,7 @@ KubeKey upgrades Kubernetes from one MINOR version to the next MINOR version unt
### Step 1: Download KubeKey
Similar to installing KubeSphere on Linux in an online environment, you need to [download KubeKey v1.2.1](https://github.com/kubesphere/kubekey/releases) first. Download the `tar.gz` file, and transfer it to your local machine which serves as the taskbox for installation. After you uncompress the file, execute the following command to make `kk` executable:
Similar to installing KubeSphere on Linux in an online environment, you need to [download KubeKey v2.0.0](https://github.com/kubesphere/kubekey/releases) first. Download the `tar.gz` file, and transfer it to your local machine which serves as the taskbox for installation. After you uncompress the file, execute the following command to make `kk` executable:
```bash
chmod +x kk

View File

@ -27,7 +27,7 @@ Follow the steps below to download KubeKey before you upgrade your cluster.
Download KubeKey from its [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) or use the following command directly.
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -43,7 +43,7 @@ export KKZONE=cn
Run the following command to download KubeKey:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -58,7 +58,7 @@ After you download KubeKey, if you transfer it to a new machine also with poor n
{{< notice note >}}
The commands above download the latest release (v1.2.1) of KubeKey. You can change the version number in the command to download a specific version.
The commands above download the latest release (v2.0.0) of KubeKey. You can change the version number in the command to download a specific version.
{{</ notice >}}

View File

@ -136,7 +136,7 @@ sudo systemctl restart sshd
从[Github Realese Page](https://github.com/kubesphere/kubekey/releases)下载 KubeKey 或直接使用以下命令:
```
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
### 使用 KubeyKey 部署

View File

@ -93,7 +93,7 @@ sudo kk init os -f config-sample.yaml
5. 部署 KubeSphere
```
sudo kk create cluster -f config-sample.yaml --with-kubesphere v3.1.0
sudo kk create cluster -f config-sample.yaml --with-kubesphere v3.2.1
```
看到如下提示说明安装完成

View File

@ -234,7 +234,7 @@ kind: Cluster
4. 一键部署集群。
```shell
./kk create cluster -f config-sample.yaml --with-kubesphere v3.0.0
./kk create cluster -f config-sample.yaml --with-kubesphere v3.2.1
```
## 查看部署结果

View File

@ -586,10 +586,10 @@ KubeSphere 是在 K8s 之上构建的以应用为中心的多租户容器平台
2. 创建包含默认配置的示例配置文件 **config-sample.yaml**
```bash
[root@k8s-master-0 ~]# ./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.20.4
[root@k8s-master-0 ~]# ./kk create config --with-kubesphere v3.2.1 --with-kubernetes v1.20.4
```
- --with-kubesphere 指定 KubeSphere 版本 v3.1.1
- --with-kubesphere 指定 KubeSphere 版本 v3.2.1
- --with-kubernetes 指定 Kubernetes 版本 v1.20.4
3. 根据规划,编辑修改配置文件

View File

@ -25,7 +25,7 @@ Kube-OVN 是一款开源企业级云原生 Kubernetes 容器网络编排系统
如果能正常访问 GitHub/Googleapis可以从 GitHub [发布页面](https://github.com/kubesphere/kubekey/releases)下载 KubeKey 或直接使用以下命令。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.0.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
如果访问 GitHub/Googleapis 受限
@ -38,10 +38,10 @@ export KKZONE=cn
执行以下命令下载 KubeKey。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.0.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
>下载 KubeKey 后,如果将其传至新的机器,且访问 Googleapis 同样受限,在执行以下步骤之前务必再次执行 `export KKZONE=cn` 命令。
>执行以上命令会下载最新版 KubeKey (v1.0.1),可以修改命令中的版本号下载指定版本。
>执行以上命令会下载最新版 KubeKey (v2.0.0),可以修改命令中的版本号下载指定版本。
`kk` 添加可执行权限:
```bash

View File

@ -24,7 +24,7 @@ KubeSphere v3.2.x 提供集群级别的网关,使所有项目共用一个全
- **NodePort**通过网关使用对应节点端口来访问服务。NodePort 访问模式提供以下配置:
- **链路追踪**:打开**链路追踪**开关以启用 KubeSphere 的链路追踪功能。功能开启后,如应用路由不可访问,请检查是否为应用路由是否添加注解(`nginx.ingress.kubernetes.io/service-upstream: true`)。如注解没有添加,则添加注解至您的应用路由中。
- **配置选项**:在集群网关中加入键值对。
- **LoadBalacer**:通过网关使用单个 IP 地址访问服务。LoadBalancer 访问模式提供以下配置:
- **LoadBalancer**:通过网关使用单个 IP 地址访问服务。LoadBalancer 访问模式提供以下配置:
- **链路追踪**:打开**链路追踪**开关以启用 KubeSphere 的链路追踪功能。功能开启后,如应用路由不可访问,请检查是否为应用路由是否添加注解(`nginx.ingress.kubernetes.io/service-upstream: true`)。如注解没有添加,则添加注解至您的应用路由中。
- **负载均衡器提供商**:从下拉列表中选择负载均衡器提供商。
- **注解**:添加注解至集群网关。

View File

@ -11,7 +11,7 @@ weight: 4120
您可以在虚拟机和裸机上安装 KubeSphere并同时配置 Kubernetes。另外只要 Kubernetes 集群满足以下前提条件,那么您也可以在云托管和本地 Kubernetes 集群上部署 KubeSphere。
- 如需在 Kubernetes 上安装 KubeSphere 3.2.1,您的 Kubernetes 版本必须为v1.19.xv1.20.xv1.21.x 或 v1.22.x实验性支持
- 可用 CPU > 1 核;内存 > 2 G。
- 可用 CPU > 1 核;内存 > 2 G。CPU 必须为 x86_64暂时不支持 Arm 架构的 CPU。
- Kubernetes 集群已配置**默认** StorageClass请使用 `kubectl get sc` 进行确认)。
- 使用 `--cluster-signing-cert-file``--cluster-signing-key-file` 参数启动集群时kube-apiserver 将启用 CSR 签名功能。请参见 [RKE 安装问题](https://github.com/kubesphere/kubesphere/issues/1925#issuecomment-591698309)。

View File

@ -48,7 +48,7 @@ weight: 3150
从 [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) 下载 KubeKey 或直接使用以下命令。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -64,7 +64,7 @@ export KKZONE=cn
执行以下命令下载 KubeKey
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -79,7 +79,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
{{< notice note >}}
执行以上命令会下载最新版 KubeKey (v1.2.1),您可以修改命令中的版本号下载指定版本。
执行以上命令会下载最新版 KubeKey (v2.0.0),您可以修改命令中的版本号下载指定版本。
{{</ notice >}}

View File

@ -12,10 +12,16 @@ weight: 3150
## 架构
在您开始操作前,请确保准备了 6 台 Linux 机器,其中 3 台充当主节点,另外 3 台充当工作节点。下图展示了内置高可用模式的架构图。有关系统和网络要求的更多信息,请参见[多节点安装](../../../installing-on-linux/introduction/multioverview/#步骤1准备-linux-主机)。
下图举例展示了内置高可用模式的架构图。有关系统和网络要求的更多信息,请参见[多节点安装](../../../installing-on-linux/introduction/multioverview/#步骤1准备-linux-主机)。
![高可用架构](/images/docs/zh-cn/installing-on-linux/introduction/internal-ha-configuration/internalLoadBalancer.png)
{{< notice note >}}
在生产环境中,请确保准备了 6 台 Linux 机器,其中 3 台充当主节点,另外 3 台充当工作节点。
{{</ notice >}}
## 下载 KubeKey
请按照以下步骤下载 KubeKey。
@ -27,7 +33,7 @@ weight: 3150
从 [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) 下载 KubeKey 或直接使用以下命令。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -43,7 +49,7 @@ export KKZONE=cn
执行以下命令下载 KubeKey
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -58,7 +64,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
{{< notice note >}}
执行以上命令会下载最新版 KubeKey (v1.2.1),您可以修改命令中的版本号下载指定版本。
执行以上命令会下载最新版 KubeKey (v2.0.0),您可以修改命令中的版本号下载指定版本。
{{</ notice >}}

View File

@ -267,7 +267,7 @@ yum install keepalived haproxy psmisc -y
从 [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) 下载 KubeKey 或者直接使用以下命令。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -283,7 +283,7 @@ export KKZONE=cn
运行以下命令来下载 KubeKey
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -298,7 +298,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
{{< notice note >}}
通过以上命令,可以下载 KubeKey 的最新版本 (v1.2.1)。您可以更改命令中的版本号来下载特定的版本。
通过以上命令,可以下载 KubeKey 的最新版本 (v2.0.0)。您可以更改命令中的版本号来下载特定的版本。
{{</ notice >}}

View File

@ -26,7 +26,9 @@ weight: 3130
{{< notice note >}}
[KubeKey](https://github.com/kubesphere/kubekey) 使用 `/var/lib/docker` 作为默认路径来存储所有 Docker 相关文件(包括镜像)。建议您添加附加存储卷,分别给 `/var/lib/docker``/mnt/registry` 挂载至少 **100G**。请参见 [fdisk](https://www.computerhope.com/unix/fdisk.htm) 的参考命令。
- [KubeKey](https://github.com/kubesphere/kubekey) 使用 `/var/lib/docker` 作为默认路径来存储所有 Docker 相关文件(包括镜像)。建议您添加附加存储卷,分别给 `/var/lib/docker``/mnt/registry` 挂载至少 **100G**。请参见 [fdisk](https://www.computerhope.com/unix/fdisk.htm) 的参考命令。
- CPU 必须为 x86_64暂时不支持 Arm 架构的 CPU。
{{</ notice >}}
@ -144,7 +146,7 @@ docker run -d \
## 步骤 3下载 KubeKey
与在 Linux 上在线安装 KubeSphere 相似,您需要事先[下载 KubeKey v1.2.1](https://github.com/kubesphere/kubekey/releases)。下载 `tar.gz` 文件,将它传输到充当任务机的本地机器上进行安装。解压文件后,执行以下命令,使 `kk` 可执行。
与在 Linux 上在线安装 KubeSphere 相似,您需要事先[下载 KubeKey v2.0.0](https://github.com/kubesphere/kubekey/releases)。下载 `tar.gz` 文件,将它传输到充当任务机的本地机器上进行安装。解压文件后,执行以下命令,使 `kk` 可执行。
```bash
chmod +x kk
@ -444,12 +446,18 @@ spec:
## 步骤 7开始安装
确定完成上面所有步骤后,您可以执行以下命令。
如果您在创建示例配置文件时添加了标志 `--with-kubesphere`,执行以下命令:
```bash
./kk create cluster -f config-sample.yaml
```
如果您在创建示例配置文件时未添加标志 `--with-kubesphere`,执行以下命令:
```bash
./kk create cluster -f config-sample.yaml --with-kubesphere v3.2.1
```
{{< notice warning >}}
将可执行文件 `kk` 和包含 Kubernetes 二进制文件的文件夹 `kubekey` 传输至任务机机器用于安装后,必须将它们放在相同目录中,然后再执行上面的命令。

View File

@ -39,7 +39,7 @@ KubeKey 的几种使用场景:
从 [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) 下载 KubeKey 或者直接运行以下命令。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tabs >}}
@ -55,7 +55,7 @@ export KKZONE=cn
运行以下命令来下载 KubeKey
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -70,7 +70,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
{{< notice note >}}
通过以上的命令,可以下载 KubeKey 的最新版本 (v1.2.1)。您可以更改命令中的版本号来下载特定的版本。
通过以上的命令,可以下载 KubeKey 的最新版本 (v2.0.0)。您可以更改命令中的版本号来下载特定的版本。
{{</ notice >}}

View File

@ -39,7 +39,10 @@ weight: 3120
{{< notice note >}}
`/var/lib/docker` 路径主要用于存储容器数据,在使用和操作过程中数据量会逐渐增加。因此,在生产环境中,建议为 `/var/lib/docker` 单独挂载一个硬盘。
- `/var/lib/docker` 路径主要用于存储容器数据,在使用和操作过程中数据量会逐渐增加。因此,在生产环境中,建议为 `/var/lib/docker` 单独挂载一个硬盘。
- CPU 必须为 x86_64暂时不支持 Arm 架构的 CPU。
{{</ notice >}}
@ -102,7 +105,7 @@ KubeKey 可以一同安装 Kubernetes 和 KubeSphere。根据要安装的 Kubern
从 [GitHub 发布页面](https://github.com/kubesphere/kubekey/releases)下载 KubeKey 或直接使用以下命令。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -118,7 +121,7 @@ export KKZONE=cn
执行以下命令下载 KubeKey
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -133,7 +136,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
{{< notice note >}}
执行以上命令会下载最新版 KubeKey (v1.2.1),您可以修改命令中的版本号下载指定版本。
执行以上命令会下载最新版 KubeKey (v2.0.0),您可以修改命令中的版本号下载指定版本。
{{</ notice >}}

View File

@ -45,7 +45,7 @@ weight: 3160
</tr>
<tr>
<td><code>version</code></td>
<td>Kubernetes 安装版本。如未指定 Kubernetes 版本,{{< contentLink "docs/installing-on-linux/introduction/kubekey" "KubeKey" >}} v1.2.1 默认安装 Kubernetes v1.21.5。有关更多信息,请参阅{{< contentLink "docs/installing-on-linux/introduction/kubekey/#support-matrix" "支持矩阵" >}}。</td>
<td>Kubernetes 安装版本。如未指定 Kubernetes 版本,{{< contentLink "docs/installing-on-linux/introduction/kubekey" "KubeKey" >}} v2.0.0 默认安装 Kubernetes v1.21.5。有关更多信息,请参阅{{< contentLink "docs/installing-on-linux/introduction/kubekey/#support-matrix" "支持矩阵" >}}。</td>
</tr>
<tr>
<td><code>imageRepo</code></td>

View File

@ -32,7 +32,7 @@ weight: 3530
从 [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) 下载 KubeKey 或直接运行以下命令:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -48,7 +48,7 @@ export KKZONE=cn
运行以下命令来下载 KubeKey
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -63,7 +63,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
{{< notice note >}}
通过以上的命令可以下载 KubeKey 的最新版本 (v1.2.1)。请注意,更早版本的 KubeKey 无法下载 K3s。
通过以上的命令可以下载 KubeKey 的最新版本 (v2.0.0)。请注意,更早版本的 KubeKey 无法下载 K3s。
{{</ notice >}}
@ -83,7 +83,7 @@ chmod +x kk
{{< notice note >}}
- KubeKey v1.2.1 支持安装 K3s v1.21.4。
- KubeKey v2.0.0 支持安装 K3s v1.21.4。
- 您可以在以上命令中使用 `-f``--file` 参数指定配置文件的路径和名称。如未指定路径和名称KubeKey 将默认在当前目录下创建 `config-sample.yaml` 配置文件。

View File

@ -200,7 +200,7 @@ yum install conntrack-tools
从 [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) 下载 KubeKey 或使用以下命令:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -216,7 +216,7 @@ export KKZONE=cn
执行以下命令下载 KubeKey
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -231,7 +231,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
{{< notice note >}}
执行以上命令会下载最新版 KubeKey (v1.2.1),您可以修改命令中的版本号下载指定版本。
执行以上命令会下载最新版 KubeKey (v2.0.0),您可以修改命令中的版本号下载指定版本。
{{</ notice >}}

View File

@ -288,7 +288,7 @@ systemctl status -l keepalived
从 [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) 下载 KubeKey 或直接使用以下命令。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -304,7 +304,7 @@ export KKZONE=cn
执行以下命令下载 KubeKey。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -319,7 +319,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
{{< notice note >}}
执行以上命令会下载最新版 KubeKey (v1.2.1),您可以修改命令中的版本号下载指定版本。
执行以上命令会下载最新版 KubeKey (v2.0.0),您可以修改命令中的版本号下载指定版本。
{{</ notice >}}

View File

@ -119,7 +119,7 @@ weight: 3340
从 [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) 下载 KubeKey 或者直接运行以下命令。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -135,7 +135,7 @@ export KKZONE=cn
运行以下命令来下载 KubeKey
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -150,7 +150,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
{{< notice note >}}
通过以上的命令,可以下载 KubeKey 的最新版本 (v1.2.1)。您可以更改命令中的版本号来下载特定的版本。
通过以上的命令,可以下载 KubeKey 的最新版本 (v2.0.0)。您可以更改命令中的版本号来下载特定的版本。
{{</ notice >}}

View File

@ -71,7 +71,7 @@ weight: 3330
从 [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) 下载 KubeKey 或者直接运行以下命令。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -87,7 +87,7 @@ export KKZONE=cn
运行以下命令来下载 KubeKey
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -102,7 +102,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
{{< notice note >}}
通过以上命令,可以下载 KubeKey 的最新版本 (v1.2.1)。您可以更改命令中的版本号来下载特定的版本。
通过以上命令,可以下载 KubeKey 的最新版本 (v2.0.0)。您可以更改命令中的版本号来下载特定的版本。
{{</ notice >}}

View File

@ -73,7 +73,7 @@ weight: 3320
从 [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) 下载 KubeKey 或者直接运行以下命令。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -89,7 +89,7 @@ export KKZONE=cn
运行以下命令下载 KubeKey
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -104,7 +104,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
{{< notice note >}}
通过以上的命令,可以下载 KubeKey 的最新版本 (v1.2.1)。您可以更改命令中的版本号来下载特定的版本。
通过以上的命令,可以下载 KubeKey 的最新版本 (v2.0.0)。您可以更改命令中的版本号来下载特定的版本。
{{</ notice >}}

View File

@ -91,7 +91,7 @@ controlPlaneEndpoint:
从 [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) 下载 KubeKey 或直接使用以下命令。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -107,7 +107,7 @@ export KKZONE=cn
执行以下命令下载 KubeKey。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -122,7 +122,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
{{< notice note >}}
执行以上命令会下载最新版 KubeKey (v1.2.1),您可以修改命令中的版本号下载指定版本。
执行以上命令会下载最新版 KubeKey (v2.0.0),您可以修改命令中的版本号下载指定版本。
{{</ notice >}}

View File

@ -102,7 +102,7 @@ ssh -i .ssh/id_rsa2 -p50200 kubesphere@40.81.5.xx
从 KubeKey 的 [Github 发布页面](https://github.com/kubesphere/kubekey/releases)下载,或执行以下命令:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -118,7 +118,7 @@ export KKZONE=cn
运行以下命令下载 KubeKey
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -133,7 +133,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
{{< notice note >}}
上面的命令会下载 KubeKey 最新版本 (v1.2.1)。您可以在命令中更改版本号以下载特定版本。
上面的命令会下载 KubeKey 最新版本 (v2.0.0)。您可以在命令中更改版本号以下载特定版本。
{{</ notice >}}

View File

@ -85,7 +85,7 @@ Kubernetes 服务需要做到高可用,需要保证 kube-apiserver 的 HA
从 [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) 下载 KubeKey 或直接使用以下命令。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -101,7 +101,7 @@ export KKZONE=cn
执行以下命令下载 KubeKey。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -116,7 +116,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
{{< notice note >}}
执行以上命令会下载最新版 KubeKey (v1.2.1),您可以修改命令中的版本号下载指定版本。
执行以上命令会下载最新版 KubeKey (v2.0.0),您可以修改命令中的版本号下载指定版本。
{{</ notice >}}

View File

@ -126,7 +126,7 @@ Weight: 3420
从 [GitHub 发布页面](https://github.com/kubesphere/kubekey/releases)下载 KubeKey 或直接使用以下命令:
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -142,7 +142,7 @@ export KKZONE=cn
执行以下命令下载 KubeKey
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -157,7 +157,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
{{< notice note >}}
执行以上命令会下载最新版 KubeKey (v1.2.1),您可以修改命令中的版本号下载指定版本。
执行以上命令会下载最新版 KubeKey (v2.0.0),您可以修改命令中的版本号下载指定版本。
{{</ notice >}}

View File

@ -150,7 +150,7 @@ KubeKey 是用 Go 语言开发的一款全新的安装工具,代替了以前
从 [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) 下载 KubeKey 或直接使用以下命令。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -166,7 +166,7 @@ export KKZONE=cn
执行以下命令下载 KubeKey。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -181,7 +181,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
{{< notice note >}}
执行以上命令会下载最新版 KubeKey (v1.2.1),您可以修改命令中的版本号下载指定版本。
执行以上命令会下载最新版 KubeKey (v2.0.0),您可以修改命令中的版本号下载指定版本。
{{</ notice >}}

View File

@ -47,7 +47,7 @@ weight: 7400
### 步骤 1下载 KubeKey
与在 Linux 上在线安装 KubeSphere 相似,您需要事先[下载 KubeKey v1.2.1](https://github.com/kubesphere/kubekey/releases)。下载 `tar.gz` 文件,将它传输到充当任务机的本地机器上进行安装。解压文件后,执行以下命令,使 `kk` 可执行:
与在 Linux 上在线安装 KubeSphere 相似,您需要事先[下载 KubeKey v2.0.0](https://github.com/kubesphere/kubekey/releases)。下载 `tar.gz` 文件,将它传输到充当任务机的本地机器上进行安装。解压文件后,执行以下命令,使 `kk` 可执行:
```bash
chmod +x kk

View File

@ -29,7 +29,7 @@ weight: 7200
从 [GitHub 发布页面](https://github.com/kubesphere/kubekey/releases)下载 KubeKey 或直接使用以下命令。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{</ tab >}}
@ -45,7 +45,7 @@ export KKZONE=cn
执行以下命令下载 KubeKey。
```bash
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
curl -sfL https://get-kk.kubesphere.io | VERSION=v2.0.0 sh -
```
{{< notice note >}}
@ -60,7 +60,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.1 sh -
{{< notice note >}}
执行以上命令会下载最新版 KubeKey (v1.2.1),您可以修改命令中的版本号以下载指定版本。
执行以上命令会下载最新版 KubeKey (v2.0.0),您可以修改命令中的版本号以下载指定版本。
{{</ notice >}}