mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
Update upgrade docs and download links.
Signed-off-by: serenashe <serenashe@kubesphere.io>
This commit is contained in:
parent
c16415dc0c
commit
6ec58319bc
|
|
@ -184,7 +184,7 @@ When describing the UI, you can use the following prepositions.
|
|||
|
||||
```bash
|
||||
# Assume your original Kubernetes cluster is v1.17.9
|
||||
./kk create config --with-kubesphere --with-kubernetes v1.17.9
|
||||
./kk create config --with-kubesphere --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
- If the comment is used for all the code (for example, serving as a header for explanations), put the comment at the beginning above the code. For example:
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
## Use KubeKey to Deploy a Kubernetes Cluster
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ You can use KubeKey to install a specified Kubernetes version. The dependency th
|
|||
The default Kubernetes version is v1.17.9. For more information about supported Kubernetes versions, see this [file](https://github.com/kubesphere/kubekey/blob/master/docs/kubernetes-versions.md). Execute the following command as an example:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.17.9
|
||||
./kk create config --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
4. A default file `config-sample.yaml` will be created if you do not customize the name. Edit the file.
|
||||
|
|
|
|||
|
|
@ -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.17.9 --with-kubesphere v3.0.0
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.0.0
|
||||
```
|
||||
|
||||
4. A default file `config-sample.yaml` will be created if you do not customize the name. Edit the file.
|
||||
|
|
|
|||
|
|
@ -279,7 +279,7 @@ Before you start to create your Kubernetes cluster, make sure you have tested th
|
|||
3. Create a configuration file to specify cluster information. The Kubernetes version I am going to install is `v1.17.9`.
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.17.9
|
||||
./kk create config --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
4. A default file `config-sample.yaml` will be created. Edit the file and here is my configuration for your reference:
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ See the table below for the role of each cluster.
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
These Kubernetes clusters can be hosted across different cloud providers and their Kubernetes versions can also vary. Recommended Kubernetes versions for KubeSphere v3.1.0: v1.17.9, v1.18.8, v1.19.8 and v1.20.4.
|
||||
These Kubernetes clusters can be hosted across different cloud providers and their Kubernetes versions can also vary. Recommended Kubernetes versions for KubeSphere v3.2.0: v1.19.x, v1.20.x, v1.21.5, and v1.22.1.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
|
|||
|
|
@ -139,24 +139,3 @@ You need to restore Redis and make sure it is running normally with good network
|
|||
```
|
||||
kubectl -n kubesphere-system rollout restart deploy ks-console
|
||||
```
|
||||
|
||||
|
||||
## Unable to Log in through a Third Party Account after Upgrading
|
||||
|
||||

|
||||
|
||||
```js
|
||||
{
|
||||
code: 403,
|
||||
kind: 'Status',
|
||||
apiVersion: 'v1',
|
||||
metadata: {},
|
||||
status: 'Failure',
|
||||
message: 'users.iam.kubesphere.io is forbidden: User "system:pre-registration" cannot create resource "users" in API group "iam.kubesphere.io" at the cluster scope',
|
||||
reason: 'Forbidden',
|
||||
details: { group: 'iam.kubesphere.io', kind: 'users' },
|
||||
statusText: 'Forbidden'
|
||||
}
|
||||
```
|
||||
|
||||
This is a bug in the process of upgrading from V3.0.0 to v3.1.0. For more information about related issues and solutions, see https://github.com/kubesphere/kubesphere/issues/3850.
|
||||
|
|
@ -29,7 +29,7 @@ Telemetry is enabled by default when you install KubeSphere, while you also have
|
|||
|
||||
### Disable Telemetry before installation
|
||||
|
||||
When you install KubeSphere on an existing Kubernetes cluster, you need to download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) for cluster settings. If you want to disable Telemetry, do not run `kubectl apply -f` directly for this file.
|
||||
When you install KubeSphere on an existing Kubernetes cluster, you need to download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) for cluster settings. If you want to disable Telemetry, do not run `kubectl apply -f` directly for this file.
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
|
|
@ -37,7 +37,7 @@ If you install KubeSphere on Linux, see [Disable Telemetry After Installation](.
|
|||
|
||||
{{</ notice >}}
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) and edit it:
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) and edit it:
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -57,7 +57,7 @@ If you install KubeSphere on Linux, see [Disable Telemetry After Installation](.
|
|||
3. Save the file and run the following commands to start installation.
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "Upgrade QingCloud CSI"
|
||||
keywords: "Kubernetes, upgrade, KubeSphere, v3.0.0"
|
||||
keywords: "Kubernetes, upgrade, KubeSphere, v3.2.0"
|
||||
description: "Upgrade the QingCloud CSI after you upgrade KubeSphere."
|
||||
linkTitle: "Upgrade QingCloud CSI"
|
||||
weight: 16210
|
||||
|
|
@ -19,7 +19,7 @@ cd qingcloud-csi/
|
|||
```
|
||||
|
||||
```
|
||||
git checkout v1.1.1
|
||||
git checkout v1.2.0
|
||||
```
|
||||
|
||||
```
|
||||
|
|
|
|||
|
|
@ -77,9 +77,9 @@ All the other Resources will be placed in `MC_KubeSphereRG_KuberSphereCluster_we
|
|||
To start deploying KubeSphere, use the following commands.
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
You can inspect the logs of installation through the following command:
|
||||
|
|
|
|||
|
|
@ -45,9 +45,9 @@ Now that the cluster is ready, you can install KubeSphere following the steps be
|
|||
- Install KubeSphere using kubectl. The following commands are only for the default minimal installation.
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
- Inspect the logs of installation:
|
||||
|
|
|
|||
|
|
@ -125,9 +125,9 @@ We will use the kubectl command-line utility for communicating with the cluster
|
|||
- Install KubeSphere using kubectl. The following commands are only for the default minimal installation.
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
- Inspect the logs of installation:
|
||||
|
|
|
|||
|
|
@ -46,9 +46,9 @@ This guide walks you through the steps of deploying KubeSphere on [Google Kubern
|
|||
- Install KubeSphere using kubectl. The following commands are only for the default minimal installation.
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
- Inspect the logs of installation:
|
||||
|
|
|
|||
|
|
@ -76,9 +76,9 @@ For how to set up or cancel a default StorageClass, refer to Kubernetes official
|
|||
Use [ks-installer](https://github.com/kubesphere/ks-installer) to deploy KubeSphere on an existing Kubernetes cluster. Execute the following commands directly for a minimal installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
Go to **Workload** > **Pod**, and check the running status of the pod in `kubesphere-system` of its namespace to understand the minimal deployment of KubeSphere. Check `ks-console-xxxx` of the namespace to understand the availability of KubeSphere console.
|
||||
|
|
|
|||
|
|
@ -68,9 +68,9 @@ This guide walks you through the steps of deploying KubeSphere on [Oracle Kubern
|
|||
- Install KubeSphere using kubectl. The following commands are only for the default minimal installation.
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
- Inspect the logs of installation:
|
||||
|
|
|
|||
|
|
@ -29,9 +29,9 @@ After you make sure your existing Kubernetes cluster meets all the requirements,
|
|||
1. Execute the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
2. Inspect the logs of installation:
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ As you install KubeSphere in an air-gapped environment, you need to prepare an i
|
|||
1. Download the image list file `images-list.txt` from a machine that has access to the Internet through the following command:
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/images-list.txt
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -101,7 +101,7 @@ As you install KubeSphere in an air-gapped environment, you need to prepare an i
|
|||
2. Download `offline-installation-tool.sh`.
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/offline-installation-tool.sh
|
||||
```
|
||||
|
||||
3. Make the `.sh` file executable.
|
||||
|
|
@ -161,8 +161,8 @@ Similar to installing KubeSphere on an existing Kubernetes cluster in an online
|
|||
1. Execute the following commands to download these two files and transfer them to your machine that serves as the taskbox for installation.
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
```
|
||||
|
||||
2. Edit `cluster-configuration.yaml` to add your private image registry. For example, `dockerhub.kubekey.local` is the registry address in this tutorial, then use it as the value of `.spec.local_registry` as below:
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
The commands above download the latest release (v1.2.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -92,7 +92,7 @@ chmod +x kk
|
|||
Create an example configuration file with default configurations. Here Kubernetes v1.20.4 is used as an example.
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.20.4
|
||||
./kk create config --with-kubesphere v3.2.0 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
The commands above download the latest release (v1.2.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -312,7 +312,7 @@ chmod +x kk
|
|||
Create an example configuration file with default configurations. Here Kubernetes v1.20.4 is used as an example.
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.20.4
|
||||
./kk create config --with-kubesphere v3.2.0 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
|
|||
|
|
@ -149,7 +149,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.1.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 v1.2.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
|
||||
|
|
@ -162,7 +162,7 @@ As you install KubeSphere and Kubernetes on Linux, you need to prepare an image
|
|||
1. Download the image list file `images-list.txt` from a machine that has access to the Internet through the following command:
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/images-list.txt
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -174,7 +174,7 @@ As you install KubeSphere and Kubernetes on Linux, you need to prepare an image
|
|||
2. Download `offline-installation-tool.sh`.
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/offline-installation-tool.sh
|
||||
```
|
||||
|
||||
3. Make the `.sh` file executable.
|
||||
|
|
@ -204,13 +204,13 @@ As you install KubeSphere and Kubernetes on Linux, you need to prepare an image
|
|||
5. Download the Kubernetes binary file.
|
||||
|
||||
```bash
|
||||
./offline-installation-tool.sh -b -v v1.17.9
|
||||
./offline-installation-tool.sh -b -v v1.21.5
|
||||
```
|
||||
|
||||
If you cannot access the object storage service of Google, run the following command instead to add the environment variable to change the source.
|
||||
|
||||
```bash
|
||||
export KKZONE=cn;./offline-installation-tool.sh -b -v v1.17.9
|
||||
export KKZONE=cn;./offline-installation-tool.sh -b -v v1.21.5
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -262,7 +262,7 @@ Execute the following command to generate an example configuration file for inst
|
|||
For example:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.17.9 --with-kubesphere v3.1.1 -f config-sample.yaml
|
||||
./kk create config --with-kubernetes v1.21.5 --with-kubesphere v3.2.0 -f config-sample.yaml
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
The commands above download the latest release (v1.2.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
|
|||
|
|
@ -107,7 +107,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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -123,7 +123,7 @@ export KKZONE=cn
|
|||
Run the following command to download KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -138,7 +138,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.1.1) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
The commands above download the latest release (v1.2.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -177,7 +177,7 @@ Here are some examples for your reference:
|
|||
./kk create config [-f ~/myfolder/abc.yaml]
|
||||
```
|
||||
|
||||
- You can specify a KubeSphere version that you want to install (for example, `--with-kubesphere v3.1.1`).
|
||||
- You can specify a KubeSphere version that you want to install (for example, `--with-kubesphere v3.2.0`).
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere [version]
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1) of KubeKey. Note that an earlier version of KubeKey cannot be used to install K3s.
|
||||
The commands above download the latest release (v1.2.0) of KubeKey. Note that an earlier version of KubeKey cannot be used to install K3s.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -78,12 +78,12 @@ chmod +x kk
|
|||
1. Create a configuration file of your cluster by running the following command:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.20.4-k3s --with-kubesphere v3.1.1
|
||||
./kk create config --with-kubernetes v1.20.4-k3s --with-kubesphere v3.2.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
KubeKey v1.1.1 only supports the installation of K3s v1.20.4.
|
||||
KubeKey v1.2.0 only supports the installation of K3s v1.20.4.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
The commands above download the latest release (v1.2.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -244,10 +244,10 @@ chmod +x kk
|
|||
|
||||
With KubeKey, you can install Kubernetes and KubeSphere together. You have the option to create a multi-node cluster by customizing parameters in the configuration file.
|
||||
|
||||
Create a Kubernetes cluster with KubeSphere installed (for example, `--with-kubesphere v3.1.1`):
|
||||
Create a Kubernetes cluster with KubeSphere installed (for example, `--with-kubesphere v3.2.0`):
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
./kk create config --with-kubernetes v1.21.5 --with-kubesphere v3.2.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
The commands above download the latest release (v1.2.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -345,10 +345,10 @@ chmod +x kk
|
|||
|
||||
With KubeKey, you can install Kubernetes and KubeSphere together. You have the option to create a multi-node cluster by customizing parameters in the configuration file.
|
||||
|
||||
Create a Kubernetes cluster with KubeSphere installed (for example, `--with-kubesphere v3.1.1`):
|
||||
Create a Kubernetes cluster with KubeSphere installed (for example, `--with-kubesphere v3.2.0`):
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.19.8 --with-kubesphere v3.1.1
|
||||
./kk create config --with-kubernetes v1.19.8 --with-kubesphere v3.2.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
The commands above download the latest release (v1.2.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -165,7 +165,7 @@ chmod +x kk
|
|||
1. Specify a Kubernetes version and a KubeSphere version that you want to install. For example:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
./kk create config --with-kubernetes v1.21.5 --with-kubesphere v3.2.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
The commands above download the latest release (v1.2.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -117,7 +117,7 @@ chmod +x kk
|
|||
1. Specify a Kubernetes version and a KubeSphere version that you want to install. For example:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
./kk create config --with-kubernetes v1.21.5 --with-kubesphere v3.2.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
The commands above download the latest release (v1.2.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -119,7 +119,7 @@ chmod +x kk
|
|||
1. Specify a Kubernetes version and a KubeSphere version that you want to install. For example:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
./kk create config --with-kubernetes v1.21.5 --with-kubesphere v3.2.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
The commands above download the latest release (v1.2.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -145,7 +145,7 @@ The commands above download the latest release (v1.1.1) of KubeKey. You can chan
|
|||
2. Create an example configuration file with default configurations. Here Kubernetes v1.20.4 is used as an example.
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.20.4
|
||||
./kk create config --with-kubesphere v3.2.0 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
The commands above download the latest release (v1.2.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -170,7 +170,7 @@ chmod +x kk
|
|||
Create an example configuration file with default configurations. Here Kubernetes v1.20.4 is used as an example.
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.20.4
|
||||
./kk create config --with-kubesphere v3.2.0 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
|
|||
|
|
@ -39,9 +39,9 @@ If you adopt [All-in-One Installation](../../quick-start/all-in-one-on-linux/),
|
|||
|
||||
### Installing on Kubernetes
|
||||
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable Alerting first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable Alerting first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -57,7 +57,7 @@ As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introdu
|
|||
3. Execute the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -44,9 +44,9 @@ If you adopt [All-in-One Installation](../../quick-start/all-in-one-on-linux/),
|
|||
|
||||
### Installing on Kubernetes
|
||||
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable the KubeSphere App Store first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable the KubeSphere App Store first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -63,7 +63,7 @@ As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introdu
|
|||
3. Execute the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -57,9 +57,9 @@ By default, KubeKey will install Elasticsearch internally if Auditing is enabled
|
|||
|
||||
### Installing on Kubernetes
|
||||
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeSphere Auditing first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeSphere Auditing first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -91,7 +91,7 @@ By default, ks-installer will install Elasticsearch internally if Auditing is en
|
|||
3. Execute the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -43,9 +43,9 @@ If you adopt [All-in-One Installation](../../quick-start/all-in-one-on-linux/),
|
|||
|
||||
### Installing on Kubernetes
|
||||
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeSphere DevOps first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeSphere DevOps first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -61,7 +61,7 @@ As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introdu
|
|||
3. Execute the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -59,9 +59,9 @@ By default, KubeKey will install Elasticsearch internally if Events is enabled.
|
|||
|
||||
### Installing on Kubernetes
|
||||
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeSphere Events first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeSphere Events first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -93,7 +93,7 @@ By default, ks-installer will install Elasticsearch internally if Events is enab
|
|||
3. Execute the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -47,9 +47,9 @@ When you implement multi-node installation of KubeSphere on Linux, you need to c
|
|||
|
||||
### Installing on Kubernetes
|
||||
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeEdge first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeEdge first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -67,7 +67,7 @@ As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introdu
|
|||
4. Save the file and execute the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -61,9 +61,9 @@ By default, KubeKey will install Elasticsearch internally if Logging is enabled.
|
|||
|
||||
### Installing on Kubernetes
|
||||
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeSphere Logging first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeSphere Logging first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -95,7 +95,7 @@ By default, ks-installer will install Elasticsearch internally if Logging is ena
|
|||
3. Execute the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -39,9 +39,9 @@ When you implement multi-node installation of KubeSphere on Linux, you need to c
|
|||
|
||||
### Installing on Kubernetes
|
||||
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable the Metrics Server first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable the Metrics Server first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -57,7 +57,7 @@ As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introdu
|
|||
3. Execute the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -49,9 +49,9 @@ If you adopt [All-in-One Installation](../../quick-start/all-in-one-on-linux/),
|
|||
|
||||
### Installing on Kubernetes
|
||||
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable the Network Policy first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable the Network Policy first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -68,7 +68,7 @@ As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introdu
|
|||
3. Execute the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -40,9 +40,9 @@ When you implement multi-node installation of KubeSphere on Linux, you need to c
|
|||
|
||||
### Installing on Kubernetes
|
||||
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable Pod IP Pools first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable Pod IP Pools first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -59,7 +59,7 @@ As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introdu
|
|||
3. Execute the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -41,9 +41,9 @@ If you adopt [All-in-One Installation](../../quick-start/all-in-one-on-linux/),
|
|||
|
||||
### Installing on Kubernetes
|
||||
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeSphere Service Mesh first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeSphere Service Mesh first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -59,7 +59,7 @@ As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introdu
|
|||
3. Execute the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -40,9 +40,9 @@ When you implement multi-node installation of KubeSphere on Linux, you need to c
|
|||
|
||||
### Installing on Kubernetes
|
||||
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable Service Topology first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable Service Topology first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -59,7 +59,7 @@ As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introdu
|
|||
3. Execute the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ The Image Builder is compatible with that of OpenShift, and you can reuse it in
|
|||
1. The [S2I command line tool](https://github.com/openshift/source-to-image/releases) provides an easy-to-use command to initialize a base directory structure required by the Builder. Run the following commands to install the S2I CLI.
|
||||
|
||||
```bash
|
||||
$ wget https://github.com/openshift/source-to-image/releases/download/v1.1.14/source-to-image-v1.1.14-874754de-linux-386.tar.gz
|
||||
$ wget https://github.com/openshift/source-to-image/releases/download/v1.2.04/source-to-image-v1.1.14-874754de-linux-386.tar.gz
|
||||
$ tar -xvf source-to-image-v1.1.14-874754de-linux-386.tar.gz
|
||||
$ ls
|
||||
s2i source-to-image-v1.1.14-874754de-linux-386.tar.gz sti
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
The commands above download the latest release (v1.2.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -203,7 +203,7 @@ You only need to run one command for all-in-one installation. The template is as
|
|||
To create a Kubernetes cluster with KubeSphere installed, refer to the following command as an example:
|
||||
|
||||
```bash
|
||||
./kk create cluster --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
./kk create cluster --with-kubernetes v1.20.4 --with-kubesphere v3.2.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ When you install KubeSphere on Kubernetes, you need to use [ks-installer](https:
|
|||
3. Save this local file and execute the following commands to start installation.
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -33,9 +33,9 @@ After you make sure your machine meets the conditions, perform the following ste
|
|||
1. Run the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
2. After KubeSphere is successfully installed, you can run the following command to view the installation logs:
|
||||
|
|
|
|||
|
|
@ -12,10 +12,10 @@ ks-installer is recommended for users whose Kubernetes clusters were not set up
|
|||
## Prerequisites
|
||||
|
||||
- You need to have a KubeSphere cluster running v3.1.x. If your KubeSphere version is v3.0.0 or earlier, upgrade to v3.1.x first.
|
||||
- Read [Release Notes for 3.1.1](../../release/release-v311/) carefully.
|
||||
- Read [Release Notes for 3.2.0](../../release/release-v320/) carefully.
|
||||
- Back up any important component beforehand.
|
||||
- A Docker registry. You need to have a Harbor or other Docker registries. For more information, see [Prepare a Private Image Registry](../../installing-on-linux/introduction/air-gapped-installation/#step-2-prepare-a-private-image-registry).
|
||||
- Supported Kubernetes versions of KubeSphere v3.2.0: v1.19.x, v1.20.x, v1.21.5, or v1.22.1.
|
||||
- Supported Kubernetes versions of KubeSphere v3.2.0: v1.19.x, v1.20.x, v1.21.5, and v1.22.1.
|
||||
|
||||
## Step 1: Prepare Installation Images
|
||||
|
||||
|
|
@ -24,7 +24,7 @@ As you install KubeSphere in an air-gapped environment, you need to prepare an i
|
|||
1. Download the image list file `images-list.txt` from a machine that has access to Internet through the following command:
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/images-list.txt
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -36,7 +36,7 @@ As you install KubeSphere in an air-gapped environment, you need to prepare an i
|
|||
2. Download `offline-installation-tool.sh`.
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/offline-installation-tool.sh
|
||||
```
|
||||
|
||||
3. Make the `.sh` file executable.
|
||||
|
|
@ -96,7 +96,7 @@ Similar to installing KubeSphere on an existing Kubernetes cluster in an online
|
|||
1. Execute the following command to download ks-installer and transfer it to your machine that serves as the taskbox for installation.
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
```
|
||||
|
||||
2. Verify that you have specified your private image registry in `spec.local_registry` in `cluster-configuration.yaml`. Note that if your existing cluster was installed in an air-gapped environment, you may already have this field specified. Otherwise, run the following command to edit `cluster-configuration.yaml` of your existing KubeSphere v3.1.x cluster and add the private image registry:
|
||||
|
|
@ -169,5 +169,3 @@ Now, you will be able to access the web console of KubeSphere through `http://{I
|
|||
To access the console, make sure port 30880 is opened in your security group.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||

|
||||
|
|
@ -11,7 +11,7 @@ Air-gapped upgrade with KubeKey is recommended for users whose KubeSphere and Ku
|
|||
|
||||
- You need to have a KubeSphere cluster running v3.1.x. If your KubeSphere version is v3.0.0 or earlier, upgrade to v3.1.x first.
|
||||
- Your Kubernetes version must be v1.19.x or later.
|
||||
- Read [Release Notes for 3.1.1](../../release/release-v311/) carefully.
|
||||
- Read [Release Notes for 3.2.0](../../release/release-v320/) carefully.
|
||||
- Back up any important component beforehand.
|
||||
- A Docker registry. You need to have a Harbor or other Docker registries. For more information, see [Prepare a Private Image Registry](../../installing-on-linux/introduction/air-gapped-installation/#step-2-prepare-a-private-image-registry).
|
||||
- Make sure every node can push and pull images from the Docker Registry.
|
||||
|
|
@ -60,7 +60,7 @@ As you install KubeSphere and Kubernetes on Linux, you need to prepare an image
|
|||
1. Download the image list file `images-list.txt` from a machine that has access to Internet through the following command:
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/images-list.txt
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -72,7 +72,7 @@ As you install KubeSphere and Kubernetes on Linux, you need to prepare an image
|
|||
2. Download `offline-installation-tool.sh`.
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/offline-installation-tool.sh
|
||||
```
|
||||
|
||||
3. Make the `.sh` file executable.
|
||||
|
|
@ -102,13 +102,13 @@ As you install KubeSphere and Kubernetes on Linux, you need to prepare an image
|
|||
5. Download the Kubernetes binary file.
|
||||
|
||||
```bash
|
||||
./offline-installation-tool.sh -b -v v1.17.9
|
||||
./offline-installation-tool.sh -b -v v1.21.5
|
||||
```
|
||||
|
||||
If you cannot access the object storage service of Google, run the following command instead to add the environment variable to change the source.
|
||||
|
||||
```bash
|
||||
export KKZONE=cn;./offline-installation-tool.sh -b -v v1.17.9
|
||||
export KKZONE=cn;./offline-installation-tool.sh -b -v v1.21.5
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -177,7 +177,7 @@ Execute the following command to generate an example configuration file for inst
|
|||
For example:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.1 -f config-sample.yaml
|
||||
./kk create config --with-kubernetes v1.21.5 --with-kubesphere v3.2.0 -f config-sample.yaml
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -218,7 +218,7 @@ Set `privateRegistry` of your `config-sample.yaml` file:
|
|||
privateRegistry: dockerhub.kubekey.local
|
||||
```
|
||||
|
||||
#### Upgrade your single-node cluster to KubeSphere v3.2.0 and Kubernetes v1.19.8
|
||||
#### Upgrade your single-node cluster to KubeSphere v3.2.0 and Kubernetes v1.21.5
|
||||
|
||||
```bash
|
||||
./kk upgrade -f config-sample.yaml
|
||||
|
|
@ -265,7 +265,7 @@ In this example, KubeSphere is installed on multiple nodes, so you need to speci
|
|||
For example:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.17.9 --with-kubesphere v3.1.1 -f config-sample.yaml
|
||||
./kk create config --with-kubernetes v1.21.5 --with-kubesphere v3.2.0 -f config-sample.yaml
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -308,7 +308,7 @@ Set `privateRegistry` of your `config-sample.yaml` file:
|
|||
privateRegistry: dockerhub.kubekey.local
|
||||
```
|
||||
|
||||
#### Upgrade your multi-node cluster to KubeSphere v3.2.0 and Kubernetes v1.19.8
|
||||
#### Upgrade your multi-node cluster to KubeSphere v3.2.0 and Kubernetes v1.21.5
|
||||
|
||||
```bash
|
||||
./kk upgrade -f config-sample.yaml
|
||||
|
|
|
|||
|
|
@ -11,16 +11,16 @@ ks-installer is recommended for users whose Kubernetes clusters were not set up
|
|||
## Prerequisites
|
||||
|
||||
- You need to have a KubeSphere cluster running v3.1.x. If your KubeSphere version is v3.0.0 or earlier, upgrade to v3.1.x first.
|
||||
- Read [Release Notes for 3.1.1](../../release/release-v311/) carefully.
|
||||
- Read [Release Notes for 3.2.0](../../release/release-v320/) carefully.
|
||||
- Back up any important component beforehand.
|
||||
- Supported Kubernetes versions of KubeSphere v3.2.0: v1.19.x, v1.20.x, v1.21.5, or v1.22.1.
|
||||
- Supported Kubernetes versions of KubeSphere v3.2.0: v1.19.x, v1.20.x, v1.21.5, and v1.22.1.
|
||||
|
||||
## Apply ks-installer
|
||||
|
||||
Run the following command to upgrade your cluster.
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
```
|
||||
|
||||
## Enable Pluggable Components
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ This tutorial demonstrates how to upgrade your cluster using KubeKey.
|
|||
## Prerequisites
|
||||
|
||||
- You need to have a KubeSphere cluster running v3.1.x. If your KubeSphere version is v3.0.0 or earlier, upgrade to v3.1.x first.
|
||||
- Read [Release Notes for 3.1.1](../../release/release-v311/) carefully.
|
||||
- Read [Release Notes for 3.2.0](../../release/release-v320/) carefully.
|
||||
- Back up any important component beforehand.
|
||||
- Make your upgrade plan. Two scenarios are provided in this document for [all-in-one clusters](#all-in-one-cluster) and [multi-node clusters](#multi-node-cluster) respectively.
|
||||
|
||||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.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.1.1) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
The commands above download the latest release (v1.2.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -80,10 +80,10 @@ When upgrading Kubernetes, KubeKey will upgrade from one MINOR version to the ne
|
|||
|
||||
### All-in-one cluster
|
||||
|
||||
Run the following command to use KubeKey to upgrade your single-node cluster to KubeSphere v3.2.0 and Kubernetes v1.20.4:
|
||||
Run the following command to use KubeKey to upgrade your single-node cluster to KubeSphere v3.2.0 and Kubernetes v1.21.5:
|
||||
|
||||
```bash
|
||||
./kk upgrade --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
./kk upgrade --with-kubernetes v1.21.5 --with-kubesphere v3.2.0
|
||||
```
|
||||
|
||||
To upgrade Kubernetes to a specific version, explicitly provide the version after the flag `--with-kubernetes`. Available versions are:
|
||||
|
|
@ -125,10 +125,10 @@ For more information, see [Edit the configuration file](../../installing-on-linu
|
|||
{{</ notice >}}
|
||||
|
||||
#### Step 3: Upgrade your cluster
|
||||
The following command upgrades your cluster to KubeSphere v3.2.0 and Kubernetes v1.20.4:
|
||||
The following command upgrades your cluster to KubeSphere v3.2.0 and Kubernetes v1.21.5:
|
||||
|
||||
```bash
|
||||
./kk upgrade --with-kubernetes v1.20.4 --with-kubesphere v3.1.1 -f sample.yaml
|
||||
./kk upgrade --with-kubernetes v1.21.5 --with-kubesphere v3.2.0 -f sample.yaml
|
||||
```
|
||||
|
||||
To upgrade Kubernetes to a specific version, explicitly provide the version after the flag `--with-kubernetes`. Available versions are:
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ linkTitle: "Changes after Upgrade"
|
|||
weight: 7600
|
||||
---
|
||||
|
||||
This section covers the changes after upgrade for existing settings in previous versions. If you want to know all the new features and enhancements in KubeSphere 3.2.0, see [Release Notes for 3.1.1](../../release/release-v311/).
|
||||
This section covers the changes after upgrade for existing settings in previous versions. If you want to know all the new features and enhancements in KubeSphere 3.2.0, see [Release Notes for 3.2.0](../../release/release-v320/).
|
||||
|
||||
## Access Control
|
||||
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
### 使用 KubeyKey 部署
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ chmod +x kk
|
|||
创建示例配置文件:
|
||||
|
||||
```shell
|
||||
./kk create cluster --with-kubernetes v1.17.9
|
||||
./kk create cluster --with-kubernetes v1.20.4
|
||||
```
|
||||
完整的文档请参考[官方文档](https://kubesphere.com.cn/docs/installing-on-linux/introduction/multioverview/)
|
||||
|
||||
|
|
|
|||
|
|
@ -141,23 +141,3 @@ E0909 07:05:22.770468 1 redis.go:51] unable to reach redis host EOF
|
|||
```
|
||||
kubectl -n kubesphere-system rollout restart deploy ks-console
|
||||
```
|
||||
|
||||
## 升级到 v3.1.0 后无法通过第三方帐号登录
|
||||
|
||||

|
||||
|
||||
```js
|
||||
{
|
||||
code: 403,
|
||||
kind: 'Status',
|
||||
apiVersion: 'v1',
|
||||
metadata: {},
|
||||
status: 'Failure',
|
||||
message: 'users.iam.kubesphere.io is forbidden: User "system:pre-registration" cannot create resource "users" in API group "iam.kubesphere.io" at the cluster scope',
|
||||
reason: 'Forbidden',
|
||||
details: { group: 'iam.kubesphere.io', kind: 'users' },
|
||||
statusText: 'Forbidden'
|
||||
}
|
||||
```
|
||||
|
||||
这是一个从 v3.0.0 升级到 v3.1.0 过程中存在的 Bug。相关和解决方式请参见 [https://github.com/kubesphere/kubesphere/issues/3850](https://github.com/kubesphere/kubesphere/issues/3850)。
|
||||
|
|
@ -29,7 +29,7 @@ Telemetry 收集已安装 KubeSphere 集群的大小、KubeSphere 和 Kubernetes
|
|||
|
||||
### 安装前禁用 Telemetry
|
||||
|
||||
在现有 Kubernetes 集群上安装 KubeSphere 时,您需要下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件用于配置集群。如需禁用 Telemetry,请勿直接执行 `kubectl apply -f` 命令应用该文件。
|
||||
在现有 Kubernetes 集群上安装 KubeSphere 时,您需要下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件用于配置集群。如需禁用 Telemetry,请勿直接执行 `kubectl apply -f` 命令应用该文件。
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
|
|
@ -37,7 +37,7 @@ Telemetry 收集已安装 KubeSphere 集群的大小、KubeSphere 和 Kubernetes
|
|||
|
||||
{{</ notice >}}
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件并编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件并编辑。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -57,7 +57,7 @@ Telemetry 收集已安装 KubeSphere 集群的大小、KubeSphere 和 Kubernetes
|
|||
3. 保存文件并执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -42,13 +42,13 @@ Server Version: version.Info{Major:"1", Minor:"18+", GitVersion:"v1.18.4-tke.2",
|
|||
- 使用 kubectl 执行以下命令安装 KubeSphere:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
```
|
||||
|
||||
- 下载集群配置文件
|
||||
|
||||
```bash
|
||||
wget https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
wget https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
{{< notice tip >}}
|
||||
|
|
|
|||
|
|
@ -142,8 +142,8 @@ alicloud-disk-topology diskplugin.csi.alibabacloud.com Delete
|
|||
1.使用 [ks-installer](https://github.com/kubesphere/ks-installer) 在已有的 Kubernetes 集群上来部署 KubeSphere,下载 YAML 文件:
|
||||
|
||||
```
|
||||
wget https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
wget https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
wget https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
wget https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -98,9 +98,9 @@ Azure Kubernetes Services 本身将放置在`KubeSphereRG`中。
|
|||
请使用以下命令开始部署 KubeSphere。
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
可以通过以下命令检查安装日志:
|
||||
|
|
|
|||
|
|
@ -47,9 +47,9 @@ weight: 4230
|
|||
- 使用 kubectl 安装 KubeSphere,以下命令仅用于默认的最小安装。
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
- 检查安装日志:
|
||||
|
|
|
|||
|
|
@ -130,9 +130,9 @@ aws-cli/2.1.2 Python/3.7.3 Linux/4.18.0-193.6.3.el8_2.x86_64 exe/x86_64.centos.8
|
|||
- 使用 kubectl 安装 KubeSphere,以下命令仅用于默认的最小安装。
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
- 检查安装日志:
|
||||
|
|
|
|||
|
|
@ -46,9 +46,9 @@ weight: 4240
|
|||
- 使用 kubectl 安装 KubeSphere,以下命令仅用于默认的最小安装。
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
- 检查安装日志:
|
||||
|
|
|
|||
|
|
@ -74,8 +74,8 @@ volumeBindingMode: Immediate
|
|||
接下来就可以使用 [ks-installer](https://github.com/kubesphere/ks-installer) 在已有的 Kubernetes 集群上来部署 KubeSphere,建议首先还是以最小功能集进行安装,可执行以下命令:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
执行部署命令后,可以通过进入**工作负载** > **容器组 Pod** 界面,在右侧面板中查询 `kubesphere-system` 命名空间下的 Pod 运行状态了解 KubeSphere 平台最小功能集的部署状态;通过该命名空间下 `ks-console-xxxx` 容器的状态来了解 KubeSphere 控制台应用的可用状态。
|
||||
|
|
|
|||
|
|
@ -64,9 +64,9 @@ weight: 4260
|
|||
1. 使用 kubectl 安装 KubeSphere。直接输入以下命令会默认执行 KubeSphere 的最小化安装。
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
2. 检查安装日志:
|
||||
|
|
|
|||
|
|
@ -32,9 +32,9 @@ KubeSphere 承诺为用户提供即插即用架构,您可以轻松地将 KubeS
|
|||
1. 执行以下命令以开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
2. 检查安装日志:
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ Docker 使用 `/var/lib/docker` 作为默认路径来存储所有 Docker 相关
|
|||
1. 使用以下命令从能够访问互联网的机器上下载镜像清单文件 `images-list.txt`:
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/images-list.txt
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -102,7 +102,7 @@ Docker 使用 `/var/lib/docker` 作为默认路径来存储所有 Docker 相关
|
|||
2. 下载 `offline-installation-tool.sh`。
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/offline-installation-tool.sh
|
||||
```
|
||||
|
||||
3. 使 `.sh` 文件可执行。
|
||||
|
|
@ -162,8 +162,8 @@ Docker 使用 `/var/lib/docker` 作为默认路径来存储所有 Docker 相关
|
|||
1. 执行以下命令下载这两个文件,并将它们传输至您充当任务机的机器,用于安装。
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
```
|
||||
|
||||
2. 编辑 `cluster-configuration.yaml` 添加您的私有镜像仓库。例如,本教程中的仓库地址是 `dockerhub.kubekey.local`,将它用作 `.spec.local_registry` 的值,如下所示:
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -64,7 +64,7 @@ export KKZONE=cn
|
|||
执行以下命令下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -79,7 +79,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.1),您可以修改命令中的版本号下载指定版本。
|
||||
执行以上命令会下载最新版 KubeKey (v1.2.0),您可以修改命令中的版本号下载指定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -92,12 +92,12 @@ chmod +x kk
|
|||
创建包含默认配置的示例配置文件。这里使用 Kubernetes v1.20.4 作为示例。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.20.4
|
||||
./kk create config --with-kubesphere v3.2.0 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.21.5。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -283,7 +283,7 @@ export KKZONE=cn
|
|||
运行以下命令来下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -298,7 +298,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
通过以上命令,可以下载 KubeKey 的最新版本 (v1.1.1)。您可以更改命令中的版本号来下载特定的版本。
|
||||
通过以上命令,可以下载 KubeKey 的最新版本 (v1.2.0)。您可以更改命令中的版本号来下载特定的版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -311,12 +311,12 @@ chmod +x kk
|
|||
使用默认配置创建一个示例配置文件。此处以 Kubernetes v1.20.4 作为示例。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.20.4
|
||||
./kk create config --with-kubesphere v3.2.0 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.21.5。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 如果您没有在本步骤的命令中添加标志 `--with-kubesphere`,那么除非您使用配置文件中的 `addons` 字段进行安装,或者稍后使用 `./kk create cluster` 时再添加该标志,否则 KubeSphere 将不会被部署。
|
||||
- 如果您添加标志 `--with-kubesphere` 时未指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ docker run -d \
|
|||
|
||||
## 步骤 3:下载 KubeKey
|
||||
|
||||
与在 Linux 上在线安装 KubeSphere 相似,您需要事先[下载 KubeKey v1.1.1](https://github.com/kubesphere/kubekey/releases)。下载 `tar.gz` 文件,将它传输到充当任务机的本地机器上进行安装。解压文件后,执行以下命令,使 `kk` 可执行。
|
||||
与在 Linux 上在线安装 KubeSphere 相似,您需要事先[下载 KubeKey v1.2.0](https://github.com/kubesphere/kubekey/releases)。下载 `tar.gz` 文件,将它传输到充当任务机的本地机器上进行安装。解压文件后,执行以下命令,使 `kk` 可执行。
|
||||
|
||||
```bash
|
||||
chmod +x kk
|
||||
|
|
@ -157,7 +157,7 @@ chmod +x kk
|
|||
1. 使用以下命令从能够访问互联网的机器上下载镜像清单文件 `images-list.txt`:
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/images-list.txt
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -169,7 +169,7 @@ chmod +x kk
|
|||
2. 下载 `offline-installation-tool.sh`。
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/offline-installation-tool.sh
|
||||
```
|
||||
|
||||
3. 使 `.sh` 文件可执行。
|
||||
|
|
@ -199,18 +199,18 @@ chmod +x kk
|
|||
5. 下载 Kubernetes 二进制文件。
|
||||
|
||||
```bash
|
||||
./offline-installation-tool.sh -b -v v1.17.9
|
||||
./offline-installation-tool.sh -b -v v1.21.5
|
||||
```
|
||||
|
||||
如果您无法访问 Google 的对象存储服务,请运行以下命令添加环境变量以变更来源。
|
||||
|
||||
```bash
|
||||
export KKZONE=cn;./offline-installation-tool.sh -b -v v1.17.9
|
||||
export KKZONE=cn;./offline-installation-tool.sh -b -v v1.21.5
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 您可以根据自己的需求变更下载的 Kubernetes 版本。安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 您可以根据自己的需求变更下载的 Kubernetes 版本。安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.21.5。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 运行脚本后,会自动创建一个文件夹 `kubekey`。请注意,您稍后创建集群时,该文件和 `kk` 必须放在同一个目录下。
|
||||
|
||||
|
|
@ -257,7 +257,7 @@ chmod +x kk
|
|||
例如:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.17.9 --with-kubesphere v3.1.1 -f config-sample.yaml
|
||||
./kk create config --with-kubernetes v1.21.5 --with-kubesphere v3.2.0 -f config-sample.yaml
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ KubeKey 的几种使用场景:
|
|||
从 [GitHub Release Page](https://github.com/kubesphere/kubekey/releases) 下载 KubeKey 或者直接运行以下命令。
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{</ tabs >}}
|
||||
|
|
@ -54,7 +54,7 @@ export KKZONE=cn
|
|||
运行以下命令来下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -69,7 +69,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
通过以上的命令,可以下载 KubeKey 的最新版本 (v1.1.1)。您可以更改命令中的版本号来下载特定的版本。
|
||||
通过以上的命令,可以下载 KubeKey 的最新版本 (v1.2.0)。您可以更改命令中的版本号来下载特定的版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
|
|||
|
|
@ -102,7 +102,7 @@ KubeKey 可以一同安装 Kubernetes 和 KubeSphere。根据要安装的 Kubern
|
|||
从 [GitHub 发布页面](https://github.com/kubesphere/kubekey/releases)下载 KubeKey 或直接使用以下命令。
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -118,7 +118,7 @@ export KKZONE=cn
|
|||
执行以下命令下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -133,7 +133,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.1),您可以修改命令中的版本号下载指定版本。
|
||||
执行以上命令会下载最新版 KubeKey (v1.2.0),您可以修改命令中的版本号下载指定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -157,7 +157,7 @@ chmod +x kk
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.21.5。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在此步骤的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
- 如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
|
@ -172,7 +172,7 @@ chmod +x kk
|
|||
./kk create config [-f ~/myfolder/abc.yaml]
|
||||
```
|
||||
|
||||
- 您可以指定要安装的 KubeSphere 版本(例如 `--with-kubesphere v3.1.1`)。
|
||||
- 您可以指定要安装的 KubeSphere 版本(例如 `--with-kubesphere v3.2.0`)。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere [version]
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -48,7 +48,7 @@ export KKZONE=cn
|
|||
运行以下命令来下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -78,7 +78,7 @@ chmod +x kk
|
|||
1. 执行以下命令为集群创建一个配置文件:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.20.4-k3s --with-kubesphere v3.1.1
|
||||
./kk create config --with-kubernetes v1.20.4-k3s --with-kubesphere v3.2.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -216,7 +216,7 @@ export KKZONE=cn
|
|||
执行以下命令下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -231,7 +231,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.1),您可以修改命令中的版本号下载指定版本。
|
||||
执行以上命令会下载最新版 KubeKey (v1.2.0),您可以修改命令中的版本号下载指定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -245,15 +245,15 @@ chmod +x kk
|
|||
|
||||
您可用使用 KubeKey 同时安装 Kubernetes 和 KubeSphere,通过自定义配置文件中的参数创建多节点集群。
|
||||
|
||||
创建安装有 KubeSphere 的 Kubernetes 集群(例如使用 `--with-kubesphere v3.1.1`):
|
||||
创建安装有 KubeSphere 的 Kubernetes 集群(例如使用 `--with-kubesphere v3.2.0`):
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
./kk create config --with-kubernetes v1.21.5 --with-kubesphere v3.2.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.21.5。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装 KubeSphere,或者在您后续使用 `./kk create cluster` 命令时再次添加该标志。
|
||||
- 如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -304,7 +304,7 @@ export KKZONE=cn
|
|||
执行以下命令下载 KubeKey。
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -319,7 +319,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.1),您可以修改命令中的版本号下载指定版本。
|
||||
执行以上命令会下载最新版 KubeKey (v1.2.0),您可以修改命令中的版本号下载指定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -338,12 +338,12 @@ chmod +x kk
|
|||
创建配置文件(一个示例配置文件)。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.19.8 --with-kubesphere v3.1.1
|
||||
./kk create config --with-kubernetes v1.19.8 --with-kubesphere v3.2.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.21.5。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -135,7 +135,7 @@ export KKZONE=cn
|
|||
运行以下命令来下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -150,7 +150,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
通过以上的命令,可以下载 KubeKey 的最新版本 (v1.1.1)。您可以更改命令中的版本号来下载特定的版本。
|
||||
通过以上的命令,可以下载 KubeKey 的最新版本 (v1.2.0)。您可以更改命令中的版本号来下载特定的版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -165,12 +165,12 @@ chmod +x kk
|
|||
1. 指定想要安装的 Kubernetes 版本和 KubeSphere 版本,例如:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
./kk create config --with-kubernetes v1.21.5 --with-kubesphere v3.2.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.21.5。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在此步骤的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
- 如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -87,7 +87,7 @@ export KKZONE=cn
|
|||
运行以下命令来下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -102,7 +102,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
通过以上命令,可以下载 KubeKey 的最新版本 (v1.1.1)。您可以更改命令中的版本号来下载特定的版本。
|
||||
通过以上命令,可以下载 KubeKey 的最新版本 (v1.2.0)。您可以更改命令中的版本号来下载特定的版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -117,12 +117,12 @@ chmod +x kk
|
|||
1. 指定您想要安装的 Kubernetes 版本和 KubeSphere 版本,例如:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
./kk create config --with-kubernetes v1.21.5 --with-kubesphere v3.2.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.21.5。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在此步骤的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
- 如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -89,7 +89,7 @@ export KKZONE=cn
|
|||
运行以下命令下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -104,7 +104,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
通过以上的命令,可以下载 KubeKey 的最新版本 (v1.1.1)。您可以更改命令中的版本号来下载特定的版本。
|
||||
通过以上的命令,可以下载 KubeKey 的最新版本 (v1.2.0)。您可以更改命令中的版本号来下载特定的版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -119,12 +119,12 @@ chmod +x kk
|
|||
1. 指定您想要安装的 Kubernetes 版本和 KubeSphere 版本,例如:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
./kk create config --with-kubernetes v1.21.5 --with-kubesphere v3.2.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.21.5。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在此步骤的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
- 如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -107,7 +107,7 @@ export KKZONE=cn
|
|||
执行以下命令下载 KubeKey。
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -122,7 +122,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.1),您可以修改命令中的版本号下载指定版本。
|
||||
执行以上命令会下载最新版 KubeKey (v1.2.0),您可以修改命令中的版本号下载指定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -141,7 +141,7 @@ chmod +x kk
|
|||
在当前位置创建配置文件 `config-sample.yaml`:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.17.9 -f config-sample.yaml
|
||||
./kk create config --with-kubesphere v3.2.0 --with-kubernetes v1.20.4 -f config-sample.yaml
|
||||
```
|
||||
|
||||
> 提示:默认是 Kubernetes 1.17.9,这些 Kubernetes 版本也与 KubeSphere 同时进行过充分的测试: v1.15.12, v1.16.13, v1.17.9 (default), v1.18.6,您可以根据需要指定版本。
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -118,7 +118,7 @@ export KKZONE=cn
|
|||
运行以下命令下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -133,7 +133,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
上面的命令会下载 KubeKey 最新版本 (v1.1.1)。您可以在命令中更改版本号以下载特定版本。
|
||||
上面的命令会下载 KubeKey 最新版本 (v1.2.0)。您可以在命令中更改版本号以下载特定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -148,7 +148,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
|||
2. 使用默认配置创建示例配置文件,这里以 Kubernetes v1.20.4 为例。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.20.4
|
||||
./kk create config --with-kubesphere v3.2.0 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -101,7 +101,7 @@ export KKZONE=cn
|
|||
执行以下命令下载 KubeKey。
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -116,7 +116,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.1),您可以修改命令中的版本号下载指定版本。
|
||||
执行以上命令会下载最新版 KubeKey (v1.2.0),您可以修改命令中的版本号下载指定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -137,7 +137,7 @@ chmod +x kk
|
|||
在当前位置创建配置文件 `master-HA.yaml`:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.17.9 -f master-HA.yaml
|
||||
./kk create config --with-kubesphere v3.2.0 --with-kubernetes v1.20.4 -f master-HA.yaml
|
||||
```
|
||||
|
||||
> 提示:默认是 Kubernetes 1.17.9,这些 Kubernetes 版本也与 KubeSphere 同时进行过充分的测试: v1.15.12, v1.16.13, v1.17.9 (default), v1.18.6,您可以根据需要指定版本。
|
||||
|
|
@ -280,7 +280,7 @@ spec:
|
|||
|
||||
```bash
|
||||
# 指定配置文件创建集群
|
||||
./kk create cluster --with-kubesphere v3.1.1 -f master-HA.yaml
|
||||
./kk create cluster --with-kubesphere v3.2.0 -f master-HA.yaml
|
||||
|
||||
# 查看 KubeSphere 安装日志 -- 直到出现控制台的访问地址和登录帐户
|
||||
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l app=ks-install -o jsonpath='{.items[0].metadata.name}') -f
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ Weight: 3420
|
|||
从 [GitHub 发布页面](https://github.com/kubesphere/kubekey/releases)下载 KubeKey 或直接使用以下命令:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -142,7 +142,7 @@ export KKZONE=cn
|
|||
执行以下命令下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -157,7 +157,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.1),您可以修改命令中的版本号下载指定版本。
|
||||
执行以上命令会下载最新版 KubeKey (v1.2.0),您可以修改命令中的版本号下载指定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -170,12 +170,12 @@ chmod +x kk
|
|||
创建包含默认配置的示例配置文件。以下以 Kubernetes v1.20.4 为例。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.20.4
|
||||
./kk create config --with-kubesphere v3.2.0 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.21.5。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
|
||||
|
|
|
|||
|
|
@ -39,9 +39,9 @@ weight: 6600
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,您可以先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件中启用告警系统。
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,您可以先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件中启用告警系统。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件并进行编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件并进行编辑。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -57,7 +57,7 @@ weight: 6600
|
|||
3. 执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -44,9 +44,9 @@ weight: 6200
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 的教程中说明了在 Kubernetes 上安装 KubeSphere 的流程,不过,需要事先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件中启用应用商店(可选系统组件)。
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 的教程中说明了在 Kubernetes 上安装 KubeSphere 的流程,不过,需要事先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件中启用应用商店(可选系统组件)。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -63,7 +63,7 @@ weight: 6200
|
|||
3. 执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -57,9 +57,9 @@ KubeSphere 审计日志系统提供了一套与安全相关并按时间顺序排
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
在 Kubernetes 上安装 KubeSphere 的过程与教程[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 中的说明大致相同,不同之处是需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件中启用审计功能(可选组件)。
|
||||
在 Kubernetes 上安装 KubeSphere 的过程与教程[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 中的说明大致相同,不同之处是需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件中启用审计功能(可选组件)。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -91,7 +91,7 @@ KubeSphere 审计日志系统提供了一套与安全相关并按时间顺序排
|
|||
3. 执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -43,9 +43,9 @@ DevOps 系统为用户提供了一个自动化的环境,应用可以自动发
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 的教程中说明了在 Kubernetes 上安装 KubeSphere 的流程,不过,需要事先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件中启用 DevOps(可选系统组件)。
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 的教程中说明了在 Kubernetes 上安装 KubeSphere 的流程,不过,需要事先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件中启用 DevOps(可选系统组件)。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -61,7 +61,7 @@ DevOps 系统为用户提供了一个自动化的环境,应用可以自动发
|
|||
3. 执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -59,9 +59,9 @@ KubeSphere 事件系统使用户能够跟踪集群内部发生的事件,例如
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
在 Kubernetes 上安装 KubeSphere 的过程与教程[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 中的说明大致相同,不同之处是需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件中启用事件系统(可选组件)。
|
||||
在 Kubernetes 上安装 KubeSphere 的过程与教程[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 中的说明大致相同,不同之处是需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件中启用事件系统(可选组件)。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -93,7 +93,7 @@ KubeSphere 事件系统使用户能够跟踪集群内部发生的事件,例如
|
|||
3. 执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -48,9 +48,9 @@ KubeEdge 的组件在两个单独的位置运行——云上和边缘节点上
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,您可以在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件中首先启用 KubeEdge。
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,您可以在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件中首先启用 KubeEdge。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件并进行编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件并进行编辑。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -68,7 +68,7 @@ KubeEdge 的组件在两个单独的位置运行——云上和边缘节点上
|
|||
4. 保存文件并执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -61,9 +61,9 @@ KubeSphere 为日志收集、查询和管理提供了一个强大的、全面的
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 的教程中说明了在 Kubernetes 上安装 KubeSphere 的流程,不过,需要事先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件中启用日志系统(可选系统组件)。
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 的教程中说明了在 Kubernetes 上安装 KubeSphere 的流程,不过,需要事先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件中启用日志系统(可选系统组件)。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -95,7 +95,7 @@ KubeSphere 为日志收集、查询和管理提供了一个强大的、全面的
|
|||
3. 执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -39,9 +39,9 @@ KubeSphere 支持用于[部署](../../project-user-guide/application-workloads/d
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 教程中演示了在 Kubernetes 上安装 KubeSphere 的流程。若想安装可选组件 Metrics Server,您可以先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件中先启用该组件。
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 教程中演示了在 Kubernetes 上安装 KubeSphere 的流程。若想安装可选组件 Metrics Server,您可以先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件中先启用该组件。
|
||||
|
||||
1. 下载文件 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml),并打开文件进行编辑。
|
||||
1. 下载文件 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml),并打开文件进行编辑。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -57,7 +57,7 @@ KubeSphere 支持用于[部署](../../project-user-guide/application-workloads/d
|
|||
3. 执行以下命令以开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -49,9 +49,9 @@ weight: 6900
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
在 Kubernetes 上安装 KubeSphere 的过程与教程[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 中的说明大致相同,不同之处是需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件中启用网络策略(可选组件)。
|
||||
在 Kubernetes 上安装 KubeSphere 的过程与教程[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 中的说明大致相同,不同之处是需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件中启用网络策略(可选组件)。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -68,7 +68,7 @@ weight: 6900
|
|||
3. 执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -41,9 +41,9 @@ weight: 6920
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,您可以在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件中首先启用容器组 IP 池。
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,您可以在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件中首先启用容器组 IP 池。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件并进行编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件并进行编辑。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -60,7 +60,7 @@ weight: 6920
|
|||
3. 执行以下命令开始安装。
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -41,9 +41,9 @@ KubeSphere 服务网格基于 [Istio](https://istio.io/),将微服务治理和
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
在 Kubernetes 上安装 KubeSphere 的过程和教程[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 中的说明大致相同,不同之处是需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件中启用服务网格(可选组件)。
|
||||
在 Kubernetes 上安装 KubeSphere 的过程和教程[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 中的说明大致相同,不同之处是需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件中启用服务网格(可选组件)。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -59,7 +59,7 @@ KubeSphere 服务网格基于 [Istio](https://istio.io/),将微服务治理和
|
|||
3. 执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -41,9 +41,9 @@ weight: 6915
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,您可以在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件中首先启用服务拓扑图。
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,您可以在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件中首先启用服务拓扑图。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件并进行编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml) 文件并进行编辑。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -60,7 +60,7 @@ weight: 6915
|
|||
3. 执行以下命令开始安装。
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ The Image Builder is compatible with that of OpenShift, and you can reuse it in
|
|||
1. [S2I command line tool](https://github.com/openshift/source-to-image/releases) provides an easy-to-use command to initialize a base directory structure required by the Builder. Run the following commands to install S2I CLI.
|
||||
|
||||
```bash
|
||||
$ wget https://github.com/openshift/source-to-image/releases/download/v1.1.14/source-to-image-v1.1.14-874754de-linux-386.tar.gz
|
||||
$ wget https://github.com/openshift/source-to-image/releases/download/v1.2.04/source-to-image-v1.1.14-874754de-linux-386.tar.gz
|
||||
$ tar -xvf source-to-image-v1.1.14-874754de-linux-386.tar.gz
|
||||
$ ls
|
||||
s2i source-to-image-v1.1.14-874754de-linux-386.tar.gz sti
|
||||
|
|
|
|||
|
|
@ -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.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -166,7 +166,7 @@ export KKZONE=cn
|
|||
执行以下命令下载 KubeKey。
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -181,7 +181,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.1),您可以修改命令中的版本号下载指定版本。
|
||||
执行以上命令会下载最新版 KubeKey (v1.2.0),您可以修改命令中的版本号下载指定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -202,12 +202,12 @@ chmod +x kk
|
|||
若要同时安装 Kubernetes 和 KubeSphere,可参考以下示例命令:
|
||||
|
||||
```bash
|
||||
./kk create cluster --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
./kk create cluster --with-kubernetes v1.20.4 --with-kubesphere v3.2.0
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere v3.1.1 的建议 Kubernetes 版本:v1.17.9,v1.18.8,v1.19.8 以及 v1.20.4。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.21.5。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 一般来说,对于 All-in-One 安装,您无需更改任何配置。
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,KubeKey 将只安装 Kubernetes。如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
- KubeKey 会默认安装 [OpenEBS](https://openebs.io/) 为开发和测试环境提供 LocalPV 以方便新用户。对于其他存储类型,请参见[持久化存储配置](../../installing-on-linux/persistent-storage-configurations/understand-persistent-storage/)。
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ weight: 2600
|
|||
3. 编辑完成后保存文件,执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -28,9 +28,9 @@ weight: 2200
|
|||
1. 执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
2. 检查安装日志:
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ weight: 7500
|
|||
## 准备工作
|
||||
|
||||
- 您需要有一个运行 KubeSphere v3.1.x 的集群。如果您的 KubeSphere 是 v3.0.0 或更早的版本,请先升级至 v3.1.x。
|
||||
- 请仔细阅读 [Release Notes for 3.1.1](../../release/release-v311/)。
|
||||
- 请仔细阅读 [Release Notes for 3.2.0](../../release/release-v320/)。
|
||||
- 提前备份所有重要的组件。
|
||||
- Docker 仓库。您需要有一个 Harbor 或其他 Docker 仓库。有关更多信息,请参见[准备一个私有镜像仓库](../../installing-on-linux/introduction/air-gapped-installation/#步骤-2准备一个私有镜像仓库)。
|
||||
- KubeSphere v3.2.0 支持的 Kubernetes 版本:v1.19.x、v1.20.x、v1.21.5 和 v1.22.1。
|
||||
|
|
@ -24,7 +24,7 @@ weight: 7500
|
|||
1. 使用以下命令从能够访问互联网的机器上下载镜像清单文件 `images-list.txt`:
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/images-list.txt
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -36,7 +36,7 @@ weight: 7500
|
|||
2. 下载 `offline-installation-tool.sh`。
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/offline-installation-tool.sh
|
||||
```
|
||||
|
||||
3. 使 `.sh` 文件可执行。
|
||||
|
|
@ -96,7 +96,7 @@ weight: 7500
|
|||
1. 执行以下命令下载 ks-installer,并将其传输至您充当任务机的机器,用于安装。
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
```
|
||||
|
||||
2. 验证您已在 `cluster-configuration.yaml` 中的 `spec.local_registry` 字段指定了私有镜像仓库地址。请注意,如果您的已有集群通过离线安装方式搭建,您应该已配置了此地址。如果您的集群采用在线安装方式搭建而需要进行离线升级,执行以下命令编辑您已有 KubeSphere v3.1.x 集群的 `cluster-configuration.yaml` 文件,并添加私有镜像仓库地址:
|
||||
|
|
@ -169,5 +169,3 @@ https://kubesphere.io 20xx-xx-xx xx:xx:xx
|
|||
要访问控制台,请确保在您的安全组中打开端口 30880。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||

|
||||
|
|
@ -11,7 +11,7 @@ weight: 7400
|
|||
|
||||
- 您需要有一个运行 KubeSphere v3.1.x 的集群。如果您的 KubeSphere 是 v3.0.0 或更早的版本,请先升级至 v3.1.x。
|
||||
- 您的 Kubernetes 版本必须为 v1.19.x 或更新版本。
|
||||
- 请仔细阅读 [Release Notes for 3.1.1](../../release/release-v311/)。
|
||||
- 请仔细阅读 [Release Notes for 3.2.0](../../release/release-v320/)。
|
||||
- 提前备份所有重要的组件。
|
||||
- Docker 仓库。您需要有一个 Harbor 或其他 Docker 仓库。有关更多信息,请参见[准备一个私有镜像仓库](../../installing-on-linux/introduction/air-gapped-installation/#步骤-2准备一个私有镜像仓库)。
|
||||
- 请确保每个节点都可以从该 Docker 仓库拉取镜像或向其推送镜像。
|
||||
|
|
@ -60,7 +60,7 @@ chmod +x kk
|
|||
1. 使用以下命令从能够访问互联网的机器上下载镜像清单文件 `images-list.txt`:
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/images-list.txt
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -72,7 +72,7 @@ chmod +x kk
|
|||
2. 下载 `offline-installation-tool.sh`。
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/offline-installation-tool.sh
|
||||
```
|
||||
|
||||
3. 使 `.sh` 文件可执行。
|
||||
|
|
@ -102,18 +102,18 @@ chmod +x kk
|
|||
5. 下载 Kubernetes 二进制文件。
|
||||
|
||||
```bash
|
||||
./offline-installation-tool.sh -b -v v1.17.9
|
||||
./offline-installation-tool.sh -b -v v1.21.5
|
||||
```
|
||||
|
||||
如果您无法访问 Google 的对象存储服务,请运行以下命令添加环境变量以变更来源。
|
||||
|
||||
```bash
|
||||
export KKZONE=cn;./offline-installation-tool.sh -b -v v1.17.9
|
||||
export KKZONE=cn;./offline-installation-tool.sh -b -v v1.21.5
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 您可以根据自己的需求变更下载的 Kubernetes 版本。安装 KubeSphere v3.2.0 的建议 Kubernetes 版本:v1.19.8、v1.20.4、v1.20.6、v1.21.5 以及 v1.22.1。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 您可以根据自己的需求变更下载的 Kubernetes 版本。安装 KubeSphere v3.2.0 的建议 Kubernetes 版本:v1.19.8、v1.20.4、v1.20.6、v1.21.5 以及 v1.22.1。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.21.5。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 您可以通过下载 Kubernetes v1.17.9 二进制文件将 Kubernetes 从 v1.16.13 升级到 v1.17.9。但对于跨多个版本升级,需要事先下载所有中间版本,例如您想将 Kubernetes 从 v1.15.12 升级到 v1.18.6,则需要下载 Kubernetes v1.16.13、v1.17.9 和 v1.18.6 二进制文件。
|
||||
|
||||
|
|
@ -177,7 +177,7 @@ chmod +x kk
|
|||
例如:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.17.9 --with-kubesphere v3.1.1 -f config-sample.yaml
|
||||
./kk create config --with-kubernetes v1.21.5 --with-kubesphere v3.2.0 -f config-sample.yaml
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -218,7 +218,7 @@ chmod +x kk
|
|||
privateRegistry: dockerhub.kubekey.local
|
||||
```
|
||||
|
||||
#### 将单节点集群升级至 KubeSphere v3.2.0 和 Kubernetes v1.19.8
|
||||
#### 将单节点集群升级至 KubeSphere v3.2.0 和 Kubernetes v1.21.5
|
||||
|
||||
```bash
|
||||
./kk upgrade -f config-sample.yaml
|
||||
|
|
@ -265,7 +265,7 @@ chmod +x kk
|
|||
例如:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.17.9 --with-kubesphere v3.1.1 -f config-sample.yaml
|
||||
./kk create config --with-kubernetes v1.21.5 --with-kubesphere v3.2.0 -f config-sample.yaml
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -308,7 +308,7 @@ chmod +x kk
|
|||
privateRegistry: dockerhub.kubekey.local
|
||||
```
|
||||
|
||||
#### 将多节点集群升级至 KubeSphere v3.2.0 和 Kubernetes v1.19.8
|
||||
#### 将多节点集群升级至 KubeSphere v3.2.0 和 Kubernetes v1.21.5
|
||||
|
||||
```bash
|
||||
./kk upgrade -f config-sample.yaml
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ weight: 7300
|
|||
## 准备工作
|
||||
|
||||
- 您需要有一个运行 KubeSphere v3.1.x 的集群。如果您的 KubeSphere 是 v3.0.0 或更早的版本,请先升级至 v3.1.x。
|
||||
- 请仔细阅读 [Release Notes for 3.1.1](../../release/release-v311/)。
|
||||
- 请仔细阅读 [Release Notes for 3.2.0](../../release/release-v320/)。
|
||||
- 提前备份所有重要的组件。
|
||||
- KubeSphere v3.2.0 支持的 Kubernetes 版本:v1.19.x、v1.20.x、v1.21.5 和 v1.22.1。
|
||||
|
||||
|
|
@ -20,7 +20,7 @@ weight: 7300
|
|||
运行以下命令升级集群:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.2.0/kubesphere-installer.yaml
|
||||
```
|
||||
|
||||
## 启用可插拔组件
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ weight: 7200
|
|||
## 准备工作
|
||||
|
||||
- 您需要有一个运行 KubeSphere v3.1.x 的集群。如果您的 KubeSphere 是 v3.0.0 或更早的版本,请先升级至 v3.1.x。
|
||||
- 请仔细阅读 [Release Notes for 3.1.1](../../release/release-v311/)。
|
||||
- 请仔细阅读 [Release Notes for 3.2.0](../../release/release-v320/)。
|
||||
- 提前备份所有重要的组件。
|
||||
- 确定您的升级方案。本文档中提供 [All-in-One 集群](#all-in-one-集群)和[多节点集群](#多节点集群)的两种升级场景。
|
||||
|
||||
|
|
@ -29,7 +29,7 @@ weight: 7200
|
|||
从 [GitHub 发布页面](https://github.com/kubesphere/kubekey/releases)下载 KubeKey 或直接使用以下命令。
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -45,7 +45,7 @@ export KKZONE=cn
|
|||
执行以下命令下载 KubeKey。
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.2.0 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -60,7 +60,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.1),您可以修改命令中的版本号以下载指定版本。
|
||||
执行以上命令会下载最新版 KubeKey (v1.2.0),您可以修改命令中的版本号以下载指定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -84,7 +84,7 @@ chmod +x kk
|
|||
运行以下命令使用 KubeKey 将您的单节点集群升级至 KubeSphere v3.2.0 和 Kubernetes v1.20.4:
|
||||
|
||||
```bash
|
||||
./kk upgrade --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
./kk upgrade --with-kubernetes v1.20.4 --with-kubesphere v3.2.0
|
||||
```
|
||||
|
||||
要将 Kubernetes 升级至特定版本,请在 `--with-kubernetes` 标志后明确指定版本号。以下是可用版本:
|
||||
|
|
@ -130,7 +130,7 @@ chmod +x kk
|
|||
运行以下命令,将您的集群升级至 KubeSphere v3.2.0 和 Kubernetes v1.20.4:
|
||||
|
||||
```bash
|
||||
./kk upgrade --with-kubernetes v1.20.4 --with-kubesphere v3.1.1 -f sample.yaml
|
||||
./kk upgrade --with-kubernetes v1.20.4 --with-kubesphere v3.2.0 -f sample.yaml
|
||||
```
|
||||
|
||||
要将 Kubernetes 升级至特定版本,请在 `--with-kubernetes` 标志后明确指定版本号。以下是可用版本:
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue