mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
Merge pull request #1816 from Felixnoo/v-311
Update Installation Parameters to KS v3.1.1
This commit is contained in:
commit
8fbfcfb793
|
|
@ -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.0/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.1.1/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.0/cluster-configuration.yaml) and edit it:
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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.0/kubesphere-installer.yaml
|
||||
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.0/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
You can inspect the logs of installation through the following command:
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ You need to select:
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- To install KubeSphere v3.1.0 on Kubernetes, your Kubernetes version must be v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
- To install KubeSphere v3.1.1 on Kubernetes, your Kubernetes version must be v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
- 2 nodes are included in this example. You can add more nodes based on your own needs especially in a production environment.
|
||||
- The machine type Standard / 4 GB / 2 vCPUs is for minimal installation. If you plan to enable several pluggable components or use the cluster for production, you can upgrade your nodes to a more powerfull type (such as CPU-Optimized / 8 GB / 4 vCPUs). It seems that DigitalOcean provisions the master nodes based on the type of the worker nodes, and for Standard ones the API server can become unresponsive quite soon.
|
||||
|
||||
|
|
@ -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.0/kubesphere-installer.yaml
|
||||
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.0/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
- Inspect the logs of installation:
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ Check the installation with `aws --version`.
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- To install KubeSphere v3.1.0 on Kubernetes, your Kubernetes version must be v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
- To install KubeSphere v3.1.1 on Kubernetes, your Kubernetes version must be v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
- 3 nodes are included in this example. You can add more nodes based on your own needs especially in a production environment.
|
||||
- The machine type t3.medium (2 vCPU, 4GB memory) is for minimal installation. If you want to enable pluggable components or use the cluster for production, please select a machine type with more resources.
|
||||
- For other settings, you can change them as well based on your own needs or use the default value.
|
||||
|
|
@ -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.0/kubesphere-installer.yaml
|
||||
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.0/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
- Inspect the logs of installation:
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ This guide walks you through the steps of deploying KubeSphere on [Google Kubern
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- To install KubeSphere v3.1.0 on Kubernetes, your Kubernetes version must be v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
- To install KubeSphere v3.1.1 on Kubernetes, your Kubernetes version must be v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
- 3 nodes are included in this example. You can add more nodes based on your own needs especially in a production environment.
|
||||
- The machine type e2-medium (2 vCPU, 4GB memory) is for minimal installation. If you want to enable pluggable components or use the cluster for production, please select a machine type with more resources.
|
||||
- For other settings, you can change them as well based on your own needs or use the default value.
|
||||
|
|
@ -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.0/kubesphere-installer.yaml
|
||||
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.0/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
- Inspect the logs of installation:
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ This guide walks you through the steps of deploying KubeSphere on [Huaiwei CCE](
|
|||
|
||||
First, create a Kubernetes cluster based on the requirements below.
|
||||
|
||||
- To install KubeSphere v3.1.0 on Kubernetes, your Kubernetes version must be v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
- To install KubeSphere v3.1.1 on Kubernetes, your Kubernetes version must be v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
- Ensure the cloud computing network for your Kubernetes cluster works, or use an elastic IP when you use **Auto Create** or **Select Existing**. You can also configure the network after the cluster is created. Refer to [NAT Gateway](https://support.huaweicloud.com/en-us/productdesc-natgateway/en-us_topic_0086739762.html).
|
||||
- Select `s3.xlarge.2` `4-core|8GB` for nodes and add more if necessary (3 and more nodes are required for a production environment).
|
||||
|
||||
|
|
@ -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.0/kubesphere-installer.yaml
|
||||
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.0/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ This guide walks you through the steps of deploying KubeSphere on [Oracle Kubern
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- To install KubeSphere v3.1.0 on Kubernetes, your Kubernetes version must be v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
- To install KubeSphere v3.1.1 on Kubernetes, your Kubernetes version must be v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
- It is recommended that you should select **Public** for **Visibility Type**, which will assign a public IP address for every node. The IP address can be used later to access the web console of KubeSphere.
|
||||
- In Oracle Cloud, a Shape is a template that determines the number of CPUs, amount of memory, and other resources that are allocated to an instance. `VM.Standard.E2.2 (2 CPUs and 16G Memory)` is used in this example. For more information, see [Standard Shapes](https://docs.cloud.oracle.com/en-us/iaas/Content/Compute/References/computeshapes.htm#vmshapes__vm-standard).
|
||||
- 3 nodes are included in this example. You can add more nodes based on your own needs especially in a production environment.
|
||||
|
|
@ -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.0/kubesphere-installer.yaml
|
||||
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.0/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
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.0/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
2. Inspect the logs of installation:
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ weight: 4120
|
|||
|
||||
You can install KubeSphere on virtual machines and bare metal with Kubernetes also provisioned. In addition, KubeSphere can also be deployed on cloud-hosted and on-premises Kubernetes clusters as long as your Kubernetes cluster meets the prerequisites below.
|
||||
|
||||
- To install KubeSphere v3.1.0 on Kubernetes, your Kubernetes version must be v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
- To install KubeSphere v3.1.1 on Kubernetes, your Kubernetes version must be v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
- Available CPU > 1 Core and Memory > 2 G.
|
||||
- A **default** StorageClass in your Kubernetes cluster is configured; use `kubectl get sc` to verify it.
|
||||
- The CSR signing feature is activated in kube-apiserver when it is started with the `--cluster-signing-cert-file` and `--cluster-signing-key-file` parameters. See [RKE installation issue](https://github.com/kubesphere/kubesphere/issues/1925#issuecomment-591698309).
|
||||
|
|
|
|||
|
|
@ -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.0/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/cluster-configuration.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/kubesphere-installer.yaml
|
||||
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
|
||||
```
|
||||
|
||||
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:
|
||||
|
|
@ -242,14 +242,14 @@ To access the console, make sure port 30880 is opened in your security group.
|
|||
|
||||
## Appendix
|
||||
|
||||
### Image list of KubeSphere v3.1.0
|
||||
### Image list of KubeSphere v3.1.1
|
||||
|
||||
```txt
|
||||
##k8s-images
|
||||
kubesphere/kube-apiserver:v1.20.4
|
||||
kubesphere/kube-scheduler:v1.20.4
|
||||
kubesphere/kube-proxy:v1.20.4
|
||||
kubesphere/kube-controller-manager:v1.20.4
|
||||
kubesphere/kube-apiserver:v1.20.6
|
||||
kubesphere/kube-scheduler:v1.20.6
|
||||
kubesphere/kube-proxy:v1.20.6
|
||||
kubesphere/kube-controller-manager:v1.20.6
|
||||
kubesphere/kube-apiserver:v1.19.8
|
||||
kubesphere/kube-scheduler:v1.19.8
|
||||
kubesphere/kube-proxy:v1.19.8
|
||||
|
|
@ -258,10 +258,10 @@ kubesphere/kube-apiserver:v1.19.9
|
|||
kubesphere/kube-scheduler:v1.19.9
|
||||
kubesphere/kube-proxy:v1.19.9
|
||||
kubesphere/kube-controller-manager:v1.19.9
|
||||
kubesphere/kube-apiserver:v1.18.6
|
||||
kubesphere/kube-scheduler:v1.18.6
|
||||
kubesphere/kube-proxy:v1.18.6
|
||||
kubesphere/kube-controller-manager:v1.18.6
|
||||
kubesphere/kube-apiserver:v1.18.8
|
||||
kubesphere/kube-scheduler:v1.18.8
|
||||
kubesphere/kube-proxy:v1.18.8
|
||||
kubesphere/kube-controller-manager:v1.18.8
|
||||
kubesphere/kube-apiserver:v1.17.9
|
||||
kubesphere/kube-scheduler:v1.17.9
|
||||
kubesphere/kube-proxy:v1.17.9
|
||||
|
|
@ -273,10 +273,12 @@ calico/cni:v3.16.3
|
|||
calico/kube-controllers:v3.16.3
|
||||
calico/node:v3.16.3
|
||||
calico/pod2daemon-flexvol:v3.16.3
|
||||
calico/typha:v3.16.3
|
||||
kubesphere/flannel:v0.12.0
|
||||
coredns/coredns:1.6.9
|
||||
kubesphere/k8s-dns-node-cache:1.15.12
|
||||
openebs/provisioner-localpv:2.3.0
|
||||
openebs/linux-utils:2.3.0
|
||||
openebs/provisioner-localpv:2.10.1
|
||||
openebs/linux-utils:2.10.0
|
||||
kubesphere/nfs-client-provisioner:v3.1.0-k8s1.11
|
||||
##csi-images
|
||||
csiplugin/csi-neonsan:v1.2.0
|
||||
|
|
@ -289,21 +291,22 @@ csiplugin/csi-snapshotter:v2.0.1
|
|||
csiplugin/csi-node-driver-registrar:v1.2.0
|
||||
csiplugin/csi-qingcloud:v1.2.0
|
||||
##kubesphere-images
|
||||
kubesphere/ks-apiserver:v3.1.0
|
||||
kubesphere/ks-console:v3.1.0
|
||||
kubesphere/ks-controller-manager:v3.1.0
|
||||
kubesphere/ks-installer:v3.1.0
|
||||
kubesphere/ks-apiserver:v3.1.1
|
||||
kubesphere/ks-console:v3.1.1
|
||||
kubesphere/ks-controller-manager:v3.1.1
|
||||
kubesphere/ks-installer:v3.1.1
|
||||
kubesphere/kubectl:v1.20.0
|
||||
kubesphere/kubectl:v1.19.0
|
||||
redis:5.0.5-alpine
|
||||
alpine:3.10.4
|
||||
haproxy:2.0.4
|
||||
redis:5.0.12-alpine
|
||||
alpine:3.14
|
||||
haproxy:2.0.22-alpine
|
||||
nginx:1.14-alpine
|
||||
minio/minio:RELEASE.2019-08-07T01-59-21Z
|
||||
minio/mc:RELEASE.2019-08-07T23-14-43Z
|
||||
mirrorgooglecontainers/defaultbackend-amd64:1.4
|
||||
kubesphere/nginx-ingress-controller:v0.35.0
|
||||
osixia/openldap:1.3.0
|
||||
csiplugin/snapshot-controller:v2.0.1
|
||||
csiplugin/snapshot-controller:v3.0.3
|
||||
kubesphere/kubefed:v0.7.0
|
||||
kubesphere/tower:v0.2.0
|
||||
kubesphere/prometheus-config-reloader:v0.42.1
|
||||
|
|
@ -371,11 +374,11 @@ kubesphere/python-35-centos7:v2.1.0
|
|||
kubesphere/python-34-centos7:v2.1.0
|
||||
kubesphere/python-27-centos7:v2.1.0
|
||||
##openpitrix-images
|
||||
kubesphere/openpitrix-jobs:v3.1.0
|
||||
kubespheredev/openpitrix-jobs:v3.1.1
|
||||
##weave-scope-images
|
||||
weaveworks/scope:1.13.0
|
||||
##kubeedge-images
|
||||
kubeedge/cloudcore:v1.6.1
|
||||
kubeedge/cloudcore:v1.6.2
|
||||
kubesphere/edge-watcher:v0.1.0
|
||||
kubesphere/kube-rbac-proxy:v0.5.0
|
||||
kubesphere/edge-watcher-agent:v0.1.0
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ To make sure edge nodes can successfully talk to your cluster, you must forward
|
|||
|
||||
{{</ notice >}}
|
||||
|
||||
6. After an edge node joins your cluster, some Pods may be scheduled to it while they remains in the `Pending` state on the edge node. Due to the tolerations some DaemonSets (for example, Calico) have, in the current version (KubeSphere v3.1.0), you need to manually patch some Pods so that they will not be schedule to the edge node.
|
||||
6. After an edge node joins your cluster, some Pods may be scheduled to it while they remains in the `Pending` state on the edge node. Due to the tolerations some DaemonSets (for example, Calico) have, in the current version (KubeSphere v3.1.1), you need to manually patch some Pods so that they will not be schedule to the edge node.
|
||||
|
||||
```bash
|
||||
#!/bin/bash
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
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.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -92,12 +92,12 @@ 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.0 --with-kubernetes v1.20.4
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.0: v1.17.9, v1.18.8, v1.19.8 and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.1: v1.17.9, v1.18.8, v1.19.8, and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
|
||||
- If you do not add the flag `--with-kubesphere` in the command in this step, KubeSphere will not be deployed unless you install it using the `addons` field in the configuration file or add this flag again when you use `./kk create cluster` later.
|
||||
- If you add the flag `--with-kubesphere` without specifying a KubeSphere version, the latest version of KubeSphere will be installed.
|
||||
|
|
@ -199,12 +199,12 @@ After you complete the configuration, you can execute the following command to s
|
|||
Password: P@88w0rd
|
||||
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
|
||||
#####################################################
|
||||
https://kubesphere.io 2020-xx-xx xx:xx:xx
|
||||
|
|
|
|||
|
|
@ -267,7 +267,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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -283,7 +283,7 @@ export KKZONE=cn
|
|||
Run the following command to download KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -298,7 +298,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.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
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.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -311,12 +311,12 @@ 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.0 --with-kubernetes v1.20.4
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.0: v1.17.9, v1.18.8, v1.19.8 and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.1: v1.17.9, v1.18.8, v1.19.8, and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
|
||||
- If you do not add the flag `--with-kubesphere` in the command in this step, KubeSphere will not be deployed unless you install it using the `addons` field in the configuration file or add this flag again when you use `./kk create cluster` later.
|
||||
- If you add the flag `--with-kubesphere` without specifying a KubeSphere version, the latest version of KubeSphere will be installed.
|
||||
|
|
@ -400,12 +400,12 @@ After you complete the configuration, you can execute the following command to s
|
|||
Password: P@88w0rd
|
||||
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
|
||||
#####################################################
|
||||
https://kubesphere.io 2020-xx-xx xx:xx:xx
|
||||
|
|
|
|||
|
|
@ -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.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:
|
||||
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:
|
||||
|
||||
```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.0/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/offline-installation-tool.sh
|
||||
```
|
||||
|
||||
3. Make the `.sh` file executable.
|
||||
|
|
@ -215,7 +215,7 @@ As you install KubeSphere and Kubernetes on Linux, you need to prepare an image
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- You can change the Kubernetes version downloaded based on your needs. Recommended Kubernetes versions for KubeSphere v3.1.0: v1.17.9, v1.18.8, v1.19.8 and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../kubekey/#support-matrix).
|
||||
- You can change the Kubernetes version downloaded based on your needs. Recommended Kubernetes versions for KubeSphere v3.1.1: v1.17.9, v1.18.8, v1.19.8, and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../kubekey/#support-matrix).
|
||||
|
||||
- After you run the script, a folder `kubekey` is automatically created. Note that this file and `kk` must be placed in the same directory when you create the cluster later.
|
||||
|
||||
|
|
@ -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.0 -f config-sample.yaml
|
||||
./kk create config --with-kubernetes v1.17.9 --with-kubesphere v3.1.1 -f config-sample.yaml
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -328,7 +328,7 @@ metadata:
|
|||
name: ks-installer
|
||||
namespace: kubesphere-system
|
||||
labels:
|
||||
version: v3.1.0
|
||||
version: v3.1.1
|
||||
spec:
|
||||
persistence:
|
||||
storageClass: ""
|
||||
|
|
@ -475,12 +475,12 @@ Account: admin
|
|||
Password: P@88w0rd
|
||||
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
|
||||
#####################################################
|
||||
https://kubesphere.io 20xx-xx-xx xx:xx:xx
|
||||
|
|
@ -499,14 +499,14 @@ To access the console, make sure port 30880 is opened in your security group.
|
|||
|
||||
## Appendix
|
||||
|
||||
### Image list of KubeSphere v3.1.0
|
||||
### Image list of KubeSphere v3.1.1
|
||||
|
||||
```txt
|
||||
##k8s-images
|
||||
kubesphere/kube-apiserver:v1.20.4
|
||||
kubesphere/kube-scheduler:v1.20.4
|
||||
kubesphere/kube-proxy:v1.20.4
|
||||
kubesphere/kube-controller-manager:v1.20.4
|
||||
kubesphere/kube-apiserver:v1.20.6
|
||||
kubesphere/kube-scheduler:v1.20.6
|
||||
kubesphere/kube-proxy:v1.20.6
|
||||
kubesphere/kube-controller-manager:v1.20.6
|
||||
kubesphere/kube-apiserver:v1.19.8
|
||||
kubesphere/kube-scheduler:v1.19.8
|
||||
kubesphere/kube-proxy:v1.19.8
|
||||
|
|
@ -515,10 +515,10 @@ kubesphere/kube-apiserver:v1.19.9
|
|||
kubesphere/kube-scheduler:v1.19.9
|
||||
kubesphere/kube-proxy:v1.19.9
|
||||
kubesphere/kube-controller-manager:v1.19.9
|
||||
kubesphere/kube-apiserver:v1.18.6
|
||||
kubesphere/kube-scheduler:v1.18.6
|
||||
kubesphere/kube-proxy:v1.18.6
|
||||
kubesphere/kube-controller-manager:v1.18.6
|
||||
kubesphere/kube-apiserver:v1.18.8
|
||||
kubesphere/kube-scheduler:v1.18.8
|
||||
kubesphere/kube-proxy:v1.18.8
|
||||
kubesphere/kube-controller-manager:v1.18.8
|
||||
kubesphere/kube-apiserver:v1.17.9
|
||||
kubesphere/kube-scheduler:v1.17.9
|
||||
kubesphere/kube-proxy:v1.17.9
|
||||
|
|
@ -530,10 +530,12 @@ calico/cni:v3.16.3
|
|||
calico/kube-controllers:v3.16.3
|
||||
calico/node:v3.16.3
|
||||
calico/pod2daemon-flexvol:v3.16.3
|
||||
calico/typha:v3.16.3
|
||||
kubesphere/flannel:v0.12.0
|
||||
coredns/coredns:1.6.9
|
||||
kubesphere/k8s-dns-node-cache:1.15.12
|
||||
openebs/provisioner-localpv:2.3.0
|
||||
openebs/linux-utils:2.3.0
|
||||
openebs/provisioner-localpv:2.10.1
|
||||
openebs/linux-utils:2.10.0
|
||||
kubesphere/nfs-client-provisioner:v3.1.0-k8s1.11
|
||||
##csi-images
|
||||
csiplugin/csi-neonsan:v1.2.0
|
||||
|
|
@ -546,21 +548,22 @@ csiplugin/csi-snapshotter:v2.0.1
|
|||
csiplugin/csi-node-driver-registrar:v1.2.0
|
||||
csiplugin/csi-qingcloud:v1.2.0
|
||||
##kubesphere-images
|
||||
kubesphere/ks-apiserver:v3.1.0
|
||||
kubesphere/ks-console:v3.1.0
|
||||
kubesphere/ks-controller-manager:v3.1.0
|
||||
kubesphere/ks-installer:v3.1.0
|
||||
kubesphere/ks-apiserver:v3.1.1
|
||||
kubesphere/ks-console:v3.1.1
|
||||
kubesphere/ks-controller-manager:v3.1.1
|
||||
kubesphere/ks-installer:v3.1.1
|
||||
kubesphere/kubectl:v1.20.0
|
||||
kubesphere/kubectl:v1.19.0
|
||||
redis:5.0.5-alpine
|
||||
alpine:3.10.4
|
||||
haproxy:2.0.4
|
||||
redis:5.0.12-alpine
|
||||
alpine:3.14
|
||||
haproxy:2.0.22-alpine
|
||||
nginx:1.14-alpine
|
||||
minio/minio:RELEASE.2019-08-07T01-59-21Z
|
||||
minio/mc:RELEASE.2019-08-07T23-14-43Z
|
||||
mirrorgooglecontainers/defaultbackend-amd64:1.4
|
||||
kubesphere/nginx-ingress-controller:v0.35.0
|
||||
osixia/openldap:1.3.0
|
||||
csiplugin/snapshot-controller:v2.0.1
|
||||
csiplugin/snapshot-controller:v3.0.3
|
||||
kubesphere/kubefed:v0.7.0
|
||||
kubesphere/tower:v0.2.0
|
||||
kubesphere/prometheus-config-reloader:v0.42.1
|
||||
|
|
@ -628,11 +631,11 @@ kubesphere/python-35-centos7:v2.1.0
|
|||
kubesphere/python-34-centos7:v2.1.0
|
||||
kubesphere/python-27-centos7:v2.1.0
|
||||
##openpitrix-images
|
||||
kubesphere/openpitrix-jobs:v3.1.0
|
||||
kubespheredev/openpitrix-jobs:v3.1.1
|
||||
##weave-scope-images
|
||||
weaveworks/scope:1.13.0
|
||||
##kubeedge-images
|
||||
kubeedge/cloudcore:v1.6.1
|
||||
kubeedge/cloudcore:v1.6.2
|
||||
kubesphere/edge-watcher:v0.1.0
|
||||
kubesphere/kube-rbac-proxy:v0.5.0
|
||||
kubesphere/edge-watcher-agent:v0.1.0
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -69,21 +69,21 @@ 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.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
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.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
## Support Matrix
|
||||
|
||||
If you want to use KubeKey to install both Kubernetes and KubeSphere v3.1.0, see the following table of all supported Kubernetes versions.
|
||||
If you want to use KubeKey to install both Kubernetes and KubeSphere v3.1.1, see the following table of all supported Kubernetes versions.
|
||||
|
||||
| KubeSphere version | Supported Kubernetes versions |
|
||||
| ------------------ | ------------------------------------------------------------ |
|
||||
| v3.1.0 | v1.17.0, v1.17.4, v1.17.5, v1.17.6, v1.17.7, v1.17.8, v1.17.9, v1.18.3, v1.18.5, v1.18.6, v1.18.8, v1.19.0, v1.19.8, v1.19.9, v1.20.4 |
|
||||
| v3.1.1 | v1.17.0, v1.17.4, v1.17.5, v1.17.6, v1.17.7, v1.17.8, v1.17.9, v1.18.3, v1.18.5, v1.18.6, v1.18.8, v1.19.0, v1.19.8, v1.19.9, v1.20.4, v1.20.6 |
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- You can also run `./kk version --show-supported-k8s` to see all supported Kubernetes versions that can be installed by KubeKey.
|
||||
- The Kubernetes versions that can be installed using KubeKey are different from the Kubernetes versions supported by KubeSphere v3.1.0. If you want to [install KubeSphere v3.1.0 on an existing Kubernetes cluster](../../../installing-on-kubernetes/introduction/overview/), your Kubernetes version must be v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
- The Kubernetes versions that can be installed using KubeKey are different from the Kubernetes versions supported by KubeSphere v3.0.0. If you want to [install KubeSphere v3.1.1 on an existing Kubernetes cluster](../../../installing-on-kubernetes/introduction/overview/), your Kubernetes version must be v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
|
||||
{{</ 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
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.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -162,7 +162,7 @@ Command:
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.0: v1.17.9, v1.18.8, v1.19.8 and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.1: v1.17.9, v1.18.8, v1.19.8, and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../kubekey/#support-matrix).
|
||||
|
||||
- If you do not add the flag `--with-kubesphere` in the command in this step, KubeSphere will not be deployed unless you install it using the `addons` field in the configuration file or add this flag again when you use `./kk create cluster` later.
|
||||
- If you add the flag `--with-kubesphere` without specifying a KubeSphere version, the latest version of KubeSphere will be installed.
|
||||
|
|
@ -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.0`).
|
||||
- You can specify a KubeSphere version that you want to install (for example, `--with-kubesphere v3.1.1`).
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere [version]
|
||||
|
|
@ -319,12 +319,12 @@ Account: admin
|
|||
Password: P@88w0rd
|
||||
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
|
||||
#####################################################
|
||||
https://kubesphere.io 20xx-xx-xx xx:xx:xx
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0) of KubeKey. Note that an earlier version of KubeKey cannot be used to install K3s.
|
||||
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.
|
||||
|
||||
{{</ 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.0
|
||||
./kk create config --with-kubernetes v1.20.4-k3s --with-kubesphere v3.1.1
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
KubeKey v1.1.0 only supports the installation of K3s v1.20.4.
|
||||
KubeKey v1.1.1 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
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.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -244,15 +244,15 @@ 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.0`):
|
||||
Create a Kubernetes cluster with KubeSphere installed (for example, `--with-kubesphere v3.1.1`):
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.0
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.0: v1.17.9, v1.18.8, v1.19.8 and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.1: v1.17.9, v1.18.8, v1.19.8, and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
|
||||
- If you do not add the flag `--with-kubesphere` in the command above, KubeSphere will not be deployed unless you install it using the `addons` field in the configuration file or add this flag again when you use `./kk create cluster` later.
|
||||
- If you add the flag `--with-kubesphere` without specifying a KubeSphere version, the latest version of KubeSphere will be installed.
|
||||
|
|
@ -313,12 +313,12 @@ Console: http://192.168.60.152:30880
|
|||
Account: admin
|
||||
Password: P@88w0rd
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
#####################################################
|
||||
https://kubesphere.io 20xx-xx-xx xx:xx:xx
|
||||
#####################################################
|
||||
|
|
|
|||
|
|
@ -289,7 +289,7 @@ systemctl status -l keepalived
|
|||
|
||||
## Download KubeKey
|
||||
|
||||
[Kubekey](https://github.com/kubesphere/kubekey) is the brand-new installer which provides an easy, fast and flexible way to install Kubernetes and KubeSphere v3.0.0.
|
||||
[Kubekey](https://github.com/kubesphere/kubekey) is the brand-new installer which provides an easy, fast and flexible way to install Kubernetes and KubeSphere v3.1.1.
|
||||
|
||||
Follow the step below to download KubeKey.
|
||||
|
||||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
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.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -345,15 +345,15 @@ 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.0`):
|
||||
Create a Kubernetes cluster with KubeSphere installed (for example, `--with-kubesphere v3.1.1`):
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.19.8 --with-kubesphere v3.1.0
|
||||
./kk create config --with-kubernetes v1.19.8 --with-kubesphere v3.1.1
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.0: v1.17.9, v1.18.8, v1.19.8 and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.1: v1.17.9, v1.18.8, v1.19.8, and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
|
||||
- If you do not add the flag `--with-kubesphere` in the command in this step, KubeSphere will not be deployed unless you install it using the `addons` field in the configuration file or add this flag again when you use `./kk create cluster` later.
|
||||
- If you add the flag `--with-kubesphere` without specifying a KubeSphere version, the latest version of KubeSphere will be installed.
|
||||
|
|
@ -429,7 +429,7 @@ metadata:
|
|||
name: ks-installer
|
||||
namespace: kubesphere-system
|
||||
labels:
|
||||
version: v3.0.0
|
||||
version: v3.1.1
|
||||
spec:
|
||||
local_registry: ""
|
||||
persistence:
|
||||
|
|
@ -520,12 +520,12 @@ Console: http://10.10.71.214:30880
|
|||
Account: admin
|
||||
Password: P@88w0rd
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
#####################################################
|
||||
https://kubesphere.io 2020-08-15 23:32:12
|
||||
#####################################################
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
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.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -165,12 +165,12 @@ 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.0
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.0: v1.17.9, v1.18.8, v1.19.8 and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.1: v1.17.9, v1.18.8, v1.19.8, and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
|
||||
- If you do not add the flag `--with-kubesphere` in the command in this step, KubeSphere will not be deployed unless you install it using the `addons` field in the configuration file or add this flag again when you use `./kk create cluster` later.
|
||||
- If you add the flag `--with-kubesphere` without specifying a KubeSphere version, the latest version of KubeSphere will be installed.
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
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.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -117,12 +117,12 @@ 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.0
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.0: v1.17.9, v1.18.8, v1.19.8 and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.1: v1.17.9, v1.18.8, v1.19.8, and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
|
||||
- If you do not add the flag `--with-kubesphere` in the command in this step, KubeSphere will not be deployed unless you install it using the `addons` field in the configuration file or add this flag again when you use `./kk create cluster` later.
|
||||
- If you add the flag `--with-kubesphere` without specifying a KubeSphere version, the latest version of KubeSphere will be installed.
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
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.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -119,12 +119,12 @@ 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.0
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.0: v1.17.9, v1.18.8, v1.19.8 and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.1: v1.17.9, v1.18.8, v1.19.8, and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
|
||||
- If you do not add the flag `--with-kubesphere` in the command in this step, KubeSphere will not be deployed unless you install it using the `addons` field in the configuration file or add this flag again when you use `./kk create cluster` later.
|
||||
- If you add the flag `--with-kubesphere` without specifying a KubeSphere version, the latest version of KubeSphere will be installed.
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
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.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -145,12 +145,12 @@ The commands above download the latest release (v1.1.0) 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.0 --with-kubernetes v1.20.4
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.0: v1.17.9, v1.18.8, v1.19.8 and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.1: v1.17.9, v1.18.8, v1.19.8, and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
|
||||
- If you do not add the flag `--with-kubesphere` in the command in this step, KubeSphere will not be deployed unless you install it using the `addons` field in the configuration file or add this flag again when you use `./kk create cluster` later.
|
||||
- If you add the flag `--with-kubesphere` without specifying a KubeSphere version, the latest version of KubeSphere will be installed.
|
||||
|
|
@ -242,12 +242,12 @@ Azure Virtual Network doesn't support the IPIP mode used by [Calico](https://doc
|
|||
Account: admin
|
||||
Password: P@88w0rd
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
#####################################################
|
||||
https://kubesphere.io 2020-xx-xx xx:xx:xx
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
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.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -170,12 +170,12 @@ 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.0 --with-kubernetes v1.20.4
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.0: v1.17.9, v1.18.8, v1.19.8 and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.1: v1.17.9, v1.18.8, v1.19.8, and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
|
||||
- If you do not add the flag `--with-kubesphere` in the command in this step, KubeSphere will not be deployed unless you install it using the `addons` field in the configuration file or add this flag again when you use `./kk create cluster` later.
|
||||
- If you add the flag `--with-kubesphere` without specifying a KubeSphere version, the latest version of KubeSphere will be installed.
|
||||
|
|
@ -303,12 +303,12 @@ Account: admin
|
|||
Password: P@88w0rd
|
||||
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
|
||||
#####################################################
|
||||
https://kubesphere.io 2020-08-13 10:50:24
|
||||
|
|
|
|||
|
|
@ -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.0/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.1.1/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -46,9 +46,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.0/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.1.1/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -65,7 +65,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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/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.1.1/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/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.1.1/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/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.1.1/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/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.1.1/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/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.1.1/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/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.1.1/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/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.1.1/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/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.1.1/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/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.1.1/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/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.1.1/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -11,4 +11,4 @@ icon: "/images/docs/docs.svg"
|
|||
|
||||
---
|
||||
|
||||
This chapter demonstrates how cluster operators can upgrade KubeSphere to v3.1.0.
|
||||
This chapter demonstrates how cluster operators can upgrade KubeSphere to v3.1.1.
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "Air-Gapped Upgrade with ks-installer"
|
||||
keywords: "Air-Gapped, upgrade, kubesphere, v3.0.0"
|
||||
keywords: "Air-Gapped, upgrade, kubesphere, v3.1.1"
|
||||
description: "Use ks-installer and offline package to upgrade KubeSphere."
|
||||
linkTitle: "Air-Gapped Upgrade with ks-installer"
|
||||
weight: 7500
|
||||
|
|
@ -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.0.0. If your KubeSphere version is v2.1.1 or earlier, upgrade to v3.0.0 first.
|
||||
- Read [Release Notes for 3.1.0](../../release/release-v310/) carefully.
|
||||
- Read [Release Notes for 3.1.1](../../release/release-v311/) 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.1.0: v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
- Supported Kubernetes versions of KubeSphere v3.1.1: v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
|
||||
## 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.0/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0.0 cluster and add the private image registry:
|
||||
|
|
@ -150,12 +150,12 @@ Account: admin
|
|||
Password: P@88w0rd
|
||||
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
|
||||
#####################################################
|
||||
https://kubesphere.io 20xx-xx-xx xx:xx:xx
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "Air-Gapped Upgrade with KubeKey"
|
||||
keywords: "Air-Gapped, kubernetes, upgrade, kubesphere, v3.0.0"
|
||||
keywords: "Air-Gapped, kubernetes, upgrade, kubesphere, v3.1.1"
|
||||
description: "Use the offline package to upgrade Kubernetes and KubeSphere."
|
||||
linkTitle: "Air-Gapped Upgrade with KubeKey"
|
||||
weight: 7400
|
||||
|
|
@ -10,7 +10,7 @@ Air-gapped upgrade with KubeKey is recommended for users whose KubeSphere and Ku
|
|||
## Prerequisites
|
||||
|
||||
- You need to have a KubeSphere cluster running v3.0.0. If your KubeSphere version is v2.1.1 or earlier, upgrade to v3.0.0 first.
|
||||
- Read [Release Notes for 3.1.0](../../release/release-v310/) carefully.
|
||||
- Read [Release Notes for 3.1.1](../../release/release-v311/) 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.
|
||||
|
|
@ -59,7 +59,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.0/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/images-list.txt
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -71,7 +71,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.0/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/offline-installation-tool.sh
|
||||
```
|
||||
|
||||
3. Make the `.sh` file executable.
|
||||
|
|
@ -112,7 +112,7 @@ As you install KubeSphere and Kubernetes on Linux, you need to prepare an image
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- You can change the Kubernetes version downloaded based on your needs. Recommended Kubernetes versions for KubeSphere v3.1.0: v1.17.9, v1.18.8, v1.19.8 and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- You can change the Kubernetes version downloaded based on your needs. Recommended Kubernetes versions for KubeSphere v3.1.1: v1.17.9, v1.18.8, v1.19.8, v1.20.4 and v1.20.6. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
|
||||
- You can upgrade Kubernetes from v1.16.13 to v1.17.9 by downloading the v1.17.9 Kubernetes binary file, but for cross-version upgrades, all intermediate versions need to be downloaded in advance. For example, if you want to upgrade Kubernetes from v1.15.12 to v1.18.6, you need to download Kubernetes v1.16.13 and v1.17.9, and the v1.18.6 binary file.
|
||||
|
||||
|
|
@ -159,7 +159,7 @@ Transfer your packaged image file to your local machine and execute the followin
|
|||
| | Kubernetes | KubeSphere |
|
||||
| ------ | ---------- | ---------- |
|
||||
| Before | v1.16.13 | v3.0.0 |
|
||||
| After | v1.17.9 | v3.1.0 |
|
||||
| After | v1.17.9 | v3.1.1 |
|
||||
|
||||
#### Upgrade a cluster
|
||||
|
||||
|
|
@ -176,7 +176,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.0 -f config-sample.yaml
|
||||
./kk create config --with-kubernetes v1.17.9 --with-kubesphere v3.1.1 -f config-sample.yaml
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -217,7 +217,7 @@ Set `privateRegistry` of your `config-sample.yaml` file:
|
|||
privateRegistry: dockerhub.kubekey.local
|
||||
```
|
||||
|
||||
#### Upgrade your single-node cluster to KubeSphere v3.1.0 and Kubernetes v1.17.9
|
||||
#### Upgrade your single-node cluster to KubeSphere v3.1.1 and Kubernetes v1.17.9
|
||||
|
||||
```bash
|
||||
./kk upgrade -f config-sample.yaml
|
||||
|
|
@ -228,7 +228,7 @@ To upgrade Kubernetes to a specific version, explicitly provide the version afte
|
|||
- v1.17.0, v1.17.4, v1.17.5, v1.17.6, v1.17.7, v1.17.8, v1.17.9
|
||||
- v1.18.3, v1.18.5, v1.18.6, v1.18.8
|
||||
- v1.19.0, v1.19.8, v1.19.9
|
||||
- v1.20.4
|
||||
- v1.20.4, v1.20.6
|
||||
|
||||
|
||||
### Air-gapped upgrade for multi-node clusters
|
||||
|
|
@ -247,7 +247,7 @@ To upgrade Kubernetes to a specific version, explicitly provide the version afte
|
|||
| | Kubernetes | KubeSphere |
|
||||
| ------ | ---------- | ---------- |
|
||||
| Before | v1.16.13 | v3.0.0 |
|
||||
| After | v1.17.9 | v3.1.0 |
|
||||
| After | v1.17.9 | v3.1.1 |
|
||||
|
||||
#### Upgrade a cluster
|
||||
|
||||
|
|
@ -264,7 +264,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.0 -f config-sample.yaml
|
||||
./kk create config --with-kubernetes v1.17.9 --with-kubesphere v3.1.1 -f config-sample.yaml
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -307,7 +307,7 @@ Set `privateRegistry` of your `config-sample.yaml` file:
|
|||
privateRegistry: dockerhub.kubekey.local
|
||||
```
|
||||
|
||||
#### Upgrade your multi-node cluster to KubeSphere v3.1.0 and Kubernetes v1.17.9
|
||||
#### Upgrade your multi-node cluster to KubeSphere v3.1.1 and Kubernetes v1.17.9
|
||||
|
||||
```bash
|
||||
./kk upgrade -f config-sample.yaml
|
||||
|
|
@ -318,5 +318,5 @@ To upgrade Kubernetes to a specific version, explicitly provide the version afte
|
|||
- v1.17.0, v1.17.4, v1.17.5, v1.17.6, v1.17.7, v1.17.8, v1.17.9
|
||||
- v1.18.3, v1.18.5, v1.18.6, v1.18.8
|
||||
- v1.19.0, v1.19.8, v1.19.9
|
||||
- v1.20.4
|
||||
- v1.20.4, v1.20.6
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "Upgrade — Overview"
|
||||
keywords: "Kubernetes, upgrade, KubeSphere, v3.1.0, upgrade"
|
||||
keywords: "Kubernetes, upgrade, KubeSphere, v3.1.1, upgrade"
|
||||
description: "Understand what you need to pay attention to before the upgrade, such as versions and upgrade tools."
|
||||
linkTitle: "Overview"
|
||||
weight: 7100
|
||||
|
|
@ -8,11 +8,11 @@ weight: 7100
|
|||
|
||||
## Make Your Upgrade Plan
|
||||
|
||||
KubeSphere v3.1.0 is compatible with Kubernetes 1.17.x, 1.18.x, 1.19.x and 1.20.x:
|
||||
KubeSphere v3.1.1 is compatible with Kubernetes 1.17.x, 1.18.x, 1.19.x and 1.20.x:
|
||||
|
||||
- Before you upgrade your cluster to KubeSphere v3.1.0, you need to have a KubeSphere cluster running v3.0.0.
|
||||
- If your existing KubeSphere v3.0.0 cluster is installed on Kubernetes 1.17.x+, you can choose to only upgrade KubeSphere to v3.1.0 or upgrade Kubernetes (to a higher version) and KubeSphere (to v3.1.0) at the same time.
|
||||
- If your existing KubeSphere v3.0.0 cluster is installed on Kubernetes 1.16.x or earlier, you have to upgrade Kubernetes (to 1.17.x+) and KubeSphere (to v3.1.0) at the same time.
|
||||
- Before you upgrade your cluster to KubeSphere v3.1.1, you need to have a KubeSphere cluster running v3.0.0.
|
||||
- If your existing KubeSphere v3.0.0 cluster is installed on Kubernetes 1.17.x+, you can choose to only upgrade KubeSphere to v3.1.1 or upgrade Kubernetes (to a higher version) and KubeSphere (to v3.1.1) at the same time.
|
||||
- If your existing KubeSphere v3.0.0 cluster is installed on Kubernetes 1.16.x or earlier, you have to upgrade Kubernetes (to 1.17.x+) and KubeSphere (to v3.1.1) at the same time.
|
||||
|
||||
## Before the Upgrade
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "Upgrade with ks-installer"
|
||||
keywords: "Kubernetes, upgrade, KubeSphere, v3.1.0"
|
||||
keywords: "Kubernetes, upgrade, KubeSphere, v3.1.1"
|
||||
description: "Use ks-installer to upgrade KubeSphere."
|
||||
linkTitle: "Upgrade with ks-installer"
|
||||
weight: 7300
|
||||
|
|
@ -11,19 +11,19 @@ ks-installer is recommended for users whose Kubernetes clusters were not set up
|
|||
## Prerequisites
|
||||
|
||||
- You need to have a KubeSphere cluster running v3.0.0. If your KubeSphere version is v2.1.1 or earlier, upgrade to v3.0.0 first.
|
||||
- Read [Release Notes for 3.1.0](../../release/release-v310/) carefully.
|
||||
- Read [Release Notes for 3.1.1](../../release/release-v311/) carefully.
|
||||
- Back up any important component beforehand.
|
||||
- Supported Kubernetes versions of KubeSphere v3.1.0: v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
- Supported Kubernetes versions of KubeSphere v3.1.1: v1.17.x, v1.18.x, v1.19.x or v1.20.x.
|
||||
|
||||
## 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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
```
|
||||
|
||||
## Enable Pluggable Components
|
||||
|
||||
You can [enable new pluggable components](../../pluggable-components/overview/) of KubeSphere v3.1.0 after the upgrade to explore more features of the container platform.
|
||||
You can [enable new pluggable components](../../pluggable-components/overview/) of KubeSphere v3.1.1 after the upgrade to explore more features of the container platform.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "Upgrade with KubeKey"
|
||||
keywords: "Kubernetes, upgrade, KubeSphere, v3.1.0, KubeKey"
|
||||
keywords: "Kubernetes, upgrade, KubeSphere, v3.1.1, KubeKey"
|
||||
description: "Use KubeKey to upgrade Kubernetes and KubeSphere."
|
||||
linkTitle: "Upgrade with KubeKey"
|
||||
weight: 7200
|
||||
|
|
@ -12,7 +12,7 @@ This tutorial demonstrates how to upgrade your cluster using KubeKey.
|
|||
## Prerequisites
|
||||
|
||||
- You need to have a KubeSphere cluster running v3.0.0. If your KubeSphere version is v2.1.1 or earlier, upgrade to v3.0.0 first.
|
||||
- Read [Release Notes for 3.1.0](../../release/release-v310/) carefully.
|
||||
- Read [Release Notes for 3.1.1](../../release/release-v311/) 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
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.
|
||||
|
||||
{{</ 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.1.0 and Kubernetes v1.20.4:
|
||||
Run the following command to use KubeKey to upgrade your single-node cluster to KubeSphere v3.1.1 and Kubernetes v1.20.4:
|
||||
|
||||
```bash
|
||||
./kk upgrade --with-kubernetes v1.20.4 --with-kubesphere v3.1.0
|
||||
./kk upgrade --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
```
|
||||
|
||||
To upgrade Kubernetes to a specific version, explicitly provide the version after the flag `--with-kubernetes`. Available versions are:
|
||||
|
|
@ -91,7 +91,7 @@ To upgrade Kubernetes to a specific version, explicitly provide the version afte
|
|||
- v1.17.0, v1.17.4, v1.17.5, v1.17.6, v1.17.7, v1.17.8, v1.17.9
|
||||
- v1.18.3, v1.18.5, v1.18.6, v1.18.8
|
||||
- v1.19.0, v1.19.8, v1.19.9
|
||||
- v1.20.4
|
||||
- v1.20.4, v1.20.6
|
||||
|
||||
### Multi-node cluster
|
||||
|
||||
|
|
@ -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.1.0 and Kubernetes v1.20.4:
|
||||
The following command upgrades your cluster to KubeSphere v3.1.1 and Kubernetes v1.20.4:
|
||||
|
||||
```bash
|
||||
./kk upgrade --with-kubernetes v1.20.4 --with-kubesphere v3.1.0 -f sample.yaml
|
||||
./kk upgrade --with-kubernetes v1.20.4 --with-kubesphere v3.1.1 -f sample.yaml
|
||||
```
|
||||
|
||||
To upgrade Kubernetes to a specific version, explicitly provide the version after the flag `--with-kubernetes`. Available versions are:
|
||||
|
|
@ -136,10 +136,10 @@ To upgrade Kubernetes to a specific version, explicitly provide the version afte
|
|||
- v1.17.0, v1.17.4, v1.17.5, v1.17.6, v1.17.7, v1.17.8, v1.17.9
|
||||
- v1.18.3, v1.18.5, v1.18.6, v1.18.8
|
||||
- v1.19.0, v1.19.8, v1.19.9
|
||||
- v1.20.4
|
||||
- v1.20.4, v1.20.6
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
To use new features of KubeSphere v3.1.0, you may need to enable some pluggable components after the upgrade.
|
||||
To use new features of KubeSphere v3.1.1, you may need to enable some pluggable components after the upgrade.
|
||||
|
||||
{{</ notice >}}
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
---
|
||||
title: "Changes after Upgrade"
|
||||
keywords: "Kubernetes, upgrade, KubeSphere, v3.0.0"
|
||||
keywords: "Kubernetes, upgrade, KubeSphere, v3.1.1"
|
||||
description: "Understand what will be changed after the upgrade."
|
||||
|
||||
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.0.0, see [Release Notes for 3.0.0](../../release/release-v300/) directly.
|
||||
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.1.1, see [Release Notes for 3.1.1](../../release/release-v311/).
|
||||
|
||||
## Access Control
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ Telemetry 收集已安装 KubeSphere 集群的大小、KubeSphere 和 Kubernetes
|
|||
|
||||
### 安装前禁用 Telemetry
|
||||
|
||||
在现有 Kubernetes 集群上安装 KubeSphere 时,您需要下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) 文件用于配置集群。如需禁用 Telemetry,请勿直接执行 `kubectl apply -f` 命令应用该文件。
|
||||
在现有 Kubernetes 集群上安装 KubeSphere 时,您需要下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/cluster-configuration.yaml) 文件并编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
```
|
||||
|
||||
- 下载集群配置文件
|
||||
|
||||
```bash
|
||||
wget https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml
|
||||
wget https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
wget https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.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
|
||||
```
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -98,9 +98,9 @@ Azure Kubernetes Services 本身将放置在`KubeSphereRG`中。
|
|||
请使用以下命令开始部署 KubeSphere。
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/kubesphere-installer.yaml
|
||||
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.0/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
可以通过以下命令检查安装日志:
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ weight: 4230
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.0,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.1,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 此示例中包括 3 个节点。您可以根据自己的需求添加更多节点,尤其是在生产环境中。
|
||||
- 机器类型 Standard/4 GB/2 vCPU 仅用于最小化安装的,如果您计划启用多个可插拔组件或将集群用于生产,建议将节点升级到规格更大的类型(例如,CPU-Optimized /8 GB /4 vCPUs)。DigitalOcean 是基于工作节点类型来配置主节点,而对于标准节点,API server 可能会很快会变得无响应。
|
||||
|
||||
|
|
@ -47,9 +47,9 @@ weight: 4230
|
|||
- 使用 kubectl 安装 KubeSphere,以下命令仅用于默认的最小安装。
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/kubesphere-installer.yaml
|
||||
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.0/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
- 检查安装日志:
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ 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
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.0,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.1,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 此示例中包括 3 个节点。您可以根据自己的需求添加更多节点,尤其是在生产环境中。
|
||||
- t3.medium(2 个 vCPU,4 GB 内存)机器类型仅用于最小化安装,如果要启用可插拔组件或集群用于生产,请选择具有更大规格的机器类型。
|
||||
- 对于其他设置,您也可以根据自己的需要进行更改,也可以使用默认值。
|
||||
|
|
@ -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.0/kubesphere-installer.yaml
|
||||
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.0/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
- 检查安装日志:
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ weight: 4240
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.0,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.1,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 此示例中包括3个节点,可以根据自己的需求添加更多节点,尤其是在生产环境中。
|
||||
- 最小安装的机器类型为 e2-medium(2 个 vCPU,4GB 内存)。如果要启用可插拔组件或将集群用于生产,请选择具有更高配置的机器类型。
|
||||
- 对于其他设置,可以根据自己的需要进行更改,也可以使用默认值。
|
||||
|
|
@ -46,9 +46,9 @@ weight: 4240
|
|||
- 使用 kubectl 安装 KubeSphere,以下命令仅用于默认的最小安装。
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/kubesphere-installer.yaml
|
||||
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.0/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
- 检查安装日志:
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ weight: 4250
|
|||
|
||||
首先按使用环境的资源需求创建 Kubernetes 集群,满足以下一些条件即可(如已有环境并满足条件可跳过本节内容):
|
||||
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.0,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.1,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 需要确保 Kubernetes 集群所使用的云主机的网络正常工作,可以通过在创建集群的同时**自动创建**或**使用已有**弹性 IP;或者在集群创建后自行配置网络(如配置 [NAT 网关](https://support.huaweicloud.com/natgateway/))。
|
||||
- 工作节点规格建议选择 `s3.xlarge.2` 的 `4核|8GB` 配置,并按需扩展工作节点数量(通常生产环境需要 3 个及以上工作节点)。
|
||||
|
||||
|
|
@ -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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml
|
||||
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
|
||||
```
|
||||
|
||||
执行部署命令后,可以通过进入**工作负载** > **容器组 Pod** 界面,在右侧面板中查询 `kubesphere-system` 命名空间下的 Pod 运行状态了解 KubeSphere 平台最小功能集的部署状态;通过该命名空间下 `ks-console-xxxx` 容器的状态来了解 KubeSphere 控制台应用的可用状态。
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ weight: 4260
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.0,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.1,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 建议您在**可见性类型**中选择**公共**,即每个节点会分配到一个公共 IP 地址,此地址之后可用于访问 KubeSphere Web 控制台。
|
||||
- 在 Oracle Cloud 中,**配置**定义了一个实例会分配到的 CPU 和内存等资源量,本示例使用 `VM.Standard.E2.2 (2 CPUs and 16G Memory)`。有关更多信息,请参见 [Standard Shapes](https://docs.cloud.oracle.com/en-us/iaas/Content/Compute/References/computeshapes.htm#vmshapes__vm-standard)。
|
||||
- 本示例包含 3 个节点,可以根据需求自行添加节点(尤其是生产环境)。
|
||||
|
|
@ -64,9 +64,9 @@ weight: 4260
|
|||
1. 使用 kubectl 安装 KubeSphere。直接输入以下命令会默认执行 KubeSphere 的最小化安装。
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/kubesphere-installer.yaml
|
||||
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.0/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
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.0/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
2. 检查安装日志:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ weight: 4120
|
|||
|
||||
您可以在虚拟机和裸机上安装 KubeSphere,并同时配置 Kubernetes。另外,只要 Kubernetes 集群满足以下前提条件,那么您也可以在云托管和本地 Kubernetes 集群上部署 KubeSphere。
|
||||
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.0,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 如需在 Kubernetes 上安装 KubeSphere v3.1.1,您的 Kubernetes 版本必须为:v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 可用 CPU > 1 核;内存 > 2 G。
|
||||
- Kubernetes 集群已配置**默认** StorageClass(请使用 `kubectl get sc` 进行确认)。
|
||||
- 使用 `--cluster-signing-cert-file` 和 `--cluster-signing-key-file` 参数启动集群时,kube-apiserver 将启用 CSR 签名功能。请参见 [RKE 安装问题](https://github.com/kubesphere/kubesphere/issues/1925#issuecomment-591698309)。
|
||||
|
|
|
|||
|
|
@ -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.0/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/cluster-configuration.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/kubesphere-installer.yaml
|
||||
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
|
||||
```
|
||||
|
||||
2. 编辑 `cluster-configuration.yaml` 添加您的私有镜像仓库。例如,本教程中的仓库地址是 `dockerhub.kubekey.local`,将它用作 `.spec.local_registry` 的值,如下所示:
|
||||
|
|
@ -243,14 +243,14 @@ https://kubesphere.io 20xx-xx-xx xx:xx:xx
|
|||
|
||||
## 附录
|
||||
|
||||
### KubeSphere v3.1.0 镜像清单
|
||||
### KubeSphere v3.1.1 镜像清单
|
||||
|
||||
```txt
|
||||
##k8s-images
|
||||
kubesphere/kube-apiserver:v1.20.4
|
||||
kubesphere/kube-scheduler:v1.20.4
|
||||
kubesphere/kube-proxy:v1.20.4
|
||||
kubesphere/kube-controller-manager:v1.20.4
|
||||
kubesphere/kube-apiserver:v1.20.6
|
||||
kubesphere/kube-scheduler:v1.20.6
|
||||
kubesphere/kube-proxy:v1.20.6
|
||||
kubesphere/kube-controller-manager:v1.20.6
|
||||
kubesphere/kube-apiserver:v1.19.8
|
||||
kubesphere/kube-scheduler:v1.19.8
|
||||
kubesphere/kube-proxy:v1.19.8
|
||||
|
|
@ -259,10 +259,10 @@ kubesphere/kube-apiserver:v1.19.9
|
|||
kubesphere/kube-scheduler:v1.19.9
|
||||
kubesphere/kube-proxy:v1.19.9
|
||||
kubesphere/kube-controller-manager:v1.19.9
|
||||
kubesphere/kube-apiserver:v1.18.6
|
||||
kubesphere/kube-scheduler:v1.18.6
|
||||
kubesphere/kube-proxy:v1.18.6
|
||||
kubesphere/kube-controller-manager:v1.18.6
|
||||
kubesphere/kube-apiserver:v1.18.8
|
||||
kubesphere/kube-scheduler:v1.18.8
|
||||
kubesphere/kube-proxy:v1.18.8
|
||||
kubesphere/kube-controller-manager:v1.18.8
|
||||
kubesphere/kube-apiserver:v1.17.9
|
||||
kubesphere/kube-scheduler:v1.17.9
|
||||
kubesphere/kube-proxy:v1.17.9
|
||||
|
|
@ -274,10 +274,12 @@ calico/cni:v3.16.3
|
|||
calico/kube-controllers:v3.16.3
|
||||
calico/node:v3.16.3
|
||||
calico/pod2daemon-flexvol:v3.16.3
|
||||
calico/typha:v3.16.3
|
||||
kubesphere/flannel:v0.12.0
|
||||
coredns/coredns:1.6.9
|
||||
kubesphere/k8s-dns-node-cache:1.15.12
|
||||
openebs/provisioner-localpv:2.3.0
|
||||
openebs/linux-utils:2.3.0
|
||||
openebs/provisioner-localpv:2.10.1
|
||||
openebs/linux-utils:2.10.0
|
||||
kubesphere/nfs-client-provisioner:v3.1.0-k8s1.11
|
||||
##csi-images
|
||||
csiplugin/csi-neonsan:v1.2.0
|
||||
|
|
@ -290,21 +292,22 @@ csiplugin/csi-snapshotter:v2.0.1
|
|||
csiplugin/csi-node-driver-registrar:v1.2.0
|
||||
csiplugin/csi-qingcloud:v1.2.0
|
||||
##kubesphere-images
|
||||
kubesphere/ks-apiserver:v3.1.0
|
||||
kubesphere/ks-console:v3.1.0
|
||||
kubesphere/ks-controller-manager:v3.1.0
|
||||
kubesphere/ks-installer:v3.1.0
|
||||
kubesphere/ks-apiserver:v3.1.1
|
||||
kubesphere/ks-console:v3.1.1
|
||||
kubesphere/ks-controller-manager:v3.1.1
|
||||
kubesphere/ks-installer:v3.1.1
|
||||
kubesphere/kubectl:v1.20.0
|
||||
kubesphere/kubectl:v1.19.0
|
||||
redis:5.0.5-alpine
|
||||
alpine:3.10.4
|
||||
haproxy:2.0.4
|
||||
redis:5.0.12-alpine
|
||||
alpine:3.14
|
||||
haproxy:2.0.22-alpine
|
||||
nginx:1.14-alpine
|
||||
minio/minio:RELEASE.2019-08-07T01-59-21Z
|
||||
minio/mc:RELEASE.2019-08-07T23-14-43Z
|
||||
mirrorgooglecontainers/defaultbackend-amd64:1.4
|
||||
kubesphere/nginx-ingress-controller:v0.35.0
|
||||
osixia/openldap:1.3.0
|
||||
csiplugin/snapshot-controller:v2.0.1
|
||||
csiplugin/snapshot-controller:v3.0.3
|
||||
kubesphere/kubefed:v0.7.0
|
||||
kubesphere/tower:v0.2.0
|
||||
kubesphere/prometheus-config-reloader:v0.42.1
|
||||
|
|
@ -372,11 +375,11 @@ kubesphere/python-35-centos7:v2.1.0
|
|||
kubesphere/python-34-centos7:v2.1.0
|
||||
kubesphere/python-27-centos7:v2.1.0
|
||||
##openpitrix-images
|
||||
kubesphere/openpitrix-jobs:v3.1.0
|
||||
kubespheredev/openpitrix-jobs:v3.1.1
|
||||
##weave-scope-images
|
||||
weaveworks/scope:1.13.0
|
||||
##kubeedge-images
|
||||
kubeedge/cloudcore:v1.6.1
|
||||
kubeedge/cloudcore:v1.6.2
|
||||
kubesphere/edge-watcher:v0.1.0
|
||||
kubesphere/kube-rbac-proxy:v0.5.0
|
||||
kubesphere/edge-watcher-agent:v0.1.0
|
||||
|
|
|
|||
|
|
@ -129,7 +129,7 @@ KubeSphere 利用 [KubeEdge](https://kubeedge.io/zh/) 将原生容器化应用
|
|||
|
||||
{{</ notice >}}
|
||||
|
||||
6. 边缘节点加入集群后,部分 Pod 在调度至该边缘节点上后可能会一直处于 `Pending` 状态。由于部分守护进程集(例如,Calico)有强容忍度,在当前版本中 (KubeSphere v3.1.0),您需要手动 Patch Pod 以防止它们调度至该边缘节点。
|
||||
6. 边缘节点加入集群后,部分 Pod 在调度至该边缘节点上后可能会一直处于 `Pending` 状态。由于部分守护进程集(例如,Calico)有强容忍度,在当前版本中 (KubeSphere v3.1.1),您需要手动 Patch Pod 以防止它们调度至该边缘节点。
|
||||
|
||||
```bash
|
||||
#!/bin/bash
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -64,7 +64,7 @@ export KKZONE=cn
|
|||
执行以下命令下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -79,7 +79,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.0),您可以修改命令中的版本号下载指定版本。
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.1),您可以修改命令中的版本号下载指定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -92,12 +92,12 @@ chmod +x kk
|
|||
创建包含默认配置的示例配置文件。这里使用 Kubernetes v1.20.4 作为示例。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.1.0 --with-kubernetes v1.20.4
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.0 的建议 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.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
|
||||
|
|
@ -200,12 +200,12 @@ spec:
|
|||
Password: P@88w0rd
|
||||
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
|
||||
#####################################################
|
||||
https://kubesphere.io 2020-xx-xx xx:xx:xx
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -283,7 +283,7 @@ export KKZONE=cn
|
|||
运行以下命令来下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -298,7 +298,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
通过以上命令,可以下载 KubeKey 的最新版本 (v1.1.0)。您可以更改命令中的版本号来下载特定的版本。
|
||||
通过以上命令,可以下载 KubeKey 的最新版本 (v1.1.1)。您可以更改命令中的版本号来下载特定的版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -311,12 +311,12 @@ chmod +x kk
|
|||
使用默认配置创建一个示例配置文件。此处以 Kubernetes v1.20.4 作为示例。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.1.0 --with-kubernetes v1.20.4
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.0 的建议 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.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 如果您没有在本步骤的命令中添加标志 `--with-kubesphere`,那么除非您使用配置文件中的 `addons` 字段进行安装,或者稍后使用 `./kk create cluster` 时再添加该标志,否则 KubeSphere 将不会被部署。
|
||||
- 如果您添加标志 `--with-kubesphere` 时未指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
||||
|
|
@ -399,12 +399,12 @@ spec:
|
|||
Password: P@88w0rd
|
||||
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
|
||||
#####################################################
|
||||
https://kubesphere.io 2020-xx-xx xx:xx:xx
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ docker run -d \
|
|||
|
||||
## 步骤 3:下载 KubeKey
|
||||
|
||||
与在 Linux 上在线安装 KubeSphere 相似,您需要事先[下载 KubeKey v1.1.0](https://github.com/kubesphere/kubekey/releases)。下载 `tar.gz` 文件,将它传输到充当任务机的本地机器上进行安装。解压文件后,执行以下命令,使 `kk` 可执行。
|
||||
与在 Linux 上在线安装 KubeSphere 相似,您需要事先[下载 KubeKey v1.1.1](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.0/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/offline-installation-tool.sh
|
||||
```
|
||||
|
||||
3. 使 `.sh` 文件可执行。
|
||||
|
|
@ -210,7 +210,7 @@ chmod +x kk
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- 您可以根据自己的需求变更下载的 Kubernetes 版本。安装 KubeSphere v3.1.0 的建议 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.19.8。有关受支持的 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.0 -f config-sample.yaml
|
||||
./kk create config --with-kubernetes v1.17.9 --with-kubesphere v3.1.1 -f config-sample.yaml
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -323,7 +323,7 @@ metadata:
|
|||
name: ks-installer
|
||||
namespace: kubesphere-system
|
||||
labels:
|
||||
version: v3.1.0
|
||||
version: v3.1.1
|
||||
spec:
|
||||
persistence:
|
||||
storageClass: ""
|
||||
|
|
@ -470,12 +470,12 @@ Account: admin
|
|||
Password: P@88w0rd
|
||||
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
|
||||
#####################################################
|
||||
https://kubesphere.io 20xx-xx-xx xx:xx:xx
|
||||
|
|
@ -494,14 +494,14 @@ https://kubesphere.io 20xx-xx-xx xx:xx:xx
|
|||
|
||||
## 附录
|
||||
|
||||
### KubeSphere v3.1.0 镜像清单
|
||||
### KubeSphere v3.1.1 镜像清单
|
||||
|
||||
```txt
|
||||
##k8s-images
|
||||
kubesphere/kube-apiserver:v1.20.4
|
||||
kubesphere/kube-scheduler:v1.20.4
|
||||
kubesphere/kube-proxy:v1.20.4
|
||||
kubesphere/kube-controller-manager:v1.20.4
|
||||
kubesphere/kube-apiserver:v1.20.6
|
||||
kubesphere/kube-scheduler:v1.20.6
|
||||
kubesphere/kube-proxy:v1.20.6
|
||||
kubesphere/kube-controller-manager:v1.20.6
|
||||
kubesphere/kube-apiserver:v1.19.8
|
||||
kubesphere/kube-scheduler:v1.19.8
|
||||
kubesphere/kube-proxy:v1.19.8
|
||||
|
|
@ -510,10 +510,10 @@ kubesphere/kube-apiserver:v1.19.9
|
|||
kubesphere/kube-scheduler:v1.19.9
|
||||
kubesphere/kube-proxy:v1.19.9
|
||||
kubesphere/kube-controller-manager:v1.19.9
|
||||
kubesphere/kube-apiserver:v1.18.6
|
||||
kubesphere/kube-scheduler:v1.18.6
|
||||
kubesphere/kube-proxy:v1.18.6
|
||||
kubesphere/kube-controller-manager:v1.18.6
|
||||
kubesphere/kube-apiserver:v1.18.8
|
||||
kubesphere/kube-scheduler:v1.18.8
|
||||
kubesphere/kube-proxy:v1.18.8
|
||||
kubesphere/kube-controller-manager:v1.18.8
|
||||
kubesphere/kube-apiserver:v1.17.9
|
||||
kubesphere/kube-scheduler:v1.17.9
|
||||
kubesphere/kube-proxy:v1.17.9
|
||||
|
|
@ -525,10 +525,12 @@ calico/cni:v3.16.3
|
|||
calico/kube-controllers:v3.16.3
|
||||
calico/node:v3.16.3
|
||||
calico/pod2daemon-flexvol:v3.16.3
|
||||
calico/typha:v3.16.3
|
||||
kubesphere/flannel:v0.12.0
|
||||
coredns/coredns:1.6.9
|
||||
kubesphere/k8s-dns-node-cache:1.15.12
|
||||
openebs/provisioner-localpv:2.3.0
|
||||
openebs/linux-utils:2.3.0
|
||||
openebs/provisioner-localpv:2.10.1
|
||||
openebs/linux-utils:2.10.0
|
||||
kubesphere/nfs-client-provisioner:v3.1.0-k8s1.11
|
||||
##csi-images
|
||||
csiplugin/csi-neonsan:v1.2.0
|
||||
|
|
@ -541,21 +543,22 @@ csiplugin/csi-snapshotter:v2.0.1
|
|||
csiplugin/csi-node-driver-registrar:v1.2.0
|
||||
csiplugin/csi-qingcloud:v1.2.0
|
||||
##kubesphere-images
|
||||
kubesphere/ks-apiserver:v3.1.0
|
||||
kubesphere/ks-console:v3.1.0
|
||||
kubesphere/ks-controller-manager:v3.1.0
|
||||
kubesphere/ks-installer:v3.1.0
|
||||
kubesphere/ks-apiserver:v3.1.1
|
||||
kubesphere/ks-console:v3.1.1
|
||||
kubesphere/ks-controller-manager:v3.1.1
|
||||
kubesphere/ks-installer:v3.1.1
|
||||
kubesphere/kubectl:v1.20.0
|
||||
kubesphere/kubectl:v1.19.0
|
||||
redis:5.0.5-alpine
|
||||
alpine:3.10.4
|
||||
haproxy:2.0.4
|
||||
redis:5.0.12-alpine
|
||||
alpine:3.14
|
||||
haproxy:2.0.22-alpine
|
||||
nginx:1.14-alpine
|
||||
minio/minio:RELEASE.2019-08-07T01-59-21Z
|
||||
minio/mc:RELEASE.2019-08-07T23-14-43Z
|
||||
mirrorgooglecontainers/defaultbackend-amd64:1.4
|
||||
kubesphere/nginx-ingress-controller:v0.35.0
|
||||
osixia/openldap:1.3.0
|
||||
csiplugin/snapshot-controller:v2.0.1
|
||||
csiplugin/snapshot-controller:v3.0.3
|
||||
kubesphere/kubefed:v0.7.0
|
||||
kubesphere/tower:v0.2.0
|
||||
kubesphere/prometheus-config-reloader:v0.42.1
|
||||
|
|
@ -623,11 +626,11 @@ kubesphere/python-35-centos7:v2.1.0
|
|||
kubesphere/python-34-centos7:v2.1.0
|
||||
kubesphere/python-27-centos7:v2.1.0
|
||||
##openpitrix-images
|
||||
kubesphere/openpitrix-jobs:v3.1.0
|
||||
kubespheredev/openpitrix-jobs:v3.1.1
|
||||
##weave-scope-images
|
||||
weaveworks/scope:1.13.0
|
||||
##kubeedge-images
|
||||
kubeedge/cloudcore:v1.6.1
|
||||
kubeedge/cloudcore:v1.6.2
|
||||
kubesphere/edge-watcher:v0.1.0
|
||||
kubesphere/kube-rbac-proxy:v0.5.0
|
||||
kubesphere/edge-watcher-agent:v0.1.0
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{</ tabs >}}
|
||||
|
|
@ -54,7 +54,7 @@ export KKZONE=cn
|
|||
运行以下命令来下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -69,21 +69,21 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
通过以上的命令,可以下载 KubeKey 的最新版本 (v1.1.0)。您可以更改命令中的版本号来下载特定的版本。
|
||||
通过以上的命令,可以下载 KubeKey 的最新版本 (v1.1.1)。您可以更改命令中的版本号来下载特定的版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
## 支持矩阵
|
||||
|
||||
若需使用 KubeKey 来安装 Kubernetes 和 KubeSphere v3.1.0,请参见下表以查看所有受支持的 Kubernetes 版本。
|
||||
若需使用 KubeKey 来安装 Kubernetes 和 KubeSphere v3.1.1,请参见下表以查看所有受支持的 Kubernetes 版本。
|
||||
|
||||
| KubeSphere 版本 | 受支持的 Kubernetes 版本 |
|
||||
| --------------- | ------------------------------------------------------------ |
|
||||
| v3.1.0 | v1.17.0,v1.17.4,v1.17.5,v1.17.6,v1.17.7,v1.17.8,v1.17.9,v1.18.3,v1.18.5,v1.18.6,v1.18.8,v1.19.0,v1.19.8,v1.19.9,v1.20.4 |
|
||||
| v3.1.1 | v1.17.0,v1.17.4,v1.17.5,v1.17.6,v1.17.7,v1.17.8,v1.17.9,v1.18.3,v1.18.5,v1.18.6,v1.18.8,v1.19.0,v1.19.8,v1.19.9,v1.20.4, v1.20.6 |
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 您也可以运行 `./kk version --show-supported-k8s`,查看能使用 KubeKey 安装的所有受支持的 Kubernetes 版本。
|
||||
- 能使用 KubeKey 安装的 Kubernetes 版本与 KubeSphere v3.1.0 支持的 Kubernetes 版本不同。如需[在现有 Kubernetes 集群上安装 KubeSphere v3.1.0](../../../installing-on-kubernetes/introduction/overview/),您的 Kubernetes 版本必须为 v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
- 能使用 KubeKey 安装的 Kubernetes 版本与 KubeSphere v3.0.0 支持的 Kubernetes 版本不同。如需[在现有 Kubernetes 集群上安装 KubeSphere v3.1.1](../../../installing-on-kubernetes/introduction/overview/),您的 Kubernetes 版本必须为 v1.17.x,v1.18.x,v1.19.x 或 v1.20.x。
|
||||
|
||||
{{</ 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -118,7 +118,7 @@ export KKZONE=cn
|
|||
执行以下命令下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -133,7 +133,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.0),您可以修改命令中的版本号下载指定版本。
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.1),您可以修改命令中的版本号下载指定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -157,7 +157,7 @@ chmod +x kk
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.0 的建议 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.19.8。有关受支持的 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.0`)。
|
||||
- 您可以指定要安装的 KubeSphere 版本(例如 `--with-kubesphere v3.1.1`)。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere [version]
|
||||
|
|
@ -314,12 +314,12 @@ Account: admin
|
|||
Password: P@88w0rd
|
||||
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
|
||||
#####################################################
|
||||
https://kubesphere.io 20xx-xx-xx xx:xx:xx
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0) of KubeKey. Note that an earlier version of KubeKey cannot be used to install K3s.
|
||||
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.
|
||||
|
||||
{{</ 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.0
|
||||
./kk create config --with-kubernetes v1.20.4-k3s --with-kubesphere v3.1.1
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
KubeKey v1.1.0 only supports the installation of K3s v1.20.4.
|
||||
KubeKey v1.1.1 only supports the installation of K3s v1.20.4.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -216,7 +216,7 @@ export KKZONE=cn
|
|||
执行以下命令下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -231,7 +231,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.0),您可以修改命令中的版本号下载指定版本。
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.1),您可以修改命令中的版本号下载指定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -245,15 +245,15 @@ chmod +x kk
|
|||
|
||||
您可用使用 KubeKey 同时安装 Kubernetes 和 KubeSphere,通过自定义配置文件中的参数创建多节点集群。
|
||||
|
||||
创建安装有 KubeSphere 的 Kubernetes 集群(例如使用 `--with-kubesphere v3.1.0`):
|
||||
创建安装有 KubeSphere 的 Kubernetes 集群(例如使用 `--with-kubesphere v3.1.1`):
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.0
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.0 的建议 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.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装 KubeSphere,或者在您后续使用 `./kk create cluster` 命令时再次添加该标志。
|
||||
- 如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
|
@ -314,12 +314,12 @@ Console: http://192.168.60.152:30880
|
|||
Account: admin
|
||||
Password: P@88w0rd
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
#####################################################
|
||||
https://kubesphere.io 20xx-xx-xx xx:xx:xx
|
||||
#####################################################
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -304,7 +304,7 @@ export KKZONE=cn
|
|||
执行以下命令下载 KubeKey。
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -319,7 +319,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.0),您可以修改命令中的版本号下载指定版本。
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.1),您可以修改命令中的版本号下载指定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -338,12 +338,12 @@ chmod +x kk
|
|||
创建配置文件(一个示例配置文件)。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.19.8 --with-kubesphere v3.1.0
|
||||
./kk create config --with-kubernetes v1.19.8 --with-kubesphere v3.1.1
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.0 的建议 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.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
|
||||
|
|
@ -448,12 +448,12 @@ Console: http://10.10.71.214:30880
|
|||
Account: admin
|
||||
Password: P@88w0rd
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
#####################################################
|
||||
https://kubesphere.io 2020-08-15 23:32:12
|
||||
#####################################################
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -135,7 +135,7 @@ export KKZONE=cn
|
|||
运行以下命令来下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -150,7 +150,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
通过以上的命令,可以下载 KubeKey 的最新版本 (v1.1.0)。您可以更改命令中的版本号来下载特定的版本。
|
||||
通过以上的命令,可以下载 KubeKey 的最新版本 (v1.1.1)。您可以更改命令中的版本号来下载特定的版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -165,12 +165,12 @@ chmod +x kk
|
|||
1. 指定想要安装的 Kubernetes 版本和 KubeSphere 版本,例如:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.0
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.0 的建议 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.19.8。有关受支持的 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -87,7 +87,7 @@ export KKZONE=cn
|
|||
运行以下命令来下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -102,7 +102,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
通过以上命令,可以下载 KubeKey 的最新版本 (v1.1.0)。您可以更改命令中的版本号来下载特定的版本。
|
||||
通过以上命令,可以下载 KubeKey 的最新版本 (v1.1.1)。您可以更改命令中的版本号来下载特定的版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -117,12 +117,12 @@ chmod +x kk
|
|||
1. 指定您想要安装的 Kubernetes 版本和 KubeSphere 版本,例如:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.0
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.0 的建议 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.19.8。有关受支持的 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -89,7 +89,7 @@ export KKZONE=cn
|
|||
运行以下命令下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -104,7 +104,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
通过以上的命令,可以下载 KubeKey 的最新版本 (v1.1.0)。您可以更改命令中的版本号来下载特定的版本。
|
||||
通过以上的命令,可以下载 KubeKey 的最新版本 (v1.1.1)。您可以更改命令中的版本号来下载特定的版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -119,12 +119,12 @@ chmod +x kk
|
|||
1. 指定您想要安装的 Kubernetes 版本和 KubeSphere 版本,例如:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.0
|
||||
./kk create config --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.0 的建议 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.19.8。有关受支持的 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -107,7 +107,7 @@ export KKZONE=cn
|
|||
执行以下命令下载 KubeKey。
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -122,7 +122,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.0),您可以修改命令中的版本号下载指定版本。
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.1),您可以修改命令中的版本号下载指定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -141,7 +141,7 @@ chmod +x kk
|
|||
在当前位置创建配置文件 `config-sample.yaml`:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.0.0 --with-kubernetes v1.17.9 -f config-sample.yaml
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.17.9 -f config-sample.yaml
|
||||
```
|
||||
|
||||
> 提示:默认是 Kubernetes 1.17.9,这些 Kubernetes 版本也与 KubeSphere 同时进行过充分的测试: v1.15.12, v1.16.13, v1.17.9 (default), v1.18.6,您可以根据需要指定版本。
|
||||
|
|
@ -244,12 +244,12 @@ Account: admin
|
|||
Password: P@88w0rd
|
||||
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
|
||||
#####################################################
|
||||
https://kubesphere.io 2020-08-24 23:30:06
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 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.0) of KubeKey. You can change the version number in the command to download a specific version.
|
||||
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.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -145,12 +145,12 @@ The commands above download the latest release (v1.1.0) 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.0 --with-kubernetes v1.20.4
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.0: v1.17.9, v1.18.8, v1.19.8 and v1.20.4. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere v3.1.1: v1.17.9, v1.18.8, v1.19.8, v1.20.4 and v1.20.6. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.19.8 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
|
||||
- If you do not add the flag `--with-kubesphere` in the command in this step, KubeSphere will not be deployed unless you install it using the `addons` field in the configuration file or add this flag again when you use `./kk create cluster` later.
|
||||
- If you add the flag `--with-kubesphere` without specifying a KubeSphere version, the latest version of KubeSphere will be installed.
|
||||
|
|
@ -243,12 +243,12 @@ Azure Virtual Network doesn't support the IPIP mode used by [Calico](https://doc
|
|||
Account: admin
|
||||
Password: P@88w0rd
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
#####################################################
|
||||
https://kubesphere.io 2020-xx-xx xx:xx:xx
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -101,7 +101,7 @@ export KKZONE=cn
|
|||
执行以下命令下载 KubeKey。
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -116,7 +116,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.0),您可以修改命令中的版本号下载指定版本。
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.1),您可以修改命令中的版本号下载指定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -137,7 +137,7 @@ chmod +x kk
|
|||
在当前位置创建配置文件 `master-HA.yaml`:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.0.0 --with-kubernetes v1.17.9 -f master-HA.yaml
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.17.9 -f master-HA.yaml
|
||||
```
|
||||
|
||||
> 提示:默认是 Kubernetes 1.17.9,这些 Kubernetes 版本也与 KubeSphere 同时进行过充分的测试: v1.15.12, v1.16.13, v1.17.9 (default), v1.18.6,您可以根据需要指定版本。
|
||||
|
|
@ -202,7 +202,7 @@ metadata:
|
|||
name: ks-installer
|
||||
namespace: kubesphere-system
|
||||
labels:
|
||||
version: v3.0.0
|
||||
version: v3.1.1
|
||||
spec:
|
||||
local_registry: ""
|
||||
persistence:
|
||||
|
|
@ -280,7 +280,7 @@ spec:
|
|||
|
||||
```bash
|
||||
# 指定配置文件创建集群
|
||||
./kk create cluster --with-kubesphere v3.0.0 -f master-HA.yaml
|
||||
./kk create cluster --with-kubesphere v3.1.1 -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
|
||||
|
|
@ -296,12 +296,12 @@ Account: admin
|
|||
Password: P@88w0rd
|
||||
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
|
||||
#####################################################
|
||||
https://kubesphere.io 2020-08-28 01:25:54
|
||||
|
|
|
|||
|
|
@ -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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -142,7 +142,7 @@ export KKZONE=cn
|
|||
执行以下命令下载 KubeKey:
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -157,7 +157,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.0),您可以修改命令中的版本号下载指定版本。
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.1),您可以修改命令中的版本号下载指定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -170,12 +170,12 @@ chmod +x kk
|
|||
创建包含默认配置的示例配置文件。以下以 Kubernetes v1.20.4 为例。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.1.0 --with-kubernetes v1.20.4
|
||||
./kk create config --with-kubesphere v3.1.1 --with-kubernetes v1.20.4
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.0 的建议 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.19.8。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
|
||||
|
|
@ -302,12 +302,12 @@ Account: admin
|
|||
Password: P@88w0rd
|
||||
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
|
||||
#####################################################
|
||||
https://kubesphere.io 2020-08-13 10:50:24
|
||||
|
|
|
|||
|
|
@ -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.0/cluster-configuration.yaml) 文件中启用告警系统。
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,您可以先在 [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.1.0/cluster-configuration.yaml) 文件并进行编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -46,9 +46,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.0/cluster-configuration.yaml) 文件中启用应用商店(可选服务组件)。
|
||||
[在 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) 文件中启用应用商店(可选服务组件)。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -65,7 +65,7 @@ weight: 6200
|
|||
3. 执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/cluster-configuration.yaml) 文件中启用审计功能(可选组件)。
|
||||
在 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) 文件中启用审计功能(可选组件)。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/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.1.1/cluster-configuration.yaml) 文件中启用 DevOps(可选服务组件)。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/cluster-configuration.yaml) 文件中启用事件系统(可选组件)。
|
||||
在 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) 文件中启用事件系统(可选组件)。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/cluster-configuration.yaml) 文件中首先启用 KubeEdge。
|
||||
[在 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。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) 文件并进行编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/cluster-configuration.yaml) 文件中启用日志系统(可选服务组件)。
|
||||
[在 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) 文件中启用日志系统(可选服务组件)。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/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.1.1/cluster-configuration.yaml) 文件中先启用该组件。
|
||||
|
||||
1. 下载文件 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml),并打开文件进行编辑。
|
||||
1. 下载文件 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/cluster-configuration.yaml) 文件中启用网络策略(可选组件)。
|
||||
在 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) 文件中启用网络策略(可选组件)。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/cluster-configuration.yaml) 文件中首先启用容器组 IP 池。
|
||||
[在 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 池。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) 文件并进行编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/cluster-configuration.yaml) 文件中启用服务网格(可选组件)。
|
||||
在 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) 文件中启用服务网格(可选组件)。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/cluster-configuration.yaml) 文件中首先启用服务拓扑图。
|
||||
[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,您可以在 [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.1.0/cluster-configuration.yaml) 文件并进行编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -147,7 +147,7 @@ chmod +x kk
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere v3.1.0 的建议 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.19.8。有关受支持的 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/)。
|
||||
|
|
|
|||
|
|
@ -11,4 +11,4 @@ icon: "/images/docs/docs.svg"
|
|||
|
||||
---
|
||||
|
||||
本章演示集群管理员如何将 KubeSphere 升级到 v3.1.0。
|
||||
本章演示集群管理员如何将 KubeSphere 升级到 v3.1.1。
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "使用 ks-installer 离线升级"
|
||||
keywords: "离线环境, 升级, kubesphere, v3.0.0"
|
||||
keywords: "离线环境, 升级, kubesphere, v3.1.1"
|
||||
description: "使用 ks-installer 和离线包升级 KubeSphere。"
|
||||
linkTitle: "使用 ks-installer 离线升级"
|
||||
weight: 7500
|
||||
|
|
@ -12,10 +12,10 @@ weight: 7500
|
|||
## 准备工作
|
||||
|
||||
- 您需要有一个运行 KubeSphere v3.0.0 的集群。如果您的 KubeSphere 是 v2.1.1 或更早的版本,请先升级至 v3.0.0。
|
||||
- 请仔细阅读 [Release Notes for 3.1.0](../../release/release-v310/)。
|
||||
- 请仔细阅读 [Release Notes for 3.1.1](../../release/release-v311/)。
|
||||
- 提前备份所有重要的组件。
|
||||
- Docker 仓库。您需要有一个 Harbor 或其他 Docker 仓库。有关更多信息,请参见[准备一个私有镜像仓库](../../installing-on-linux/introduction/air-gapped-installation/#步骤-2准备一个私有镜像仓库)。
|
||||
- KubeSphere v3.1.0 支持的 Kubernetes 版本:v1.17.x、v1.18.x、v1.19.x 和 v1.20.x。
|
||||
- KubeSphere v3.1.1 支持的 Kubernetes 版本:v1.17.x、v1.18.x、v1.19.x 和 v1.20.x。
|
||||
|
||||
## 步骤 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.0/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/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.0/kubesphere-installer.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
```
|
||||
|
||||
2. 验证您已在 `cluster-configuration.yaml` 中的 `spec.local_registry` 字段指定了私有镜像仓库地址。请注意,如果您的已有集群通过离线安装方式搭建,您应该已配置了此地址。如果您的集群采用在线安装方式搭建而需要进行离线升级,执行以下命令编辑您已有 KubeSphere v3.0.0 集群的 `cluster-configuration.yaml` 文件,并添加私有镜像仓库地址:
|
||||
|
|
@ -150,12 +150,12 @@ Account: admin
|
|||
Password: P@88w0rd
|
||||
|
||||
NOTES:
|
||||
1. After logging into the console, please check the
|
||||
1. After you log into the console, please check the
|
||||
monitoring status of service components in
|
||||
the "Cluster Management". If any service is not
|
||||
ready, please wait patiently until all components
|
||||
are ready.
|
||||
2. Please modify the default password after login.
|
||||
are up and running.
|
||||
2. Please change the default password after login.
|
||||
|
||||
#####################################################
|
||||
https://kubesphere.io 20xx-xx-xx xx:xx:xx
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "使用 KubeKey 离线升级"
|
||||
keywords: "离线环境, kubernetes, 升级, kubesphere, v3.0.0"
|
||||
keywords: "离线环境, kubernetes, 升级, kubesphere, v3.1.1"
|
||||
description: "使用离线包升级 Kubernetes 和 KubeSphere。"
|
||||
linkTitle: "使用 KubeKey 离线升级"
|
||||
weight: 7400
|
||||
|
|
@ -10,7 +10,7 @@ weight: 7400
|
|||
## 准备工作
|
||||
|
||||
- 您需要有一个运行 KubeSphere v3.0.0 的集群。如果您的 KubeSphere 是 v2.1.1 或更早的版本,请先升级至 v3.0.0。
|
||||
- 请仔细阅读 [Release Notes for 3.1.0](../../release/release-v310/)。
|
||||
- 请仔细阅读 [Release Notes for 3.1.1](../../release/release-v311/)。
|
||||
- 提前备份所有重要的组件。
|
||||
- Docker 仓库。您需要有一个 Harbor 或其他 Docker 仓库。有关更多信息,请参见[准备一个私有镜像仓库](../../installing-on-linux/introduction/air-gapped-installation/#步骤-2准备一个私有镜像仓库)。
|
||||
- 请确保每个节点都可以从该 Docker 仓库拉取镜像或向其推送镜像。
|
||||
|
|
@ -59,7 +59,7 @@ chmod +x kk
|
|||
1. 使用以下命令从能够访问互联网的机器上下载镜像清单文件 `images-list.txt`:
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/images-list.txt
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -71,7 +71,7 @@ chmod +x kk
|
|||
2. 下载 `offline-installation-tool.sh`。
|
||||
|
||||
```bash
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/offline-installation-tool.sh
|
||||
```
|
||||
|
||||
3. 使 `.sh` 文件可执行。
|
||||
|
|
@ -112,7 +112,7 @@ chmod +x kk
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- 您可以根据自己的需求变更下载的 Kubernetes 版本。安装 KubeSphere v3.1.0 的建议 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.19.8。有关受支持的 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 二进制文件。
|
||||
|
||||
|
|
@ -159,7 +159,7 @@ chmod +x kk
|
|||
| | Kubernetes | KubeSphere |
|
||||
| ------ | ---------- | ---------- |
|
||||
| 升级前 | v1.16.13 | v3.0.0 |
|
||||
| 升级后 | v1.17.9 | v3.1.0 |
|
||||
| 升级后 | v1.17.9 | v3.1.1 |
|
||||
|
||||
#### 升级集群
|
||||
|
||||
|
|
@ -176,7 +176,7 @@ chmod +x kk
|
|||
例如:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.17.9 --with-kubesphere v3.1.0 -f config-sample.yaml
|
||||
./kk create config --with-kubernetes v1.17.9 --with-kubesphere v3.1.1 -f config-sample.yaml
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -217,7 +217,7 @@ chmod +x kk
|
|||
privateRegistry: dockerhub.kubekey.local
|
||||
```
|
||||
|
||||
#### 将单节点集群升级至 KubeSphere v3.1.0 和 Kubernetes v1.17.9
|
||||
#### 将单节点集群升级至 KubeSphere v3.1.1 和 Kubernetes v1.17.9
|
||||
|
||||
```bash
|
||||
./kk upgrade -f config-sample.yaml
|
||||
|
|
@ -228,7 +228,7 @@ chmod +x kk
|
|||
- v1.17.0, v1.17.4, v1.17.5, v1.17.6, v1.17.7, v1.17.8, v1.17.9
|
||||
- v1.18.3, v1.18.5, v1.18.6, v1.18.8
|
||||
- v1.19.0, v1.19.8, v1.19.9
|
||||
- v1.20.4
|
||||
- v1.20.4, v1.20.6
|
||||
|
||||
|
||||
### 离线升级多节点集群
|
||||
|
|
@ -247,7 +247,7 @@ chmod +x kk
|
|||
| | Kubernetes | KubeSphere |
|
||||
| ------ | ---------- | ---------- |
|
||||
| 升级前 | v1.16.13 | v3.0.0 |
|
||||
| 升级后 | v1.17.9 | v3.1.0 |
|
||||
| 升级后 | v1.17.9 | v3.1.1 |
|
||||
|
||||
#### 升级集群
|
||||
|
||||
|
|
@ -264,7 +264,7 @@ chmod +x kk
|
|||
例如:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.17.9 --with-kubesphere v3.1.0 -f config-sample.yaml
|
||||
./kk create config --with-kubernetes v1.17.9 --with-kubesphere v3.1.1 -f config-sample.yaml
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -307,7 +307,7 @@ chmod +x kk
|
|||
privateRegistry: dockerhub.kubekey.local
|
||||
```
|
||||
|
||||
#### 将多节点集群升级至 KubeSphere v3.1.0 和 Kubernetes v1.17.9
|
||||
#### 将多节点集群升级至 KubeSphere v3.1.1 和 Kubernetes v1.17.9
|
||||
|
||||
```bash
|
||||
./kk upgrade -f config-sample.yaml
|
||||
|
|
@ -318,5 +318,5 @@ chmod +x kk
|
|||
- v1.17.0, v1.17.4, v1.17.5, v1.17.6, v1.17.7, v1.17.8, v1.17.9
|
||||
- v1.18.3, v1.18.5, v1.18.6, v1.18.8
|
||||
- v1.19.0, v1.19.8, v1.19.9
|
||||
- v1.20.4
|
||||
- v1.20.4, v1.20.6
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "概述"
|
||||
keywords: "Kubernetes, 升级, KubeSphere, v3.1.0, 升级"
|
||||
keywords: "Kubernetes, 升级, KubeSphere, v3.1.1, 升级"
|
||||
description: "了解升级之前需要注意的事项,例如版本和升级工具。"
|
||||
linkTitle: "概述"
|
||||
weight: 7100
|
||||
|
|
@ -8,13 +8,13 @@ weight: 7100
|
|||
|
||||
## 确定您的升级方案
|
||||
|
||||
KubeSphere v3.1.0 与 Kubernetes 1.17.x、1.18.x、1.19.x 以及 1.20.x 兼容:
|
||||
KubeSphere v3.1.1 与 Kubernetes 1.17.x、1.18.x、1.19.x 以及 1.20.x 兼容:
|
||||
|
||||
- 在您升级集群至 KubeSphere v3.1.0 之前,您的 KubeSphere 集群版本必须为 v3.0.0。
|
||||
- 在您升级集群至 KubeSphere v3.1.1 之前,您的 KubeSphere 集群版本必须为 v3.0.0。
|
||||
|
||||
- 如果您的现有 KubeSphere v3.0.0 集群安装在 Kubernetes 1.17.x+ 上,您可选择只将 KubeSphere 升级到 v3.1.0 或者同时升级 Kubernetes(到更高版本)和 KubeSphere(到 v3.1.0)。
|
||||
- 如果您的现有 KubeSphere v3.0.0 集群安装在 Kubernetes 1.17.x+ 上,您可选择只将 KubeSphere 升级到 v3.1.1 或者同时升级 Kubernetes(到更高版本)和 KubeSphere(到 v3.1.1)。
|
||||
|
||||
- 如果您的现有 KubeSphere v3.0.0 集群安装在 Kubernetes 1.16.x 或更早版本上,您必须同时升级 Kubernetes(到 1.17.x+)和 KubeSphere(到 v3.1.0)。
|
||||
- 如果您的现有 KubeSphere v3.0.0 集群安装在 Kubernetes 1.16.x 或更早版本上,您必须同时升级 Kubernetes(到 1.17.x+)和 KubeSphere(到 v3.1.1)。
|
||||
|
||||
## 升级前
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "使用 ks-installer 升级"
|
||||
keywords: "kubernetes, 升级, kubesphere, v3.1.0"
|
||||
keywords: "kubernetes, 升级, kubesphere, v3.1.1"
|
||||
description: "使用 ks-installer 升级 KubeSphere。"
|
||||
linkTitle: "使用 ks-installer 升级"
|
||||
weight: 7300
|
||||
|
|
@ -11,18 +11,18 @@ weight: 7300
|
|||
## 准备工作
|
||||
|
||||
- 您需要有一个运行 KubeSphere v3.0.0 的集群。如果您的 KubeSphere 是 v2.1.1 或更早的版本,请先升级至 v3.0.0。
|
||||
- 请仔细阅读 [Release Notes for 3.1.0](../../release/release-v310/)。
|
||||
- 请仔细阅读 [Release Notes for 3.1.1](../../release/release-v311/)。
|
||||
- 提前备份所有重要的组件。
|
||||
- KubeSphere v3.1.0 支持的 Kubernetes 版本:v1.17.x、v1.18.x、v1.19.x 和 v1.20.x。
|
||||
- KubeSphere v3.1.1 支持的 Kubernetes 版本:v1.17.x、v1.18.x、v1.19.x 和 v1.20.x。
|
||||
|
||||
## 应用 ks-installer
|
||||
|
||||
运行以下命令升级集群:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.0/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.1.1/kubesphere-installer.yaml
|
||||
```
|
||||
|
||||
## 启用可插拔组件
|
||||
|
||||
您可以在升级后启用 KubeSphere v3.1.0 的[可插拔组件](../../pluggable-components/overview/)以体验该容器平台的更多功能。
|
||||
您可以在升级后启用 KubeSphere v3.1.1 的[可插拔组件](../../pluggable-components/overview/)以体验该容器平台的更多功能。
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "使用 KubeKey 升级"
|
||||
keywords: "Kubernetes, 升级, KubeSphere, v3.0.0, KubeKey"
|
||||
keywords: "Kubernetes, 升级, KubeSphere, v3.1.1, KubeKey"
|
||||
description: "使用 KubeKey 升级 Kubernetes 和 KubeSphere。"
|
||||
linkTitle: "使用 KubeKey 升级"
|
||||
weight: 7200
|
||||
|
|
@ -14,7 +14,7 @@ weight: 7200
|
|||
## 准备工作
|
||||
|
||||
- 您需要有一个运行 KubeSphere v3.0.0 的集群。如果您的 KubeSphere 是 v2.1.1 或更早的版本,请先升级至 v3.0.0。
|
||||
- 请仔细阅读 [Release Notes for 3.1.0](../../release/release-v310/)。
|
||||
- 请仔细阅读 [Release Notes for 3.1.1](../../release/release-v311/)。
|
||||
- 提前备份所有重要的组件。
|
||||
- 确定您的升级方案。本文档中提供 [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.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{</ tab >}}
|
||||
|
|
@ -45,7 +45,7 @@ export KKZONE=cn
|
|||
执行以下命令下载 KubeKey。
|
||||
|
||||
```bash
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
||||
curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.1 sh -
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -60,7 +60,7 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v1.1.0 sh -
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.0),您可以修改命令中的版本号以下载指定版本。
|
||||
执行以上命令会下载最新版 KubeKey (v1.1.1),您可以修改命令中的版本号以下载指定版本。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
@ -81,10 +81,10 @@ chmod +x kk
|
|||
|
||||
### All-in-One 集群
|
||||
|
||||
运行以下命令使用 KubeKey 将您的单节点集群升级至 KubeSphere v3.1.0 和 Kubernetes v1.20.4:
|
||||
运行以下命令使用 KubeKey 将您的单节点集群升级至 KubeSphere v3.1.1 和 Kubernetes v1.20.4:
|
||||
|
||||
```bash
|
||||
./kk upgrade --with-kubernetes v1.20.4 --with-kubesphere v3.1.0
|
||||
./kk upgrade --with-kubernetes v1.20.4 --with-kubesphere v3.1.1
|
||||
```
|
||||
|
||||
要将 Kubernetes 升级至特定版本,请在 `--with-kubernetes` 标志后明确指定版本号。以下是可用版本:
|
||||
|
|
@ -92,7 +92,7 @@ chmod +x kk
|
|||
- v1.17.0, v1.17.4, v1.17.5, v1.17.6, v1.17.7, v1.17.8, v1.17.9
|
||||
- v1.18.3, v1.18.5, v1.18.6, v1.18.8
|
||||
- v1.19.0, v1.19.8, v1.19.9
|
||||
- v1.20.4
|
||||
- v1.20.4, v1.20.6
|
||||
|
||||
### 多节点集群
|
||||
|
||||
|
|
@ -127,10 +127,10 @@ chmod +x kk
|
|||
|
||||
#### 步骤 3:升级集群
|
||||
|
||||
运行以下命令,将您的集群升级至 KubeSphere v3.1.0 和 Kubernetes v1.20.4:
|
||||
运行以下命令,将您的集群升级至 KubeSphere v3.1.1 和 Kubernetes v1.20.4:
|
||||
|
||||
```bash
|
||||
./kk upgrade --with-kubernetes v1.20.4 --with-kubesphere v3.1.0 -f sample.yaml
|
||||
./kk upgrade --with-kubernetes v1.20.4 --with-kubesphere v3.1.1 -f sample.yaml
|
||||
```
|
||||
|
||||
要将 Kubernetes 升级至特定版本,请在 `--with-kubernetes` 标志后明确指定版本号。以下是可用版本:
|
||||
|
|
@ -138,10 +138,10 @@ chmod +x kk
|
|||
- v1.17.0, v1.17.4, v1.17.5, v1.17.6, v1.17.7, v1.17.8, v1.17.9
|
||||
- v1.18.3, v1.18.5, v1.18.6, v1.18.8
|
||||
- v1.19.0, v1.19.8, v1.19.9
|
||||
- v1.20.4
|
||||
- v1.20.4, v1.20.6
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
若要使用 KubeSphere v3.1.0 的部分新功能,您需要在升级后启用对应的可插拔组件。
|
||||
若要使用 KubeSphere v3.1.1 的部分新功能,您需要在升级后启用对应的可插拔组件。
|
||||
|
||||
{{</ notice >}}
|
||||
|
|
@ -1,13 +1,13 @@
|
|||
---
|
||||
title: "升级后的变更"
|
||||
keywords: "Kubernetes, 升级, KubeSphere, v3.0.0"
|
||||
keywords: "Kubernetes, 升级, KubeSphere, v3.1.1"
|
||||
description: "了解升级后的变更。"
|
||||
|
||||
linkTitle: "升级后的变更"
|
||||
weight: 7600
|
||||
---
|
||||
|
||||
本文说明先前版本现有设置在升级后的变更。如果您想了解 KubeSphere 3.0.0 的所有新功能和优化,请直接参见 [v3.0.0 发布说明](../../release/release-v300/)。
|
||||
本文说明先前版本现有设置在升级后的变更。如果您想了解 KubeSphere 3.1.1 的所有新功能和优化,请直接参阅 [v3.1.1 发布说明](../../release/release-v311/)。
|
||||
|
||||
## 访问控制
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue