v1.6.0
To install or upgrade to the old version, see installation doc.
Change log since v1.5.2
Upgrade Notice
No, really, you must read this before you upgrade
- OpenKruise no longer supports Kubernetes versions 1.16, 1.17.
However it's still possible to use OpenKruise with Kubernetes versions 1.16 and 1.17 as long as KruiseDaemon is not enabled(install/upgrade kruise charts with featureGates="KruiseDaemon=false") - OpenKruise leader election default to use leases mode. (#1407, dsxing)
For users with OpenKruise version 1.3.0 or lower, please first upgrade your OpenKruise to version 1.4 or 1.5 before upgrading to 1.6.0, so as to avoid unexpected multiple leader problem during the installation. - Bump Kubernetes dependency to 1.26.10. (#1511, KaiShi)
Key Features
- Fix WorkloadSpread incorrect subset allocation after workload rolling updating. (#1197, veophi)
- ImagePullJob support force image pulling for images with the name as previous one. (#1384, ls-2018)
- Job Sidecar Terminator reports correct pod phase for sidecar containers with non-zero exit code. (#1303, @diannaowa)
- Support the deletion protection of service and ingress resources. (#1269, @kevin1689-cloud)
Performance Enhancement
- Optimize PodProbeMarker performance. (#1430, ls-2018)
- Optimize container launch priority performance. (#1490, FillZpp)
Other Changes
-
Enhanced Operation
- PodProbeMarker: Container probe support Tcp probing. (#1474, KaiShi)
- PodProbeMarker: Sync podCondition when probe message of probeStates changed. (#1479, chrisliu1995)
- PersistentPodState: Fix the problem that PersistentPodState can't get spec.replicas from unstructured object. (#1462, 0xgj)
- Fix PodProbeMarker feature gate dependency . (#1429, ls-2018)
-
Advanced Workload
-
Sidecar Container
- Fix pod annotations injection abnormal for SidecarSet. (#1453, @a932846905)
-
Application Protection
-
Others
- Replace 'github.com/pkg/errors' with the standard Go library 'errors'. (#1518, dongjiang1989)
- Upgrade minimum docker api version from 1.23 to 1.24. (#1510, hantmac)
- Add UT in controller_revision_test file. (#1457, xiangpingjiang)
- BroadcastJob controller define some parameters as Constant. (#1414, lilongfeng0902)
- Kruise-daemon enable pprof. (#1416, dsxing)
- Remove deprecated 'io/ioutil' pkg. (#1404, testwill)
- Fix unnecessary use of fmt.Sprintf. (#1403, testwill)