mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
commit
8f56e61bd3
|
|
@ -5,11 +5,11 @@ _build:
|
|||
|
||||
| Installation Tool | KubeSphere version | Supported Kubernetes versions |
|
||||
| ----------------- | ------------------ | ------------------------------------------------------------ |
|
||||
| KubeKey | 3.3.1 | v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, * v1.24.x|
|
||||
| ks-installer | 3.3.1 | v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, * v1.24.x|
|
||||
| KubeKey | 3.3.2 | v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, * v1.24.x|
|
||||
| ks-installer | 3.3.2 | v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, * v1.24.x|
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x.
|
||||
|
||||
{{</ notice >}}
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ See the table below for the role of each cluster.
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
These Kubernetes clusters can be hosted across different cloud providers and their Kubernetes versions can also vary. Recommended Kubernetes versions for KubeSphere 3.3: v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
These Kubernetes clusters can be hosted across different cloud providers and their Kubernetes versions can also vary. Recommended Kubernetes versions for KubeSphere 3.3: v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ kubectl -n kubesphere-system rollout restart deploy ks-controller-manager
|
|||
|
||||
### Wrong code branch used
|
||||
|
||||
If you used the incorrect version of ks-installer, the versions of different components would not match after the installation. Execute the following commands to check version consistency. Note that the correct image tag is `v3.3.1`.
|
||||
If you used the incorrect version of ks-installer, the versions of different components would not match after the installation. Execute the following commands to check version consistency. Note that the correct image tag is `v3.3.2`.
|
||||
|
||||
```
|
||||
kubectl -n kubesphere-system get deploy ks-installer -o jsonpath='{.spec.template.spec.containers[0].image}'
|
||||
|
|
|
|||
|
|
@ -31,9 +31,9 @@ Editing resources in `system-workspace` may cause unexpected results, such as Ku
|
|||
```yaml
|
||||
client:
|
||||
version:
|
||||
kubesphere: v3.3.1
|
||||
kubesphere: v3.3.2
|
||||
kubernetes: v1.22.12
|
||||
openpitrix: v3.3.0
|
||||
openpitrix: v3.3.2
|
||||
enableKubeConfig: true
|
||||
systemWorkspace: "$" # Add this line manually.
|
||||
```
|
||||
|
|
|
|||
|
|
@ -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.3.1/cluster-configuration.yaml) for cluster settings. If you want to disable Telemetry, do not run `kubectl apply -f` directly for this file.
|
||||
When you install KubeSphere on an existing Kubernetes cluster, you need to download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/cluster-configuration.yaml) and edit it:
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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 3.3 on Kubernetes, your Kubernetes version must be v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
- To install KubeSphere 3.3 on Kubernetes, your Kubernetes version must be v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.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 powerful type (such as CPU-Optimized / 8 GB / 4 vCPUs). It seems that DigitalOcean provisions the control plane 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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
- Inspect the logs of installation:
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ Check the installation with `aws --version`.
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- To install KubeSphere 3.3 on Kubernetes, your Kubernetes version must be v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
- To install KubeSphere 3.3 on Kubernetes, your Kubernetes version must be v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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 3.3 on Kubernetes, your Kubernetes version must be v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
- To install KubeSphere 3.3 on Kubernetes, your Kubernetes version must be v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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 3.3 on Kubernetes, your Kubernetes version must be v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
- To install KubeSphere 3.3 on Kubernetes, your Kubernetes version must be v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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 3.3 on Kubernetes, your Kubernetes version must be v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
- To install KubeSphere 3.3 on Kubernetes, your Kubernetes version must be v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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 3.3 on Kubernetes, your Kubernetes version must be v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
- To install KubeSphere 3.3 on Kubernetes, your Kubernetes version must be v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x.
|
||||
- Available CPU > 1 Core and Memory > 2 G. Only x86_64 CPUs are supported, and Arm CPUs are not fully supported at present.
|
||||
- A **default** StorageClass in your Kubernetes cluster is configured; use `kubectl get sc` to verify it.
|
||||
- The CSR signing feature is activated in kube-apiserver when it is started with the `--cluster-signing-cert-file` and `--cluster-signing-key-file` parameters. See [RKE installation issue](https://github.com/kubesphere/kubesphere/issues/1925#issuecomment-591698309).
|
||||
|
|
|
|||
|
|
@ -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.3.1/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/cluster-configuration.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/kubesphere-installer.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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:
|
||||
|
|
@ -280,11 +280,11 @@ library/haproxy:2.3
|
|||
kubesphere/nfs-subdir-external-provisioner:v4.0.2
|
||||
kubesphere/k8s-dns-node-cache:1.15.12
|
||||
##kubesphere-images
|
||||
kubesphere/ks-installer:v3.3.1
|
||||
kubesphere/ks-apiserver:v3.3.1
|
||||
kubesphere/ks-console:v3.3.1
|
||||
kubesphere/ks-controller-manager:v3.3.1
|
||||
kubesphere/ks-upgrade:v3.3.1
|
||||
kubesphere/ks-installer:v3.3.2
|
||||
kubesphere/ks-apiserver:v3.3.2
|
||||
kubesphere/ks-console:v3.3.2
|
||||
kubesphere/ks-controller-manager:v3.3.2
|
||||
kubesphere/ks-upgrade:v3.3.2
|
||||
kubesphere/kubectl:v1.22.0
|
||||
kubesphere/kubectl:v1.21.0
|
||||
kubesphere/kubectl:v1.20.0
|
||||
|
|
@ -308,11 +308,11 @@ kubesphere/edgeservice:v0.2.0
|
|||
##gatekeeper-images
|
||||
openpolicyagent/gatekeeper:v3.5.2
|
||||
##openpitrix-images
|
||||
kubesphere/openpitrix-jobs:v3.3.1
|
||||
kubesphere/openpitrix-jobs:v3.3.2
|
||||
##kubesphere-devops-images
|
||||
kubesphere/devops-apiserver:v3.3.1
|
||||
kubesphere/devops-controller:v3.3.1
|
||||
kubesphere/devops-tools:v3.3.1
|
||||
kubesphere/devops-apiserver:v3.3.2
|
||||
kubesphere/devops-controller:v3.3.2
|
||||
kubesphere/devops-tools:v3.3.2
|
||||
kubesphere/ks-jenkins:v3.3.0-2.319.1
|
||||
jenkins/inbound-agent:4.10-2
|
||||
kubesphere/builder-base:v3.2.2
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ This tutorial demonstrates how to add an edge node to your cluster.
|
|||
## Prerequisites
|
||||
|
||||
- You have enabled [KubeEdge](../../../pluggable-components/kubeedge/).
|
||||
- To prevent compatability issues, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
- To prevent compatability issues, you are advised to install Kubernetes v1.21.x.
|
||||
- You have an available node to serve as an edge node. The node can run either Ubuntu (recommended) or CentOS. This tutorial uses Ubuntu 18.04 as an example.
|
||||
- Edge nodes, unlike Kubernetes cluster nodes, should work in a separate network.
|
||||
|
||||
|
|
|
|||
|
|
@ -92,12 +92,12 @@ chmod +x kk
|
|||
Create an example configuration file with default configurations. Here Kubernetes v1.22.12 is used as an example.
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.3.1 --with-kubernetes v1.22.12
|
||||
./kk create config --with-kubesphere v3.3.2 --with-kubernetes v1.22.12
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 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.
|
||||
|
|
|
|||
|
|
@ -77,12 +77,12 @@ chmod +x kk
|
|||
Create an example configuration file with default configurations. Here Kubernetes v1.22.12 is used as an example.
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.3.1 --with-kubernetes v1.22.12
|
||||
./kk create config --with-kubesphere v3.3.2 --with-kubernetes v1.22.12
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 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.
|
||||
|
||||
|
|
|
|||
|
|
@ -312,12 +312,12 @@ chmod +x kk
|
|||
Create an example configuration file with default configurations. Here Kubernetes v1.22.12 is used as an example.
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.3.1 --with-kubernetes v1.22.12
|
||||
./kk create config --with-kubesphere v3.3.2 --with-kubernetes v1.22.12
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 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.
|
||||
|
|
|
|||
|
|
@ -123,11 +123,11 @@ In KubeKey v2.1.0, we bring in concepts of manifest and artifact, which provides
|
|||
- docker.io/library/haproxy:2.3
|
||||
- docker.io/kubesphere/nfs-subdir-external-provisioner:v4.0.2
|
||||
- docker.io/kubesphere/k8s-dns-node-cache:1.15.12
|
||||
- docker.io/kubesphere/ks-installer:v3.3.1
|
||||
- docker.io/kubesphere/ks-apiserver:v3.3.1
|
||||
- docker.io/kubesphere/ks-console:v3.3.1
|
||||
- docker.io/kubesphere/ks-controller-manager:v3.3.1
|
||||
- docker.io/kubesphere/ks-upgrade:v3.3.1
|
||||
- docker.io/kubesphere/ks-installer:v3.3.2
|
||||
- docker.io/kubesphere/ks-apiserver:v3.3.2
|
||||
- docker.io/kubesphere/ks-console:v3.3.2
|
||||
- docker.io/kubesphere/ks-controller-manager:v3.3.2
|
||||
- docker.io/kubesphere/ks-upgrade:v3.3.2
|
||||
- docker.io/kubesphere/kubectl:v1.22.0
|
||||
- docker.io/kubesphere/kubectl:v1.21.0
|
||||
- docker.io/kubesphere/kubectl:v1.20.0
|
||||
|
|
@ -148,10 +148,10 @@ In KubeKey v2.1.0, we bring in concepts of manifest and artifact, which provides
|
|||
- docker.io/kubeedge/iptables-manager:v1.9.2
|
||||
- docker.io/kubesphere/edgeservice:v0.2.0
|
||||
- docker.io/openpolicyagent/gatekeeper:v3.5.2
|
||||
- docker.io/kubesphere/openpitrix-jobs:v3.3.1
|
||||
- docker.io/kubesphere/devops-apiserver:v3.3.1
|
||||
- docker.io/kubesphere/devops-controller:v3.3.1
|
||||
- docker.io/kubesphere/devops-tools:v3.3.1
|
||||
- docker.io/kubesphere/openpitrix-jobs:v3.3.2
|
||||
- docker.io/kubesphere/devops-apiserver:v3.3.2
|
||||
- docker.io/kubesphere/devops-controller:v3.3.2
|
||||
- docker.io/kubesphere/devops-tools:v3.3.2
|
||||
- docker.io/kubesphere/ks-jenkins:v3.3.0-2.319.1
|
||||
- docker.io/jenkins/inbound-agent:4.10-2
|
||||
- docker.io/kubesphere/builder-base:v3.2.2
|
||||
|
|
@ -307,7 +307,7 @@ In KubeKey v2.1.0, we bring in concepts of manifest and artifact, which provides
|
|||
2. Run the following command to create a configuration file for the air-gapped cluster:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.3.1 --with-kubernetes v1.22.12 -f config-sample.yaml
|
||||
./kk create config --with-kubesphere v3.3.2 --with-kubernetes v1.22.12 -f config-sample.yaml
|
||||
```
|
||||
|
||||
3. Run the following command to modify the configuration file:
|
||||
|
|
|
|||
|
|
@ -79,11 +79,11 @@ If you want to use KubeKey to install both Kubernetes and KubeSphere 3.3, see th
|
|||
|
||||
| KubeSphere version | Supported Kubernetes versions |
|
||||
| ------------------ | ------------------------------------------------------------ |
|
||||
| v3.3.1 | v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x |
|
||||
| v3.3.2 | v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x |
|
||||
|
||||
{{< 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 3.3. If you want to [install KubeSphere 3.3 on an existing Kubernetes cluster](../../../installing-on-kubernetes/introduction/overview/), your Kubernetes version must be v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
- If you want to use KubeEdge, you are advised to install Kubernetes v1.21.x or earlier to prevent compatability issues.
|
||||
- The Kubernetes versions that can be installed using KubeKey are different from the Kubernetes versions supported by KubeSphere 3.3. If you want to [install KubeSphere 3.3 on an existing Kubernetes cluster](../../../installing-on-kubernetes/introduction/overview/), your Kubernetes version must be v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x
|
||||
|
||||
{{</ notice >}}
|
||||
|
|
@ -165,7 +165,7 @@ Command:
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 by default. For more information about supported Kubernetes versions, see [Support Matrix](../kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 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.
|
||||
|
|
@ -180,7 +180,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.3.1`).
|
||||
- You can specify a KubeSphere version that you want to install (for example, `--with-kubesphere v3.3.2`).
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere [version]
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ chmod +x kk
|
|||
1. Create a configuration file of your cluster by running the following command:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.21.4-k3s --with-kubesphere v3.3.1
|
||||
./kk create config --with-kubernetes v1.21.4-k3s --with-kubesphere v3.3.2
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
|
|||
|
|
@ -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.3.1`):
|
||||
Create a Kubernetes cluster with KubeSphere installed (for example, `--with-kubesphere v3.3.2`):
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.1
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.2
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 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.
|
||||
|
|
|
|||
|
|
@ -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.3.1`):
|
||||
Create a Kubernetes cluster with KubeSphere installed (for example, `--with-kubesphere v3.3.2`):
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.1
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.2
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 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.3.1
|
||||
version: v3.3.2
|
||||
spec:
|
||||
local_registry: ""
|
||||
persistence:
|
||||
|
|
|
|||
|
|
@ -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.22.12 --with-kubesphere v3.3.1
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.2
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 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.
|
||||
|
|
|
|||
|
|
@ -117,19 +117,19 @@ 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.22.12 --with-kubesphere v3.3.1
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.2
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 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.
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
4. A default file `config-sample.yaml` will be created if you do not customize the name. Edit the file.
|
||||
2. A default file `config-sample.yaml` will be created if you do not customize the name. Edit the file.
|
||||
|
||||
```bash
|
||||
vi config-sample.yaml
|
||||
|
|
@ -178,15 +178,15 @@ chmod +x kk
|
|||
...
|
||||
```
|
||||
|
||||
5. Pay special attention to the field of `addons`, under which you must provide the information of NFS-client. For more information about each parameter in this file, see [Multi-node Installation](../../../installing-on-linux/introduction/multioverview/#2-edit-the-configuration-file).
|
||||
3. Pay special attention to the field of `addons`, under which you must provide the information of NFS-client. For more information about each parameter in this file, see [Multi-node Installation](../../../installing-on-linux/introduction/multioverview/#2-edit-the-configuration-file).
|
||||
|
||||
6. Save the file and execute the following command to install Kubernetes and KubeSphere:
|
||||
4. Save the file and execute the following command to install Kubernetes and KubeSphere:
|
||||
|
||||
```bash
|
||||
./kk create cluster -f config-sample.yaml
|
||||
```
|
||||
|
||||
7. When the installation finishes, you can inspect installation logs with the following command:
|
||||
5. When the installation finishes, you can inspect installation logs with the following command:
|
||||
|
||||
```bash
|
||||
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l 'app in (ks-install, ks-installer)' -o jsonpath='{.items[0].metadata.name}') -f
|
||||
|
|
|
|||
|
|
@ -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.22.12 --with-kubesphere v3.3.1
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.2
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 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.
|
||||
|
|
|
|||
|
|
@ -145,12 +145,12 @@ The commands above download the latest release (v3.0.2) of KubeKey. You can chan
|
|||
2. Create an example configuration file with default configurations. Here Kubernetes v1.22.12 is used as an example.
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.3.1 --with-kubernetes v1.22.12
|
||||
./kk create config --with-kubesphere v3.3.2 --with-kubernetes v1.22.12
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 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.
|
||||
|
|
|
|||
|
|
@ -170,14 +170,15 @@ chmod +x kk
|
|||
Create an example configuration file with default configurations. Here Kubernetes v1.22.12 is used as an example.
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.3.1 --with-kubernetes v1.22.12
|
||||
./kk create config --with-kubesphere v3.3.2 --with-kubernetes v1.22.12
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 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.
|
||||
|
||||
{{</ notice >}}
|
||||
|
|
|
|||
|
|
@ -10,4 +10,4 @@ In June 2022, KubeSphere 3.3 has been released with more exciting features. This
|
|||
|
||||
If you want to know details about new feature of KubeSphere 3.3, you can read the article [KubeSphere 3.3.0: Embrace GitOps](/../../../news/kubesphere-3.3.0-ga-announcement/).
|
||||
|
||||
In addition to the above highlights, this release also features other functionality upgrades and fixes the known bugs. There were some deprecated or removed features in 3.3. For more and detailed information, see the [Release Notes for 3.3.0](../../../v3.3/release/release-v330/) and [Release Notes for 3.3.1](../../../v3.3/release/release-v331/).
|
||||
In addition to the above highlights, this release also features other functionality upgrades and fixes the known bugs. There were some deprecated or removed features in 3.3. For more and detailed information, see the [Release Notes for 3.3.0](../../../v3.3/release/release-v330/), [Release Notes for 3.3.1](../../../v3.3/release/release-v331/), and [Release Notes for 3.3.2](../../../v3.3/release/release-v332/).
|
||||
|
|
@ -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.3.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable Alerting first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -44,9 +44,9 @@ If you adopt [All-in-One Installation](../../quick-start/all-in-one-on-linux/),
|
|||
|
||||
### Installing on Kubernetes
|
||||
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable the KubeSphere App Store first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable the KubeSphere App Store first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -63,7 +63,7 @@ As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introdu
|
|||
3. Run the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeSphere Auditing first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeSphere DevOps first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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. Run the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeSphere Events first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -61,9 +61,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.3.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeEdge first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -95,7 +95,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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -65,9 +65,9 @@ When you install KubeSphere on Linux, you need to create a configuration file, w
|
|||
|
||||
### 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.3.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeSphere Logging first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -103,7 +103,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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable the Metrics Server first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable the Network Policy first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable Pod IP Pools first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -53,9 +53,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.3.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable KubeSphere Service Mesh first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -78,7 +78,7 @@ As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introdu
|
|||
3. Run the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/cluster-configuration.yaml) file.
|
||||
As you [install KubeSphere on Kubernetes](../../installing-on-kubernetes/introduction/overview/), you can enable Service Topology first in the [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) file.
|
||||
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) and edit it.
|
||||
1. Download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -197,12 +197,12 @@ You only need to run one command for all-in-one installation. The template is as
|
|||
To create a Kubernetes cluster with KubeSphere installed, refer to the following command as an example:
|
||||
|
||||
```bash
|
||||
./kk create cluster --with-kubernetes v1.22.12 --with-kubesphere v3.3.1
|
||||
./kk create cluster --with-kubernetes v1.22.12 --with-kubesphere v3.3.2
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier. If you do not specify a Kubernetes version, KubeKey installs Kubernetes v1.23.10 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- Recommended Kubernetes versions for KubeSphere 3.3: v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x. If you do not specify a Kubernetes version, KubeKey installs Kubernetes v1.23.10 by default. For more information about supported Kubernetes versions, see [Support Matrix](../../installing-on-linux/introduction/kubekey/#support-matrix).
|
||||
- For all-in-one installation, you do not need to change any configuration.
|
||||
- If you do not add the flag `--with-kubesphere` in the command in this step, KubeSphere will not be deployed. KubeKey will install Kubernetes only. If you add the flag `--with-kubesphere` without specifying a KubeSphere version, the latest version of KubeSphere will be installed.
|
||||
- KubeKey will install [OpenEBS](https://openebs.io/) to provision LocalPV for the development and testing environment by default, which is convenient for new users. For other storage classes, see [Persistent Storage Configurations](../../installing-on-linux/persistent-storage-configurations/understand-persistent-storage/).
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ If you adopt [All-in-one Installation](../../quick-start/all-in-one-on-linux/),
|
|||
|
||||
When you install KubeSphere on Kubernetes, you need to use [ks-installer](https://github.com/kubesphere/ks-installer/) by applying two YAML files as below.
|
||||
|
||||
1. First download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) and edit it.
|
||||
1. First download the file [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) and edit it.
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -73,7 +73,7 @@ When you install KubeSphere on Kubernetes, you need to use [ks-installer](https:
|
|||
3. Save this local file and execute the following commands to start the installation.
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ In addition to installing KubeSphere on a Linux machine, you can also deploy it
|
|||
|
||||
## Prerequisites
|
||||
|
||||
- To install KubeSphere 3.3 on Kubernetes, your Kubernetes version must be v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
- To install KubeSphere 3.3 on Kubernetes, your Kubernetes version must be v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x.
|
||||
- Make sure your machine meets the minimal hardware requirement: CPU > 1 Core, Memory > 2 GB.
|
||||
- A **default** Storage Class in your Kubernetes cluster needs to be configured before the installation.
|
||||
|
||||
|
|
@ -33,9 +33,9 @@ After you make sure your machine meets the conditions, perform the following ste
|
|||
1. Run the following commands to start installation:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
2. After KubeSphere is successfully installed, you can run the following command to view the installation logs:
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
title: "Monitoring"
|
||||
keywords: 'Kubernetes, KubeSphere, API, Monitoring'
|
||||
description: 'The API changes of the component **monitoring** in KubeSphere v3.3.1.'
|
||||
description: 'The API changes of the component **monitoring** in KubeSphere v3.3.2.'
|
||||
linkTitle: "Monitoring"
|
||||
weight: 17320
|
||||
---
|
||||
|
|
|
|||
|
|
@ -11,4 +11,4 @@ icon: "/images/docs/v3.3/docs.svg"
|
|||
|
||||
---
|
||||
|
||||
This chapter demonstrates how cluster operators can upgrade KubeSphere to 3.3.1.
|
||||
This chapter demonstrates how cluster operators can upgrade KubeSphere to 3.3.2.
|
||||
|
|
@ -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.2.x. If your KubeSphere version is v3.1.x or earlier, upgrade to v3.2.x first.
|
||||
- Read [Release Notes for 3.3.1](../../../v3.3/release/release-v331/) carefully.
|
||||
- Read [Release Notes for 3.3.2](../../../v3.3/release/release-v332/) 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 3.3: v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
- Supported Kubernetes versions of KubeSphere 3.3: v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x.
|
||||
|
||||
## Major Updates
|
||||
|
||||
|
|
@ -35,7 +35,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.3.1/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/images-list.txt
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -47,7 +47,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.3.1/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/offline-installation-tool.sh
|
||||
```
|
||||
|
||||
3. Make the `.sh` file executable.
|
||||
|
|
@ -107,7 +107,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.3.1/kubesphere-installer.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
```
|
||||
|
||||
2. Verify that you have specified your private image registry in `spec.local_registry` in `cluster-configuration.yaml`. Note that if your existing cluster was installed in an air-gapped environment, you may already have this field specified. Otherwise, run the following command to edit `cluster-configuration.yaml` of your existing KubeSphere v3.1.x cluster and add the private image registry:
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ Air-gapped upgrade with KubeKey is recommended for users whose KubeSphere and Ku
|
|||
## Prerequisites
|
||||
|
||||
- You need to have a KubeSphere cluster running v3.2.x. If your KubeSphere version is v3.1.x or earlier, upgrade to v3.2.x first.
|
||||
- Your Kubernetes version must be v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
- Read [Release Notes for 3.3.1](../../../v3.3/release/release-v331/) carefully.
|
||||
- Your Kubernetes version must be v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x.
|
||||
- Read [Release Notes for 3.3.2](../../../v3.3/release/release-v332/) carefully.
|
||||
- Back up any important component beforehand.
|
||||
- A Docker registry. You need to have a Harbor or other Docker registries.
|
||||
- Make sure every node can push and pull images from the Docker Registry.
|
||||
|
|
@ -100,7 +100,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.3.1/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/images-list.txt
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -112,7 +112,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.3.1/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/offline-installation-tool.sh
|
||||
```
|
||||
|
||||
3. Make the `.sh` file executable.
|
||||
|
|
@ -153,7 +153,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 3.3 are v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 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 3.3 are v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x. If you do not specify a Kubernetes version, KubeKey will install Kubernetes v1.23.10 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.
|
||||
|
||||
|
|
@ -200,7 +200,7 @@ Transfer your packaged image file to your local machine and execute the followin
|
|||
| | Kubernetes | KubeSphere |
|
||||
| ------ | ---------- | ---------- |
|
||||
| Before | v1.18.6 | v3.2.x |
|
||||
| After | v1.22.12 | 3.3.1 |
|
||||
| After | v1.22.12 | 3.3.x |
|
||||
|
||||
#### Upgrade a cluster
|
||||
|
||||
|
|
@ -217,7 +217,7 @@ Execute the following command to generate an example configuration file for inst
|
|||
For example:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.1 -f config-sample.yaml
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.2 -f config-sample.yaml
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -264,7 +264,7 @@ Set `privateRegistry` of your `config-sample.yaml` file:
|
|||
./kk upgrade -f config-sample.yaml
|
||||
```
|
||||
|
||||
To upgrade Kubernetes to a specific version, explicitly provide the version after the flag `--with-kubernetes`. Available versions are v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
To upgrade Kubernetes to a specific version, explicitly provide the version after the flag `--with-kubernetes`. Available versions are v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x.
|
||||
|
||||
### Air-gapped upgrade for multi-node clusters
|
||||
|
||||
|
|
@ -282,7 +282,7 @@ To upgrade Kubernetes to a specific version, explicitly provide the version afte
|
|||
| | Kubernetes | KubeSphere |
|
||||
| ------ | ---------- | ---------- |
|
||||
| Before | v1.18.6 | v3.2.x |
|
||||
| After | v1.22.12 | 3.3.1 |
|
||||
| After | v1.22.12 | 3.3.x |
|
||||
|
||||
#### Upgrade a cluster
|
||||
|
||||
|
|
@ -299,7 +299,7 @@ In this example, KubeSphere is installed on multiple nodes, so you need to speci
|
|||
For example:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.1 -f config-sample.yaml
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.2 -f config-sample.yaml
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
@ -348,4 +348,4 @@ Set `privateRegistry` of your `config-sample.yaml` file:
|
|||
./kk upgrade -f config-sample.yaml
|
||||
```
|
||||
|
||||
To upgrade Kubernetes to a specific version, explicitly provide the version after the flag `--with-kubernetes`. Available versions are v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
To upgrade Kubernetes to a specific version, explicitly provide the version after the flag `--with-kubernetes`. Available versions are v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x.
|
||||
|
|
|
|||
|
|
@ -8,11 +8,11 @@ weight: 7100
|
|||
|
||||
## Make Your Upgrade Plan
|
||||
|
||||
KubeSphere 3.3 is compatible with Kubernetes v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x:
|
||||
KubeSphere 3.3 is compatible with Kubernetes v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and * v1.24.x:
|
||||
|
||||
- Before you upgrade your cluster to KubeSphere 3.3, you need to have a KubeSphere cluster running v3.2.x.
|
||||
- You can choose to only upgrade KubeSphere to 3.3 or upgrade Kubernetes (to a higher version) and KubeSphere (to 3.3) at the same time.
|
||||
- For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
- For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x.
|
||||
## Before the Upgrade
|
||||
|
||||
{{< notice warning >}}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "Upgrade with ks-installer"
|
||||
keywords: "Kubernetes, upgrade, KubeSphere, v3.3.1"
|
||||
keywords: "Kubernetes, upgrade, KubeSphere, v3.3.2"
|
||||
description: "Use ks-installer to upgrade KubeSphere."
|
||||
linkTitle: "Upgrade with ks-installer"
|
||||
weight: 7300
|
||||
|
|
@ -11,9 +11,9 @@ ks-installer is recommended for users whose Kubernetes clusters were not set up
|
|||
## Prerequisites
|
||||
|
||||
- You need to have a KubeSphere cluster running v3.2.x. If your KubeSphere version is v3.1.x or earlier, upgrade to v3.2.x first.
|
||||
- Read [Release Notes for 3.3.1](../../../v3.3/release/release-v331/) carefully.
|
||||
- Read [Release Notes for 3.3.2](../../../v3.3/release/release-v332/) carefully.
|
||||
- Back up any important component beforehand.
|
||||
- Supported Kubernetes versions of KubeSphere 3.3: v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
- Supported Kubernetes versions of KubeSphere 3.3: v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x.
|
||||
|
||||
## Major Updates
|
||||
|
||||
|
|
@ -32,7 +32,7 @@ In KubeSphere 3.3.1, some changes have made on built-in roles and permissions of
|
|||
Run the following command to upgrade your cluster.
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/kubesphere-installer.yaml --force
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml --force
|
||||
```
|
||||
|
||||
## Enable Pluggable Components
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ This tutorial demonstrates how to upgrade your cluster using KubeKey.
|
|||
## Prerequisites
|
||||
|
||||
- You need to have a KubeSphere cluster running v3.2.x. If your KubeSphere version is v3.1.x or earlier, upgrade to v3.2.x first.
|
||||
- Read [Release Notes for 3.3.1](../../../v3.3/release/release-v331/) carefully.
|
||||
- Read [Release Notes for 3.3.2](../../../v3.3/release/release-v332/) 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.
|
||||
|
||||
|
|
@ -95,10 +95,10 @@ When upgrading Kubernetes, KubeKey will upgrade from one MINOR version to the ne
|
|||
Run the following command to use KubeKey to upgrade your single-node cluster to KubeSphere 3.3 and Kubernetes v1.22.12:
|
||||
|
||||
```bash
|
||||
./kk upgrade --with-kubernetes v1.22.12 --with-kubesphere v3.3.1
|
||||
./kk upgrade --with-kubernetes v1.22.12 --with-kubesphere v3.3.2
|
||||
```
|
||||
|
||||
To upgrade Kubernetes to a specific version, explicitly provide the version after the flag `--with-kubernetes`. Available versions are v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
To upgrade Kubernetes to a specific version, explicitly provide the version after the flag `--with-kubernetes`. Available versions are v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x.
|
||||
### Multi-node cluster
|
||||
|
||||
#### Step 1: Generate a configuration file using KubeKey
|
||||
|
|
@ -134,10 +134,10 @@ For more information, see [Edit the configuration file](../../installing-on-linu
|
|||
The following command upgrades your cluster to KubeSphere 3.3 and Kubernetes v1.22.12:
|
||||
|
||||
```bash
|
||||
./kk upgrade --with-kubernetes v1.22.12 --with-kubesphere v3.3.1 -f sample.yaml
|
||||
./kk upgrade --with-kubernetes v1.22.12 --with-kubesphere v3.3.2 -f sample.yaml
|
||||
```
|
||||
|
||||
To upgrade Kubernetes to a specific version, explicitly provide the version after the flag `--with-kubernetes`. Available versions are v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x or earlier.
|
||||
To upgrade Kubernetes to a specific version, explicitly provide the version after the flag `--with-kubernetes`. Available versions are v1.20.x, v1.21.x, * v1.22.x, * v1.23.x, and v1.24.x. For Kubernetes versions with an asterisk, some features of edge nodes may be unavailable due to incompatability. Therefore, if you want to use edge nodes, you are advised to install Kubernetes v1.21.x.
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,6 @@ 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.3, see [Release Notes for 3.3.0](../../../v3.3/release/release-v330/) and [Release Notes for 3.3.1](../../../v3.3/release/release-v331/).
|
||||
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.3, see [Release Notes for 3.3.0](../../../v3.3/release/release-v330/), [Release Notes for 3.3.1](../../../v3.3/release/release-v331/), and [Release Notes for 3.3.2](../../../v3.3/release/release-v332/).
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -5,11 +5,11 @@ _build:
|
|||
|
||||
| 安装工具 | KubeSphere 版本 | 支持的 Kubernetes 版本 |
|
||||
| ------------ | --------------- | ------------------------------------------------------------ |
|
||||
| KubeKey | 3.3.1 | v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x,* v1.24.x |
|
||||
| ks-installer | 3.3.1 | v1.19.x, v1.20.x, v1.21.x, * v1.22.x, * v1.23.x,* v1.24.x |
|
||||
| KubeKey | 3.3.2 | v1.20.x, v1.21.x, * v1.22.x, * v1.23.x,* v1.24.x |
|
||||
| ks-installer | 3.3.2 | v1.20.x, v1.21.x, * v1.22.x, * v1.23.x,* v1.24.x |
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。
|
||||
带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x。
|
||||
|
||||
{{</ notice >}}
|
||||
|
|
@ -40,7 +40,7 @@ weight: 11440
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
这些 Kubernetes 集群可以被托管至不同的云厂商,也可以使用不同的 Kubernetes 版本。针对 KubeSphere 3.3 推荐的 Kubernetes 版本:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。
|
||||
这些 Kubernetes 集群可以被托管至不同的云厂商,也可以使用不同的 Kubernetes 版本。针对 KubeSphere 3.3 推荐的 Kubernetes 版本:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ kubectl -n kubesphere-system rollout restart deploy ks-controller-manager
|
|||
|
||||
如果您使用了错误的 ks-installer 版本,会导致安装之后各组件版本不匹配。
|
||||
|
||||
通过以下方式检查各组件版本是否一致,正确的 image tag 应该是 v3.3.1。
|
||||
通过以下方式检查各组件版本是否一致,正确的 image tag 应该是 v3.3.2。
|
||||
|
||||
```
|
||||
kubectl -n kubesphere-system get deploy ks-installer -o jsonpath='{.spec.template.spec.containers[0].image}'
|
||||
|
|
|
|||
|
|
@ -31,9 +31,9 @@ Weight: 16520
|
|||
```yaml
|
||||
client:
|
||||
version:
|
||||
kubesphere: v3.3.1
|
||||
kubesphere: v3.3.2
|
||||
kubernetes: v1.22.12
|
||||
openpitrix: v3.3.1
|
||||
openpitrix: v3.3.2
|
||||
enableKubeConfig: true
|
||||
systemWorkspace: "$" # 请手动添加此行。
|
||||
```
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ Telemetry 收集已安装 KubeSphere 集群的大小、KubeSphere 和 Kubernetes
|
|||
|
||||
### 安装前禁用 Telemetry
|
||||
|
||||
在现有 Kubernetes 集群上安装 KubeSphere 时,您需要下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件用于配置集群。如需禁用 Telemetry,请勿直接执行 `kubectl apply -f` 命令应用该文件。
|
||||
在现有 Kubernetes 集群上安装 KubeSphere 时,您需要下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/cluster-configuration.yaml) 文件并编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
title: "升级 QingCloud CSI"
|
||||
keywords: "Kubernetes, 升级, KubeSphere, v3.3.1"
|
||||
keywords: "Kubernetes, 升级, KubeSphere, v3.3.2"
|
||||
description: "升级 KubeSphere 后升级 QingCloud CSI。"
|
||||
linkTitle: "升级 QingCloud CSI"
|
||||
weight: 16210
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ weight: 4270
|
|||
### 创建 Kubernetes 集群
|
||||
首先按使用环境的资源需求[创建 Kubernetes 集群](https://cloud.tencent.com/document/product/457/32189),满足以下一些条件即可(如已有环境并满足条件可跳过本节内容):
|
||||
|
||||
- KubeSphere 3.3 默认支持的 Kubernetes 版本为 v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本;
|
||||
- KubeSphere 3.3 默认支持的 Kubernetes 版本为 v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x;
|
||||
- 如果老集群版本不大于1.15.0,需要操作控制台先升级master节点然后升级node节点,依次升级至符合要求版本即可。
|
||||
- 工作节点机型配置规格方面选择 `标准型S5` 的 `4核|8GB` 配置即可,并按需扩展工作节点数量(通常生产环境需要 3 个及以上工作节点)。
|
||||
|
||||
|
|
@ -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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
```
|
||||
|
||||
- 下载集群配置文件
|
||||
|
||||
```bash
|
||||
wget https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml
|
||||
wget https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
{{< notice tip >}}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ weight: 4250
|
|||
|
||||
首先按使用环境的资源需求创建 Kubernetes 集群,满足以下一些条件即可(如已有环境并满足条件可跳过本节内容):
|
||||
|
||||
- KubeSphere 3.3 默认支持的 Kubernetes 版本为 v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本;
|
||||
- KubeSphere 3.3 默认支持的 Kubernetes 版本为 v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x;
|
||||
- 需要确保 Kubernetes 集群所使用的 ECS 实例的网络正常工作,可以通过在创建集群的同时**自动创建**或**使用已有**弹性 IP;或者在集群创建后自行配置网络(如配置 [NAT 网关](https://www.aliyun.com/product/network/nat/));
|
||||
- 小规模场景下工作节点规格建议选择 `4核|8GB` 配置,不推荐`2核|4GB` ,并按需扩展工作节点数量(通常生产环境需要 3 个及以上工作节点),详情可参考[最佳实践- ECS 选型](https://help.aliyun.com/document_detail/98886.html)。
|
||||
|
||||
|
|
@ -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.3.1/kubesphere-installer.yaml
|
||||
wget https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml
|
||||
wget https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
wget https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
可以通过以下命令检查安装日志:
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ weight: 4230
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- 如需在 Kubernetes 上安装 KubeSphere 3.3,您的 Kubernetes 版本必须为:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。
|
||||
- 如需在 Kubernetes 上安装 KubeSphere 3.3,您的 Kubernetes 版本必须为:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
- 检查安装日志:
|
||||
|
|
|
|||
|
|
@ -84,14 +84,14 @@ 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 3.3,您的 Kubernetes 版本必须为:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。
|
||||
- 如需在 Kubernetes 上安装 KubeSphere 3.3,您的 Kubernetes 版本必须为:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 版本。
|
||||
- 此示例中包括 3 个节点。您可以根据自己的需求添加更多节点,尤其是在生产环境中。
|
||||
- t3.medium(2 个 vCPU,4 GB 内存)机器类型仅用于最小化安装,如果要启用可插拔组件或集群用于生产,请选择具有更大规格的机器类型。
|
||||
- 对于其他设置,您也可以根据自己的需要进行更改,也可以使用默认值。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
8. 当 EKS 集群准备就绪时,您可以使用 kubectl 连接到集群。
|
||||
1. 当 EKS 集群准备就绪时,您可以使用 kubectl 连接到集群。
|
||||
|
||||
## 配置 kubectl
|
||||
|
||||
|
|
@ -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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
- 检查安装日志:
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ weight: 4240
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- 如需在 Kubernetes 上安装 KubeSphere 3.3,您的 Kubernetes 版本必须为:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。
|
||||
- 如需在 Kubernetes 上安装 KubeSphere 3.3,您的 Kubernetes 版本必须为:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
- 检查安装日志:
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ weight: 4250
|
|||
|
||||
首先按使用环境的资源需求创建 Kubernetes 集群,满足以下一些条件即可(如已有环境并满足条件可跳过本节内容):
|
||||
|
||||
- 如需在 Kubernetes 上安装 KubeSphere 3.3,您的 Kubernetes 版本必须为:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。
|
||||
- 如需在 Kubernetes 上安装 KubeSphere 3.3,您的 Kubernetes 版本必须为:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
执行部署命令后,可以通过进入**工作负载** > **容器组 Pod** 界面,在右侧面板中查询 `kubesphere-system` 命名空间下的 Pod 运行状态了解 KubeSphere 平台最小功能集的部署状态;通过该命名空间下 `ks-console-xxxx` 容器的状态来了解 KubeSphere 控制台应用的可用状态。
|
||||
|
|
|
|||
|
|
@ -28,30 +28,30 @@ weight: 4260
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- 如需在 Kubernetes 上安装 KubeSphere 3.3,您的 Kubernetes 版本必须为:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。
|
||||
- 如需在 Kubernetes 上安装 KubeSphere 3.3,您的 Kubernetes 版本必须为:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.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 个节点,可以根据需求自行添加节点(尤其是生产环境)。
|
||||
|
||||
{{</ notice >}}
|
||||
|
||||
4. 检查集群信息,确认无需修改后点击**创建集群**。
|
||||
1. 检查集群信息,确认无需修改后点击**创建集群**。
|
||||
|
||||

|
||||
|
||||
5. 集群创建后,点击**关闭**。
|
||||
2. 集群创建后,点击**关闭**。
|
||||
|
||||

|
||||
|
||||
6. 确保集群状态为**活动**后,点击**访问集群**。
|
||||
3. 确保集群状态为**活动**后,点击**访问集群**。
|
||||
|
||||

|
||||
|
||||
7. 在弹出窗口中,选择 **Cloud Shell 访问权限**。点击**启动 Cloud Shell**,并将 Oracle Cloud 所提供的命令复制到 Cloud Shell。
|
||||
4. 在弹出窗口中,选择 **Cloud Shell 访问权限**。点击**启动 Cloud Shell**,并将 Oracle Cloud 所提供的命令复制到 Cloud Shell。
|
||||
|
||||

|
||||
|
||||
8. 在 Cloud Shell 中,粘贴该命令以便之后可以执行 KubeSphere 安装命令。
|
||||
5. 在 Cloud Shell 中,粘贴该命令以便之后可以执行 KubeSphere 安装命令。
|
||||
|
||||

|
||||
|
||||
|
|
@ -64,9 +64,9 @@ weight: 4260
|
|||
1. 使用 kubectl 安装 KubeSphere。直接输入以下命令会默认执行 KubeSphere 的最小化安装。
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
2. 检查安装日志:
|
||||
|
|
|
|||
|
|
@ -32,9 +32,9 @@ KubeSphere 承诺为用户提供即插即用架构,您可以轻松地将 KubeS
|
|||
1. 执行以下命令以开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml
|
||||
```
|
||||
|
||||
2. 检查安装日志:
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ weight: 4120
|
|||
|
||||
您可以在虚拟机和裸机上安装 KubeSphere,并同时配置 Kubernetes。另外,只要 Kubernetes 集群满足以下前提条件,那么您也可以在云托管和本地 Kubernetes 集群上部署 KubeSphere。
|
||||
|
||||
- 如需在 Kubernetes 上安装 KubeSphere 3.3,您的 Kubernetes 版本必须为:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。
|
||||
- 如需在 Kubernetes 上安装 KubeSphere 3.3,您的 Kubernetes 版本必须为:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x。
|
||||
- 可用 CPU > 1 核;内存 > 2 G。CPU 必须为 x86_64,暂时不支持 Arm 架构的 CPU。
|
||||
- Kubernetes 集群已配置**默认** StorageClass(请使用 `kubectl get sc` 进行确认)。
|
||||
- 使用 `--cluster-signing-cert-file` 和 `--cluster-signing-key-file` 参数启动集群时,kube-apiserver 将启用 CSR 签名功能。请参见 [RKE 安装问题](https://github.com/kubesphere/kubesphere/issues/1925#issuecomment-591698309)。
|
||||
|
|
|
|||
|
|
@ -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.3.1/images-list.txt
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/offline-installation-tool.sh
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/cluster-configuration.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/kubesphere-installer.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml
|
||||
curl -L -O https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
```
|
||||
|
||||
2. 编辑 `cluster-configuration.yaml` 添加您的私有镜像仓库。例如,本教程中的仓库地址是 `dockerhub.kubekey.local`,将它用作 `.spec.local_registry` 的值,如下所示:
|
||||
|
|
@ -279,11 +279,11 @@ registry.cn-beijing.aliyuncs.com/kubesphereio/haproxy:2.3
|
|||
registry.cn-beijing.aliyuncs.com/kubesphereio/nfs-subdir-external-provisioner:v4.0.2
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/k8s-dns-node-cache:1.15.12
|
||||
##kubesphere-images
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/ks-installer:v3.3.1
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/ks-apiserver:v3.3.1
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/ks-console:v3.3.1
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/ks-controller-manager:v3.3.1
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/ks-upgrade:v3.3.1
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/ks-installer:v3.3.2
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/ks-apiserver:v3.3.2
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/ks-console:v3.3.2
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/ks-controller-manager:v3.3.2
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/ks-upgrade:v3.3.2
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/kubectl:v1.22.0
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/kubectl:v1.21.0
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/kubectl:v1.20.0
|
||||
|
|
@ -307,11 +307,11 @@ registry.cn-beijing.aliyuncs.com/kubesphereio/edgeservice:v0.2.0
|
|||
##gatekeeper-images
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/gatekeeper:v3.5.2
|
||||
##openpitrix-images
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/openpitrix-jobs:v3.3.1
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/openpitrix-jobs:v3.3.2
|
||||
##kubesphere-devops-images
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/devops-apiserver:v3.3.1
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/devops-controller:v3.3.1
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/devops-tools:v3.3.1
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/devops-apiserver:v3.3.2
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/devops-controller:v3.3.2
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/devops-tools:v3.3.2
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/ks-jenkins:v3.3.0-2.319.1
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/inbound-agent:4.10-2
|
||||
registry.cn-beijing.aliyuncs.com/kubesphereio/builder-base:v3.2.2
|
||||
|
|
|
|||
|
|
@ -92,12 +92,12 @@ chmod +x kk
|
|||
创建包含默认配置的示例配置文件。这里使用 Kubernetes v1.22.12 作为示例。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.3.1 --with-kubernetes v1.22.12
|
||||
./kk create config --with-kubesphere v3.3.2 --with-kubernetes v1.22.12
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
|
||||
|
|
|
|||
|
|
@ -77,12 +77,12 @@ chmod +x kk
|
|||
创建包含默认配置的示例配置文件。这里使用 Kubernetes v1.22.12 作为示例。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.3.1 --with-kubernetes v1.22.12
|
||||
./kk create config --with-kubesphere v3.3.2 --with-kubernetes v1.22.12
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
|
||||
|
|
|
|||
|
|
@ -311,12 +311,12 @@ chmod +x kk
|
|||
使用默认配置创建一个示例配置文件。此处以 Kubernetes v1.22.12 作为示例。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.3.1 --with-kubernetes v1.22.12
|
||||
./kk create config --with-kubesphere v3.3.2 --with-kubernetes v1.22.12
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您没有在本步骤的命令中添加标志 `--with-kubesphere`,那么除非您使用配置文件中的 `addons` 字段进行安装,或者稍后使用 `./kk create cluster` 时再添加该标志,否则 KubeSphere 将不会被部署。
|
||||
- 如果您添加标志 `--with-kubesphere` 时未指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
|
|
|||
|
|
@ -127,11 +127,11 @@ KubeKey v2.1.0 版本新增了清单(manifest)和制品(artifact)的概
|
|||
- registry.cn-beijing.aliyuncs.com/kubesphereio/haproxy:2.3
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/nfs-subdir-external-provisioner:v4.0.2
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/k8s-dns-node-cache:1.15.12
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/ks-installer:v3.3.1
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/ks-apiserver:v3.3.1
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/ks-console:v3.3.1
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/ks-controller-manager:v3.3.1
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/ks-upgrade:v3.3.1
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/ks-installer:v3.3.2
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/ks-apiserver:v3.3.2
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/ks-console:v3.3.2
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/ks-controller-manager:v3.3.2
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/ks-upgrade:v3.3.2
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/kubectl:v1.22.0
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/kubectl:v1.21.0
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/kubectl:v1.20.0
|
||||
|
|
@ -152,10 +152,10 @@ KubeKey v2.1.0 版本新增了清单(manifest)和制品(artifact)的概
|
|||
- registry.cn-beijing.aliyuncs.com/kubesphereio/iptables-manager:v1.9.2
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/edgeservice:v0.2.0
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/gatekeeper:v3.5.2
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/openpitrix-jobs:v3.3.1
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/devops-apiserver:v3.3.1
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/devops-controller:v3.3.1
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/devops-tools:v3.3.1
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/openpitrix-jobs:v3.3.2
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/devops-apiserver:v3.3.2
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/devops-controller:v3.3.2
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/devops-tools:v3.3.2
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/ks-jenkins:v3.3.0-2.319.1
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/inbound-agent:4.10-2
|
||||
- registry.cn-beijing.aliyuncs.com/kubesphereio/builder-base:v3.2.2
|
||||
|
|
@ -312,7 +312,7 @@ KubeKey v2.1.0 版本新增了清单(manifest)和制品(artifact)的概
|
|||
2. 执行以下命令创建离线集群配置文件:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.3.1 --with-kubernetes v1.22.12 -f config-sample.yaml
|
||||
./kk create config --with-kubesphere v3.3.2 --with-kubernetes v1.22.12 -f config-sample.yaml
|
||||
```
|
||||
|
||||
3. 执行以下命令修改配置文件:
|
||||
|
|
|
|||
|
|
@ -80,11 +80,11 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v3.0.2 sh -
|
|||
|
||||
| KubeSphere 版本 | 受支持的 Kubernetes 版本 |
|
||||
| ------------------ | ------------------------------------------------------------ |
|
||||
| v3.3 | v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x |
|
||||
| v3.3 | v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x |
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 您也可以运行 `./kk version --show-supported-k8s`,查看能使用 KubeKey 安装的所有受支持的 Kubernetes 版本。
|
||||
- 能使用 KubeKey 安装的 Kubernetes 版本与 KubeSphere 3.3 支持的 Kubernetes 版本不同。如需[在现有 Kubernetes 集群上安装 KubeSphere 3.3](../../../installing-on-kubernetes/introduction/overview/),您的 Kubernetes 版本必须为 v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。
|
||||
- 带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如果您需要使用 KubeEdge,为了避免兼容性问题,建议安装 v1.21.x 及以下版本的 Kubernetes。
|
||||
- 能使用 KubeKey 安装的 Kubernetes 版本与 KubeSphere 3.3 支持的 Kubernetes 版本不同。如需[在现有 Kubernetes 集群上安装 KubeSphere 3.3](../../../installing-on-kubernetes/introduction/overview/),您的 Kubernetes 版本必须为 v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。
|
||||
- 带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如果您需要使用 KubeEdge,为了避免兼容性问题,建议安装 v1.21.x 版本的 Kubernetes。
|
||||
{{</ notice >}}
|
||||
|
|
@ -156,7 +156,7 @@ chmod +x kk
|
|||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在此步骤的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
|
||||
|
|
@ -172,7 +172,7 @@ chmod +x kk
|
|||
./kk create config [-f ~/myfolder/abc.yaml]
|
||||
```
|
||||
|
||||
- 您可以指定要安装的 KubeSphere 版本(例如 `--with-kubesphere v3.3.1`)。
|
||||
- 您可以指定要安装的 KubeSphere 版本(例如 `--with-kubesphere v3.3.2`)。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere [version]
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ chmod +x kk
|
|||
1. 执行以下命令为集群创建一个配置文件:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.21.4-k3s --with-kubesphere v3.3.1
|
||||
./kk create config --with-kubernetes v1.21.4-k3s --with-kubesphere v3.3.2
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
|
|
|||
|
|
@ -245,15 +245,15 @@ chmod +x kk
|
|||
|
||||
您可用使用 KubeKey 同时安装 Kubernetes 和 KubeSphere,通过自定义配置文件中的参数创建多节点集群。
|
||||
|
||||
创建安装有 KubeSphere 的 Kubernetes 集群(例如使用 `--with-kubesphere v3.3.1`):
|
||||
创建安装有 KubeSphere 的 Kubernetes 集群(例如使用 `--with-kubesphere v3.3.2`):
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.1
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.2
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装 KubeSphere,或者在您后续使用 `./kk create cluster` 命令时再次添加该标志。
|
||||
- 如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
|
|
|||
|
|
@ -338,12 +338,12 @@ chmod +x kk
|
|||
创建配置文件(一个示例配置文件)。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.1
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.2
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
|
||||
|
|
|
|||
|
|
@ -165,12 +165,12 @@ chmod +x kk
|
|||
1. 指定想要安装的 Kubernetes 版本和 KubeSphere 版本,例如:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.1
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.2
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在此步骤的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
- 如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
|
|
|||
|
|
@ -117,12 +117,12 @@ chmod +x kk
|
|||
1. 指定您想要安装的 Kubernetes 版本和 KubeSphere 版本,例如:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.1
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.2
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在此步骤的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
- 如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
|
|
|||
|
|
@ -119,12 +119,12 @@ chmod +x kk
|
|||
1. 指定您想要安装的 Kubernetes 版本和 KubeSphere 版本,例如:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.1
|
||||
./kk create config --with-kubernetes v1.22.12 --with-kubesphere v3.3.2
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在此步骤的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
- 如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
|
|
|||
|
|
@ -141,7 +141,7 @@ chmod +x kk
|
|||
在当前位置创建配置文件 `config-sample.yaml`:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.3.1 --with-kubernetes v1.22.12 -f config-sample.yaml
|
||||
./kk create config --with-kubesphere v3.3.2 --with-kubernetes v1.22.12 -f config-sample.yaml
|
||||
```
|
||||
|
||||
> 提示:默认是 Kubernetes 1.17.9,这些 Kubernetes 版本也与 KubeSphere 同时进行过充分的测试: v1.15.12, v1.16.13, v1.17.9 (default), v1.18.6,您可以根据需要指定版本。
|
||||
|
|
|
|||
|
|
@ -148,12 +148,12 @@ curl -sfL https://get-kk.kubesphere.io | VERSION=v3.0.2 sh -
|
|||
2. 使用默认配置创建示例配置文件,这里以 Kubernetes v1.22.12 为例。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.3.1 --with-kubernetes v1.22.12
|
||||
./kk create config --with-kubesphere v3.3.2 --with-kubernetes v1.22.12
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- KubeSphere 3.3 对应 Kubernetes 版本推荐:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。如果未指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关支持的 Kubernetes 版本请参阅[支持矩阵](../../../installing-on-linux/introduction/kubekey/#support-matrix)。
|
||||
- KubeSphere 3.3 对应 Kubernetes 版本推荐:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x。如果未指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关支持的 Kubernetes 版本请参阅[支持矩阵](../../../installing-on-linux/introduction/kubekey/#support-matrix)。
|
||||
- 如果在此步骤中的命令中未添加标志 `--with-kubesphere`,则不会部署 KubeSphere,除非您使用配置文件中的 `addons` 字段进行安装,或稍后使用 `./kk create cluster` 时再次添加此标志。
|
||||
|
||||
- 如果在未指定 KubeSphere 版本的情况下添加标志 --with kubesphere`,将安装 KubeSphere 的最新版本。
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ chmod +x kk
|
|||
在当前位置创建配置文件 `master-HA.yaml`:
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.3.1 --with-kubernetes v1.22.12 -f master-HA.yaml
|
||||
./kk create config --with-kubesphere v3.3.2 --with-kubernetes v1.22.12 -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.3.1
|
||||
version: v3.3.2
|
||||
spec:
|
||||
local_registry: ""
|
||||
persistence:
|
||||
|
|
@ -280,7 +280,7 @@ spec:
|
|||
|
||||
```bash
|
||||
# 指定配置文件创建集群
|
||||
./kk create cluster --with-kubesphere v3.3.1 -f master-HA.yaml
|
||||
./kk create cluster --with-kubesphere v3.3.2 -f master-HA.yaml
|
||||
|
||||
# 查看 KubeSphere 安装日志 -- 直到出现控制台的访问地址和登录帐户
|
||||
kubectl logs -n kubesphere-system $(kubectl get pod -n kubesphere-system -l 'app in (ks-install, ks-installer)' -o jsonpath='{.items[0].metadata.name}') -f
|
||||
|
|
|
|||
|
|
@ -170,12 +170,12 @@ chmod +x kk
|
|||
创建包含默认配置的示例配置文件。以下以 Kubernetes v1.22.12 为例。
|
||||
|
||||
```bash
|
||||
./kk create config --with-kubesphere v3.3.1 --with-kubernetes v1.22.12
|
||||
./kk create config --with-kubesphere v3.3.2 --with-kubernetes v1.22.12
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,只能使用配置文件中的 `addons` 字段安装,或者在您后续使用 `./kk create cluster` 命令时再次添加这个标志。
|
||||
|
||||
|
|
|
|||
|
|
@ -10,4 +10,4 @@ weight: 1400
|
|||
|
||||
关于 3.3 新特性的详细解读,可参考博客 [KubeSphere 3.3.0 发布:全面拥抱 GitOps](/../../news/kubesphere-3.3.0-ga-announcement/)。
|
||||
|
||||
关于 3.3 的新功能及增强、Bug 修复、重要的技术调整,以及废弃或移除的功能,请参见 [3.3.0 版本说明](../../../v3.3/release/release-v330/)和 [3.3.1 版本说明](../../../v3.3/release/release-v331/)。
|
||||
关于 3.3 的新功能及增强、Bug 修复、重要的技术调整,以及废弃或移除的功能,请参见 [3.3.0 版本说明](../../../v3.3/release/release-v330/),[3.3.1 版本说明](../../../v3.3/release/release-v331/)和[3.3.2 版本说明](../../../v3.3/release/release-v332/)。
|
||||
|
|
@ -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.3.1/cluster-configuration.yaml) 文件中启用告警系统。
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) 文件中启用告警系统。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件并进行编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -44,9 +44,9 @@ weight: 6200
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件中启用应用商店。
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) 文件中启用应用商店。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件,执行以下命令打开并编辑该文件。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) 文件,执行以下命令打开并编辑该文件。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -63,7 +63,7 @@ weight: 6200
|
|||
3. 执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -57,9 +57,9 @@ KubeSphere 审计日志系统提供了一套与安全相关并按时间顺序排
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件中启用审计功能。
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) 文件中启用审计功能。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件,执行以下命令打开并编辑该文件:
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -43,9 +43,9 @@ DevOps 系统为用户提供了一个自动化的环境,应用可以自动发
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件中启用 DevOps。
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) 文件中启用 DevOps。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件,执行以下命令打开并编辑该文件:
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -59,9 +59,9 @@ KubeSphere 事件系统使用户能够跟踪集群内部发生的事件,例如
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件中启用事件系统。
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) 文件中启用事件系统。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -62,9 +62,9 @@ KubeEdge 的组件在两个单独的位置运行——云上和边缘节点上
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件中启用 KubeEdge。
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) 文件中启用 KubeEdge。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件并进行编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) 文件并进行编辑。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -96,7 +96,7 @@ KubeEdge 的组件在两个单独的位置运行——云上和边缘节点上
|
|||
4. 执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -65,9 +65,9 @@ KubeSphere 为日志收集、查询和管理提供了一个强大的、全面的
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件中启用日志系统。
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) 文件中启用日志系统。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -103,7 +103,7 @@ KubeSphere 为日志收集、查询和管理提供了一个强大的、全面的
|
|||
3. 执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件中先启用 Metrics Server组件。
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) 文件中先启用 Metrics Server组件。
|
||||
|
||||
1. 下载文件 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml),并打开文件进行编辑。
|
||||
1. 下载文件 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -49,9 +49,9 @@ weight: 6900
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件中启用网络策略。
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) 文件中启用网络策略。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件,然后打开并开始编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/cluster-configuration.yaml) 文件中启用容器组 IP 池。
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要现在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) 文件中启用容器组 IP 池。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件并进行编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -53,9 +53,9 @@ KubeSphere 服务网格基于 [Istio](https://istio.io/),将微服务治理和
|
|||
|
||||
### 在 Kubernetes 上安装
|
||||
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件中启用服务网格。
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) 文件中启用服务网格。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件,执行以下命令打开并编辑该文件:
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) 文件,执行以下命令打开并编辑该文件:
|
||||
|
||||
```bash
|
||||
vi cluster-configuration.yaml
|
||||
|
|
@ -78,7 +78,7 @@ KubeSphere 服务网格基于 [Istio](https://istio.io/),将微服务治理和
|
|||
3. 执行以下命令开始安装:
|
||||
|
||||
```bash
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/cluster-configuration.yaml) 文件中启用服务拓扑图。
|
||||
当您[在 Kubernetes 上安装 KubeSphere](../../installing-on-kubernetes/introduction/overview/) 时,需要先在[cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/cluster-configuration.yaml) 文件中启用服务拓扑图。
|
||||
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.1/cluster-configuration.yaml) 文件并进行编辑。
|
||||
1. 下载 [cluster-configuration.yaml](https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/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.3.1/kubesphere-installer.yaml
|
||||
kubectl apply -f https://github.com/kubesphere/ks-installer/releases/download/v3.3.2/kubesphere-installer.yaml
|
||||
|
||||
kubectl apply -f cluster-configuration.yaml
|
||||
```
|
||||
|
|
|
|||
|
|
@ -197,12 +197,12 @@ chmod +x kk
|
|||
若要同时安装 Kubernetes 和 KubeSphere,可参考以下示例命令:
|
||||
|
||||
```bash
|
||||
./kk create cluster --with-kubernetes v1.22.12 --with-kubesphere v3.3.1
|
||||
./kk create cluster --with-kubernetes v1.22.12 --with-kubesphere v3.3.2
|
||||
```
|
||||
|
||||
{{< notice note >}}
|
||||
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.19.x、v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x 及之前的版本。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
- 安装 KubeSphere 3.3 的建议 Kubernetes 版本:v1.20.x、v1.21.x、* v1.22.x、* v1.23.x 和 * v1.24.x。带星号的版本可能出现边缘节点部分功能不可用的情况。因此,如需使用边缘节点,推荐安装 v1.21.x。如果不指定 Kubernetes 版本,KubeKey 将默认安装 Kubernetes v1.23.10。有关受支持的 Kubernetes 版本的更多信息,请参见[支持矩阵](../../installing-on-linux/introduction/kubekey/#支持矩阵)。
|
||||
|
||||
- 一般来说,对于 All-in-One 安装,您无需更改任何配置。
|
||||
- 如果您在这一步的命令中不添加标志 `--with-kubesphere`,则不会部署 KubeSphere,KubeKey 将只安装 Kubernetes。如果您添加标志 `--with-kubesphere` 时不指定 KubeSphere 版本,则会安装最新版本的 KubeSphere。
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue