KubeKey 2.0.0 released: making offline K8s deployment more convenient

On March 8, 2022, KubeKey 2.0.0 was officially released, which is the 7th official version of KubeKey and a very important version. This version adds the concepts of manifest and artifact, providing a solution for users to deploy Kubernetes clusters offline.

Introduction to KubeKey

file

KubeKey is an efficient cluster deployment tool open sourced by the KubeSphere community. The runtime uses Docker by default, and can also be connected to CRI runtimes Containerd CRI-O iSulasuch as , and the ETCD cluster runs independently. It supports separate deployment from K8s and improves the flexibility of environment deployment. It provides a flexible, fast, and convenient way to install only Kubernetes/K3s, or both Kubernetes/K3s and KubeSphere, as well as other cloud-native plugins. In addition to this, it is also an effective tool for scaling and upgrading clusters.

Interpretation of the major update of KubeKey 2.0.0

A new task orchestration framework

file

Based on the modular design idea, KubeKey v2.0.0 implements a general and standardized task orchestration framework. It defines host, pipeline, module, taskand actionother objects to implement a modular task scheduling engine. Based on this framework, users can easily develop custom task pipeline executors and extend KubeKey's original task pipeline according to specific needs and business logic.

For related documents, please refer to: Developer Guide .

More convenient offline deployment process

KubeKey v2.0.0 provides a new solution for custom offline deployment of Kubernetes clusters, for manifestwhich artifactthe concepts of manifest and artifacts are added:

  • manifest: Custom configuration file for offline deployment installation package.
  • artifact: Deploy custom installation packages offline.

In the past, users needed to prepare deployment tools, image tarballs, and other related binaries. The Kubernetes version that each user needs to deploy and the images involved may be different. Now with KubeKey, users only need to use the manifest manifestfile to define the content required by the cluster environment to be deployed offline, and then manifestexport the product artifactfile complete the preparation. Offline deployment only requires KubeKey binaries artifactand to quickly and easily deploy image repositories, Kubernetes and KubeSphere in the environment.

For offline deployment related documents, please refer to:

One-click deployment of private image repositories

KubeKey v2.0.0 can deploy docker regisgry or harbor with self-signed certificate, and the certificate will be automatically distributed to all nodes in the cluster during the deployment process. And this function also supports offline deployment, which can be combined with offline deployment of Kubernetes cluster to achieve lightning delivery.

For related documents, please refer to: Container Image Repository .

Add deployment configuration item

  1. ISSUE #789 : Support Multus CNI.
  2. ISSUE # 811 : Support Kata sum Node Feature Discovery.
  3. PR #902 : Enable FeatureGates by default when creating a cluster.
  4. ISSUE #913 : SELINUX is turned off by default when creating a cluster.
  5. ISSUE #915 : Support authorized login for private image repositories.
  6. ISSUE #940 : Support for configuring namespaceOverride when pulling and pushing images.
  7. ISSUE #950 : Support custom dnsDomain.
  8. ISSUE #951 : Support setting NTPServer and timezone.
  9. PR #992 : Add PID Limit and PID Available to configure pods when creating a cluster.

More updates can be found in the GitHub Release .

Installation method

The quickest way to get the latest official version of KubeKey is via a command line script:

curl -sfL https://get-kk.kubesphere.io | sh -

Alternatively, head over to the GitHub Release page and download the binaries for KubeKey 2.0.0.

Thanks to contributors

The following are the GitHub IDs of the contributors who contributed to KubeKey 2.0.0 code and documentation. If there are any omissions in this list, please contact us. The rankings are in no particular order.

  • 24sama
  • chaunceyjiang
  • hiker2011
  • life-
  • lvillis
  • pixiake
  • tanguofu
  • vincenthe11
  • yj-cloud

Thanks to the above contributors for their contributions in the development of KubeKey 2.0.0. KubeKey is a very young open source project and a potential open source project. More community partners are welcome to join the ranks of contributors.

KubeKey GitHub 地址https://github.com/kubesphere/kubekey/

KubeKey related content reference

This article is published by OpenWrite , a multi-post blog platform !

{{o.name}}
{{m.name}}

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324129613&siteId=291194637