Releases: openkruise/kruise
v1.1.0
To install or upgrade to the old version, see installation doc.
Changes since v1.0.1
Project
- Bump Kubernetes dependencies to 1.22 and controller-runtime to v0.10.2. (#915, @FillZpp)
- Disable DeepCopy for some specific cache list. (#916, @FillZpp)
InPlace Update
- Support in-place update containers with launch priority, for workloads that supported in-place update, e.g., CloneSet, Advanced StatefulSet. (#909, @FillZpp)
CloneSet
- Add
pod-template-hash
label into Pods, which will always be the short hash. (#931, @FillZpp) - Support pre-download image after a number of updated pods has been ready. (#904, @shiyan2016)
- Make maxUnavailable also limited to pods in new revision. (#899, @FillZpp)
SidecarSet
- Support shared volumes in init containers. (#929, @outgnaY)
- Support transferEnv in init containers. (#897, @pigletfly)
- Optimize the injection for pod webhook that checks container exists. (#927, @zmberg)
- Fix validateSidecarConflict to avoid a same sidecar container exists in multiple sidecarsets. (#884, @pigletfly)
Advanced DaemonSet
- Refactor daemonset controller and fetch upstream codebase. (#883, @FillZpp)
- Support preDelete lifecycle for both scale down and recreate update. (#923, @FillZpp)
- Fix node event handler that should compare update selector matching changed. (#920, @LastNight1997)
- Optimize
dedupCurHistories
func in ReconcileDaemonSet. (#912, @LastNight1997)
Advanced StatefulSet
Kruise-daemon
- Support CRI-O and any other common CRI types. (#930, @diannaowa) & (#936, @FillZpp)
Other
Thanks to all our contributors! 😊
v1.0.1
To install or upgrade to the old version, see installation doc.
Changes since v1.0.0
SidecarSet
- Fix panic when SidecarSet manages Pods with sidecar containers that have different update type. (#850, @veophi)
- Fix log error when extract container from fieldpath failed. (#860, @pigletfly)
- Optimization logic of determining whether the pod state is consistent logic. (#854, @dafu-wu)
- Replace reflect with generation in event handler. (#885, @zouyee)
- Store history revisions for sidecarset. (#715, @veophi)
Advanced StatefulSet
- Allow updating asts RevisionHistoryLimit. (#864, @shiyan2016)
- StatefulSet considers non-available pods when deleting pods. (#880, @hzyfox)
ResourceDistribution
CloneSet
- Break the loop when it finds the current revision. (#887, @shiyan2016)
- Remove duplicate register fieldindexes in cloneset controller. (#888 & #889, @shiyan2016)
- CloneSet refresh pod states before skipping update when paused (Behavior Change). (#893, @FillZpp)
PullImageJob
Thanks to all our contributors! 😊
v0.10.2
To install or upgrade to the old version, see installation doc.
Changes since v0.10.1
SidecarSet
- Add SourceContainerNameFrom and EnvNames in sidecarset transferenv.
Advanced StatefulSet
- Fix update expectation to be increased when a pod updated.
WorkloadSpread
- Fix bug: read conditions from nil old subset status.
Other
- Do not set timeout for webhook ready.
Thanks to all our contributors! 😊
v1.0.0
To install or upgrade to the stable version, see installation doc.
Changes since v0.10.1
Project
- Bump CustomResourceDefinition(CRD) from v1beta1 to v1
- Bump ValidatingWebhookConfiguration/MutatingWebhookConfiguration from v1beta1 to v1
- Bump dependencies: k8s v1.18 -> v1.20, controller-runtime v0.6.5 -> v0.8.3
- Generate CRDs with original controller-tools and markers
So that Kruise can install into Kubernetes 1.22 and no longer support Kubernetes < 1.16.
New feature: in-place update with env from metadata
When update spec.template.metadata.labels/annotations
in CloneSet or Advanced StatefulSet and there exists container env from the changed labels/annotations,
Kruise will in-place update them to renew the env value in containers.
New feature: ContainerLaunchPriority
Container Launch Priority provides a way to help users control the sequence of containers start in a Pod.
It works for Pod, no matter what kind of owner it belongs to, which means Deployment, CloneSet or any other Workloads are all supported.
New feature: ResourceDistribution
For the scenario, where the namespace-scoped resources such as Secret and ConfigMap need to be distributed or synchronized to different namespaces,
the native k8s currently only supports manual distribution and synchronization by users one-by-one, which is very inconvenient.
Therefore, in the face of these scenarios that require the resource distribution and continuously synchronization across namespaces, we provide a tool, namely ResourceDistribution, to do this automatically.
Currently, ResourceDistribution supports the two kind resources --- Secret & ConfigMap.
CloneSet
- Add
maxUnavailable
field inscaleStrategy
to support rate limiting of scaling up. - Mark revision stable as
currentRevision
when all pods updated to it, won't wait all pods to be ready (Behavior Change).
WorkloadSpread
- Manage the pods that were created before WorkloadSpread.
- Optimize webhook update and retry during injection.
PodUnavailableBudget
- Add pod no pub-protection annotation.
- PUB controller watch workload replicas changed.
Advanced DaemonSet
- Support in-place update daemon pod.
- Support progressive annotation to control if pods creation should be limited by partition.
SidecarSet
- Fix SidecarSet filter active pods.
UnitedDeployment
- Fix pod NodeSelectorTerms length 0 when UnitedDeployment NodeSelectorTerms is nil.
NodeImage
- Add
--nodeimage-creation-delay
flag to delay NodeImage creation after Node ready.
Other
- Kruise-daemon watch pods using protobuf.
- Export resync seconds args.
- Fix http checker reload ca.cert.
- Fix E2E for WorkloadSpread, ImagePulling, ContainerLaunchPriority.
Thanks to all our contributors! 😊
v1.0.0-beta.0
To install or upgrade to the latest version including alpha/beta/rc, see installation doc.
Changes since v1.0.0-alpha.2
New feature: ResourceDistribution
For the scenario, where the namespace-scoped resources such as Secret and ConfigMap need to be distributed or synchronized to different namespaces,
the native k8s currently only supports manual distribution and synchronization by users one-by-one, which is very inconvenient.
Therefore, in the face of these scenarios that require the resource distribution and continuously synchronization across namespaces, we provide a tool, namely ResourceDistribution, to do this automatically.
Currently, ResourceDistribution supports the two kind resources --- Secret & ConfigMap.
CloneSet
- Add
maxUnavailable
field inscaleStrategy
to support rate limiting of scaling up. - Mark revision stable when all pods updated to it, won't wait all pods to be ready.
Advanced DaemonSet
- Support progressive annotation to control if pods creation should be limited by partition.
UnitedDeployment
- Fix pod NodeSelectorTerms length 0 when UnitedDeployment NodeSelectorTerms is nil.
Thanks to all our contributors! 😊
v1.0.0-alpha.2
To install or upgrade to the latest version including alpha/beta/rc, see installation doc.
Changes since v1.0.0-alpha.1
Project
- Generate CRDs with original controller-tools and markers
WorkloadSpread
- Add discoveryGVK for WorkloadSpread
NodeImage
- Add
--nodeimage-creation-delay
flag to delay NodeImage creation after Node ready
Other
- Fix E2E for WorkloadSpread, ImagePulling, ContainerLaunchPriority
Thanks to all our contributors! 😊
v0.10.1
To install or upgrade to the latest version including alpha/beta/rc, see installation doc.
Changes since v0.10.0
WorkloadSpread
- Add discoveryGVK for WorkloadSpread
- Optimize webhook injection
Kruise-daemon
- Setup generic kubeClient with Protobuf
Other
- Fix E2E for WorkloadSpread, ImagePulling
Thanks to all our contributors! 😊
v1.0.0-alpha.1
To install or upgrade to the latest version including alpha/beta/rc, see installation doc.
Changes since v0.10.0
Project
- Bump CustomResourceDefinition(CRD) from v1beta1 to v1
- Bump ValidatingWebhookConfiguration/MutatingWebhookConfiguration from v1beta1 to v1
- Bump dependencies: k8s v1.18 -> v1.20, controller-runtime v0.6.5 -> v0.8.3
So that Kruise can install into Kubernetes 1.22 and no longer support Kubernetes < 1.16.
New feature: in-place update with env from metadata
When update spec.template.metadata.labels/annotations
in CloneSet or Advanced StatefulSet and there exists container env from the changed labels/annotations,
Kruise will in-place update them to renew the env value in containers.
New feature: ContainerLaunchPriority
Container Launch Priority provides a way to help users control the sequence of containers start in a Pod.
It works for Pod, no matter what kind of owner it belongs to, which means Deployment, CloneSet or any other Workloads are all supported.
WorkloadSpread
- Manage the pods that were created before WorkloadSpread.
- Optimize webhook update and retry during injection.
PodUnavailableBudget
- Add pod no pub-protection annotation.
- PUB controller watch workload replicas changed.
Advanced DaemonSet
- Support in-place update daemon pod.
SidecarSet
- Fix SidecarSet filter active pods.
Other
- Kruise-daemon watch pods using protobuf.
- Export resync seconds args.
- Fix http checker reload ca.cert.
Thanks to all our contributors! 😊
v0.10.0
To install or upgrade to the latest version, see installation doc.
Changes since v0.9.0
New feature: WorkloadSpread
WorkloadSpread supports to constrain the spread of stateless workload, which empowers single workload the abilities for multi-domain and elastic deployment.
It can be used with those stateless workloads, such as CloneSet, Deployment, ReplicaSet and even Job.
New feature: PodUnavailableBudget
Kubernetes offers Pod Disruption Budget (PDB) to help you run highly available applications even when you introduce frequent voluntary disruptions. PDB limits the number of Pods of a replicated application that are down simultaneously from voluntary disruptions. However, it can only constrain the voluntary disruption triggered by the Eviction API. For example, when you run kubectl drain, the tool tries to evict all of the Pods on the Node you're taking out of service.
PodUnavailableBudget can achieve the effect of preventing ALL application disruption or SLA degradation, including pod eviction, deletion, inplace-update, ...
CloneSet
- Scale-down supports topology spread constraints. doc
- Fix in-place update pods in Updated state.
SidecarSet
- Add imagePullSecrets field to support pull secrets for the sidecar images. doc
- Add injectionStrategy.paused to stop injection temporarily. doc
Advanced StatefulSet
- Support image pre-download for in-place update, which can accelerate the progress of applications upgrade. doc
- Support scaling with rate limit. doc
Advanced DaemonSet
- Fix rolling update stuck caused by deleting terminating pods.
Other
- Bump to Kubernetes dependency to 1.18
- Add pod informer for kruise-daemon
- More
kubectl ... -o wide
fields for kruise resources
Thanks to all our contributors! 😊
v0.9.0
To install or upgrade to the latest version, see installation.
Changes since v0.8.1
New feature: ContainerRecreateRequest
[doc]
ContainerRecreateRequest provides a way to let users restart/recreate one or more containers in an existing Pod.
New feature: Deletion Protection
[doc]
This feature provides a safety policy which could help users protect Kubernetes resources and
applications' availability from the cascading deletion mechanism.
CloneSet
- Support
pod-deletion-cost
to let users set the priority of pods deletion. [doc] - Support image pre-download for in-place update, which can accelerate the progress of applications upgrade. [doc]
- Add
CloneSetShortHash
feature-gate, which solves the length limit of CloneSet name. [doc] - Make
maxUnavailable
andmaxSurge
effective for specified deletion. [doc] - Support efficient update and rollback using
partition
. [doc]
SidecarSet
- Support sidecar container hot upgrade. [doc]
ImagePullJob
- Add
podSelector
to pull image on nodes of the specific pods.
Thanks to all our contributors! 😊