Location>code7788 >text

KubeSphere v4 Explained: Top 12 Hot Issues You Care About

Popularity:33 ℃/2024-10-18 10:37:13

In order to help you use KubeSphere v4 more smoothly, we have carefully summarized twelve hot questions that developers frequently pay attention to, which comprehensively cover key aspects such as functionality, performance, compatibility considerations, security, and upgrade process. Next, we will answer them one by one for you.

KubeSphere v4 covers KubeSphere 4.1.1 and KubeSphere 4.1.2.

1. How to install KubeSphere if your environment cannot connect to DockerHub

Starting with KubeSphere 4.1.1, the images involved are also stored in the Huawei Cloud image repository. If you have limited access to the Docker Hub, you can set the ks-core and Extensions image repositories to the Huawei Cloud image repository address by specifying the following two parameters during installation.

# Set ks-core mirrors to use Huawei Cloud mirror repository
--set =/ks
# Set the extensions mirror to use the Huawei Cloud mirror repository
--set =/ks

Example command:

helm upgrade --install -n kubesphere-system --create-namespace ks-core /main/ks-core-1.1. --set =/ks --set =/ks --debug --wait`

Refer to the documentation:
/zh/docs/v4.1/02-quickstart/01-install-kubesphere/。

2. How do I smoothly upgrade from the previous KubeSphere 4.1.1 version to 4.1.2?

To upgrade from KubeSphere 4.1.1 to KubeSphere 4.1.2, the following commands can be used for upgrade and installation deployment:

helm upgrade --install -n kubesphere-system --create-namespace ks-core /main/ks-core-1.1. --debug --wait

Direct upgrades from KubeSphere v3 to KubeSphere v4 versions are not supported yet.

Please refer to the article:KubeSphere v4 Installation Guide

3. What are the Kubernetes version requirements for KubeSphere v4?

KubeSphere v4 fully supports K8s cluster version 1.19 and above. Extended components will have different requirements for K8s version.

4. What security enhancements have been made to KubeSphere v4?

  • New component: Gatekeeper is introduced to provide cluster security access policy management.
  • TLS support: Internal and External TLS support has been added.
  • Enterprise Edition Features: 2FA, Mirror Hardening, Cluster Security Hardening, etc.

5. Has KubeSphere v4 support for storage and network plug-ins changed?

The network and storage extensions provided in the KubeSphere v4 release have not changed significantly from previous releases, and extensions such as Snapshot-controller, Storageclass-accessor, Pvc-auto-resizer, Networkpolicy, and so on, still work very well in the KubeSphere v4.

KubeSphere is built on top of K8s. In addition to the network and storage extensions provided by KubeSphere, CSI/CNI plug-ins from the K8s ecosystem are also compatible.

6. What improvements or additions have been made to multi-cluster management in the new release?

  • Simplifies the cluster management process by adding Kubecofig for one-click cluster management.
  • Streamlines the components that Member clusters rely on, deploying them on-demand and reducing cluster resource usage.
  • Remove the dependency on Kubefed and manage Member clusters in a simpler architectural way.

7. Does KubeSphere v4 provide greater observability (monitoring, logging, tracing)?

KubeSphere v4 upgraded the logging technology stack to use vector instead of fluentbit, providing more powerful log collection and transformation capabilities with less resource consumption.

8. What changes have been made to the user experience and interface design of KubeSphere v4?

KubeSphere v4 follows the design style of previous releases, with some extensions split from the original feature pages.

9. What are the enhancements to DevOps and CI/CD support in KubeSphere v4?

KubeSphere v4 has significantly improved support for DevOps and CI/CD. First, the DevOps module is independent from KubeSphere v4, reducing the coupling with ks-core and enabling DevOps to release versions separately and iterate more quickly. Second, by adopting the OpenID Connect protocol, it realizes seamless connection with the ks-core account system and simplifies the account management process.

In addition, KubeSphere v4 also resolves a number of issues encountered in previous versions, further improving system stability and user experience. Looking ahead, the DevOps version will bring more functional enhancements and optimizations to provide users with a more comprehensive and efficient DevOps solution.

10. how to import and use the open source and third-party developed extensions

The specific steps are as follows:

① Installation.

Refer to the documentation:/zh/docs/v4.1/02-quickstart/01-install-kubesphere/

② Update the extension source.

kubectl rollout restart deployment/extensions-museum -n kubesphere-system

③ Manual push extension for offline environments.

# Download the latestksbuilderartifact
wget /kubesphere/ksbuilder/releases/download/v0.4.0-alpha.1/ksbuilder_0.4.0-alpha.1_darwin_all.
# manual push
ksbuilder publish metrics-server

11. After upgrading, how should I seek help if I encounter problems or need technical support?

If you encounter problems during the upgrade or use of theGitHub orChinese Forum Ask for help, the KubeSphere community has many active users and developers, and our internal team does its best to provide support. When asking a question, please describe in detail the problem you are experiencing in order to get more effective help.

Note that support for the open source version relies heavily on community efforts, and while we will do our best to assist in resolving issues, we do not offer a guarantee of results. If you need more timely and professional support, you can choose to use theEnterprise Edition of KubeSphere. The Enterprise Edition provides stable support from a dedicated team of professionals to ensure that you get quick and effective solutions when you encounter problems.

12. There are still some features of KubeSphere that are not yet available, are there any plans to make them available in the future?

KubeSphere will provide rich, high-quality, easy-to-use product capabilities through KubeSphere extensions in subsequent release updates, covering a wide range of areas such as observability, edge, and more.


After delving into the twelve hot issues of KubeSphere v4, we can clearly see that this version has made significant progress in several key aspects, including functional features, performance optimization, compatibility considerations, security, and upgrade process. KubeSphere v4 provides detailed solutions for both users who want to get out of the DockerHub dilemma and those who plan to smoothly upgrade from older versions.

KubeSphere v4 provides developers with a more efficient development experience with optimizations in multi-cluster management, observability, DevOps and CI/CD. Looking ahead, the KubeSphere team will continue to uphold the spirit of openness and innovation, and continue to introduce more high-quality, easy-to-use products, contributing to the development and adoption of cloud-native technologies.

KubeSphere v4 Call for Papers: We invite you to experience and share your best practices! Those whose submissions are accepted will receive community gifts such as T-shirts and canvas bags, and outstanding authors will have a chance to win CKA coupons. For submissions, please contact our assistant, KK, by searching for "kubesphere" on WeChat.