Welcome to the v2.0.0 release of KubeKey!
If you want to know more about KubeKey v2.0.0, please see:
Highlights
- More flexible task scheduling framework.
- Functions are separated from the task scheduling framework.
- Hook mechanism.
- Based on the module pattern.
- More clearly log print.
- Easier air-gapped installation.
๐ Features
- Feat: support custom private registry authorization (#921) @tanguofu
- Feat: support custom construction of offline installation package (#901) @24sama
- Feat: disable SELINUX in init the OS (#914) @tanguofu
- Feat: add enable featureGates in Kubernetes of cluster-config (#902) @tanguofu
- Feat: support Kubernetes 1.23 (#887) @chaunceyjiang
- Feat: multus support (#880) @chaunceyjiang
- Feat: support [--yes] parameter when upgrade cluster (#850) @chaunceyjiang
- Feat: show the download progress (#841) @chaunceyjiang
- Feat: support KubeSphere v3.2.1 (#805) @24sama
- Feat: add 'PipelineInfo' field for cluster status (#806) @pixiake
- Feat: change field skip-install-packages to with-packages (#1034) @24sama
- Feat: add a rollback feature to support restoring something when a task failed (#1030) @24sama
- Feat: support Kata and Node Feature Discovery (#1010) @pixiake
- Feat: support the ArtifactModule for authorized pull images (#1021) @24sama
- Feat: the roleGroups field supports to be customized (#1018) @24sama
- Feat: modify workdir directory tree (#1005, #999) @24sama
- Feat: support custom dnsDomain for the cluster (#1003) @pixiake
- Feat: add pod PID limit and PID available (#992) @vincenthe11
- Feat: artifact supports to archive multi k8s version (#991) @24sama
- Feat: artifact supports pulling images with skipping SSL certificate validation (#967) @24sama
- Feat: support set NTP server and timezone when kk deploy k8s (#952) @tanguofu
- Feat: artifact supports to contain registry binaries (#966) @24sama
- Feat: creating container images registry is supported (#955) @pixiake
- Feat: add an md5 check function in UnArchiveModule (#963) @24sama
- Feat: support kubekey to independently generate certificates (#944) @pixiake
- Feat: modify ImagePushModule to use the containerd SDK (#942) @24sama
- Feat: modify manifest's containerRuntime to a list (#941) @24sama
- Feat: add a GitHub PR template (#1049) @24sama
- Feat: add namespaceOverride support for privateRegistry (#1050) @life-
- Feat: update README and LOGO (#1037) @pixiake
- Feat: support k3s artifact (#1065) @24sama
- Feat: add images push command (#1094) @24sama
๐ Bug Fixes
- Fix: CSIStorageCapacity cause the cluster to fail to start normally (#1074) @pixiake
- Fix: Add the support of NamespaceOverride for KubeSphereโs images (#1068) @pixiake
- Fix: LocalApiEndpoint's bindPort uses controlPlane's port (#1062) @pixiake
- Fix: a bug that "--with-local-storage" flag didn't work (#1048) @24sama
- Fix: no matches for kind "ClusterConfiguration" (#960) @tanguofu
- Fix: upgrade check ks version error (#957) @24sama
- Fix: fix --debug not print the DEBUG LEVEL LOG (#953) @tanguofu
- Fix: use raw string for regexp to avoid escape twice. (#898) @haiker2011
- Fix: remove AddonsModule must need a network plugin enabled (#896) @tanguofu
- Fix: SaveKubeConfig module use InternalAddress that can't be connected when kk is not running in k8s node internal network. @tanguofu
- Fix: kubeovn yaml lint bug (#872) @24sama
- Fix: kk recreate cluster with error (#870) @tanguofu
- Fix(cilium&flannel): remove OldK8sVersion of prepare in deployFlannel and deployCilium (#866) @tanguofu
- Fix: sed is not working in init script (#836) @yj-cloud
- Fix: cp file text busy error (#834) @24sama
- Fix: pipeline name and add some error handle. (#820) @haiker2011
- Fix: refactoring some unclear code. (#814) @haiker2011
- Fix: some typo. (#813) @haiker2011
- Fix: a bug that private registry can't be set when os env KKZONE is cn (#801) @24sama
๐ Documentation updates
- Doc: add features list for KubeKey (#1067) @pixiake
- Doc: add a zh doc introducing the new features of kubekey (#1053) @24sama
- Doc: Update kk upgrade parameters (#909) @lvillis
๐ป Maintenance
- github.com/containerd/containerd v1.5.9 new
- github.com/deckarep/golang-set v1.8.0 new
- github.com/go-logr/logr v0.1.0 -> v1.2.2
- github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible new
- github.com/mitchellh/mapstructure v1.1.2 -> v1.4.3
- github.com/pkg/sftp v1.12.0 -> v1.13.4
- github.com/rifflock/lfshook v0.0.0-20180920164130-b9218ef580f5 new
- github.com/sirupsen/logrus v1.7.0 -> v1.8.1
- github.com/spf13/cobra v1.1.1 -> v1.3.0
- github.com/spf13/viper v1.7.1 -> v1.10.1
- golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83 -> v0.0.0-20210817164053-32db794688a5
- helm.sh/helm/v3 v3.3.0 -> v3.7.2
- k8s.io/api v0.18.8 -> v0.23.3
- k8s.io/apimachinery v0.18.8 -> v0.23.3
- k8s.io/cli-runtime v0.18.8 -> v0.23.3
- k8s.io/client-go v0.18.8 -> v0.23.3
- k8s.io/code-generator v0.18.8 -> v0.23.3
- k8s.io/kubectl v0.18.8 -> v0.23.3
- k8s.io/utils v0.0.0-20211116205334-6203023598ed new
- sigs.k8s.io/controller-runtime v0.6.2 -> v0.11.1