From 56f230391da696de3cdd0ed03b20ef0a43869d1a Mon Sep 17 00:00:00 2001 From: Nick Volynkin Date: Tue, 1 Jul 2025 18:14:41 +0300 Subject: [PATCH 1/3] [docs] Changelog for v0.33.0 Signed-off-by: Nick Volynkin --- docs/changelogs/v0.33.0.md | 42 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 docs/changelogs/v0.33.0.md diff --git a/docs/changelogs/v0.33.0.md b/docs/changelogs/v0.33.0.md new file mode 100644 index 00000000..1154ddf3 --- /dev/null +++ b/docs/changelogs/v0.33.0.md @@ -0,0 +1,42 @@ +## Features and Improvements + +* [kubernetes] Enable PVC backups in tenant Kubernetes clusters, powered by [Velero](https://velero.io/). (@klinch0 in https://github.com/cozystack/cozystack/pull/1132) +* [nfs-driver] Enable NFS support by introducing a new optional system module `nfs-driver`. See the documentation: https://cozystack.io/docs/operations/storage/nfs/. (@kvaps in https://github.com/cozystack/cozystack/pull/1133) +* [virtual-machine] Configure CPU sockets available to VMs with the `resources.cpu.sockets` configuration value. (@klinch0 in https://github.com/cozystack/cozystack/pull/1131) +* [virtual-machine] Add support for using pre-imported "golden image" disks for virtual machines, enabling faster provisioning by referencing existing images instead of downloading via HTTP. (@gwynbleidd2106 in https://github.com/cozystack/cozystack/pull/1112) +* [kubernetes] Add an option to expose the Ingress-NGINX controller in tenant Kubernetes cluster via LoadBalancer. New configuration value `exposeMethod` offers a choice of `Proxied` and `LoadBalancer`. (@kvaps in https://github.com/cozystack/cozystack/pull/1114) +* [apps] When updating from earlier Cozystack versions, automatically migrate to the new resource definition format: from `resources.requests.[cpu,memory]` and `resources.limits.[cpu,memory]` to `resources.[cpu,memory]`. (@kvaps in https://github.com/cozystack/cozystack/pull/1127) +* [apps] Give examples of new resource definitions in the managed app README's. (@NickVolynkin in https://github.com/cozystack/cozystack/pull/1120) +* [tenant] Respect `cpu-allocation-ratio` in tenant's `resourceQuotas`.(@kvaps in https://github.com/cozystack/cozystack/pull/1119) +* [cozy-lib] Introduce helper function to calculate Java heap params based on memory requests and limits. (@lllamnyp in https://github.com/cozystack/cozystack/pull/1157) + +## Security + +* [monitoring] Disable sign up in Alerta. (@klinch0 in https://github.com/cozystack/cozystack/pull/1129) + +## Fixes + +* [platform] Always set resources for managed apps . (@lllamnyp in https://github.com/cozystack/cozystack/pull/1156) +* [platform] Remove the memory limit for Keycloak deployment. (@klinch0 in https://github.com/cozystack/cozystack/pull/1122) +* [kubernetes] Fix a condition in the ingress template for tenant Kubernetes. (@kvaps in https://github.com/cozystack/cozystack/pull/1143) +* [kubernetes] Fix a deadlock on reattaching a KubeVirt-CSI volume. (@kvaps in https://github.com/cozystack/cozystack/pull/1135) +* [mysql] MySQL applications with a single replica now correctly create a `LoadBalancer` service. (@lllamnyp in https://github.com/cozystack/cozystack/pull/1113) +* [etcd] Fix resources and headless services in the etcd application. (@kvaps in https://github.com/cozystack/cozystack/pull/1128) +* [apps] Enable selecting `resourcePreset` from a drop-down list for all applications by adding enum of allowed values in the config scheme. (@NickVolynkin in https://github.com/cozystack/cozystack/pull/1117) +* [apps] Refactor resource presets provided to managed apps by `cozy-lib`. (@kvaps in https://github.com/cozystack/cozystack/pull/1155) +* [keycloak] Calculate and pass Java heap parameters explicitly to prevent OOM errors. (@lllamnyp in https://github.com/cozystack/cozystack/pull/1157) + + +## Development, Testing, and CI/CD + +* [dx] Introduce cozyreport tool and gather reports in CI. (@kvaps in https://github.com/cozystack/cozystack/pull/1139) +* [ci] Use Nexus as a pull-through cache for CI. (@lllamnyp in https://github.com/cozystack/cozystack/pull/1124) +* [ci] Save a list of observed images after each workflow run. (@lllamnyp in https://github.com/cozystack/cozystack/pull/1089) +* [ci] Skip Cozystack tests on PRs that only change the docs. Don't restart CI when a PR is labeled. (@NickVolynkin in https://github.com/cozystack/cozystack/pull/1136) +* [dx] Fix Makefile variables for `capi-providers`. (@kvaps in https://github.com/cozystack/cozystack/pull/1115) +* [tests] Introduce self-destructing testing environments. (@kvaps in https://github.com/cozystack/cozystack/pull/1138, https://github.com/cozystack/cozystack/pull/1140, https://github.com/cozystack/cozystack/pull/1141, https://github.com/cozystack/cozystack/pull/1142) +* [e2e] Retry flaky application tests to improve total test time. (@kvaps in https://github.com/cozystack/cozystack/pull/1123) +* [maintenance] Add a PR template. (@NickVolynkin in https://github.com/cozystack/cozystack/pull/1121) + + +**Full Changelog**: https://github.com/cozystack/cozystack/compare/v0.32.1...v0.33.0 \ No newline at end of file From adc2c17c38c64911f7bd9b818df6deb8d6d0cb91 Mon Sep 17 00:00:00 2001 From: Nick Volynkin Date: Fri, 4 Jul 2025 11:29:52 +0300 Subject: [PATCH 2/3] [docs] Feature highlights for v0.33.0 Signed-off-by: Nick Volynkin --- docs/changelogs/v0.33.0.md | 49 +++++++++++++++++++++++++++++++++++++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/docs/changelogs/v0.33.0.md b/docs/changelogs/v0.33.0.md index 1154ddf3..9f7efe6d 100644 --- a/docs/changelogs/v0.33.0.md +++ b/docs/changelogs/v0.33.0.md @@ -1,7 +1,54 @@ +# Release v0.33.0 + +## Feature Highlights + +### Unified CPU and Memory Allocation Management + +Since version 0.31.0, Cozystack introduced a single-point-of-truth configuration variable `cpu-allocation-ratio`, +making CPU resource requests and limits uniform in Virtual Machines managed by KubeVirt. +The new release 0.33.0 introduces `memory-allocation-ratio` and expands both variables to all managed applications and tenant resource quotas. + +Resource presets also respect the allocation ratios and behave in the same way as explicit resource definitions. +The new resource definition format is concise and simple for platform users. + +```yaml +# resource definition in the configuration +resources: + cpu: + memory: +``` + +It results in Kubernetes resource requests and limits, based on defined values and the universal allocation ratios: + +```yaml +# actual requests and limits, provided to the application +resources: + limits: + cpu: + memory: + requests: + cpu: + memory: +``` + +When updating from earlier Cozystack versions, resource configuration in managed applications will be automatically migrated to the new format. + +### Backing up and Restoring Data in Tenant Kubernetes + +One of the main features of the release is backup capability for PVCs in tenant Kubernetes clusters. +It enables platform and tenant administrators to back up and restore data used by services in the tenant clusters. + +This new functionality in Cozystack is powered by [Velero](https://velero.io/) and needs an external S3-compatible storage. + +## Support for NFS Storage + +Cozystack now supports using NFS shared storage with a new optional system module. +See the documentation: https://cozystack.io/docs/operations/storage/nfs/. + ## Features and Improvements * [kubernetes] Enable PVC backups in tenant Kubernetes clusters, powered by [Velero](https://velero.io/). (@klinch0 in https://github.com/cozystack/cozystack/pull/1132) -* [nfs-driver] Enable NFS support by introducing a new optional system module `nfs-driver`. See the documentation: https://cozystack.io/docs/operations/storage/nfs/. (@kvaps in https://github.com/cozystack/cozystack/pull/1133) +* [nfs-driver] Enable NFS support by introducing a new optional system module `nfs-driver`. (@kvaps in https://github.com/cozystack/cozystack/pull/1133) * [virtual-machine] Configure CPU sockets available to VMs with the `resources.cpu.sockets` configuration value. (@klinch0 in https://github.com/cozystack/cozystack/pull/1131) * [virtual-machine] Add support for using pre-imported "golden image" disks for virtual machines, enabling faster provisioning by referencing existing images instead of downloading via HTTP. (@gwynbleidd2106 in https://github.com/cozystack/cozystack/pull/1112) * [kubernetes] Add an option to expose the Ingress-NGINX controller in tenant Kubernetes cluster via LoadBalancer. New configuration value `exposeMethod` offers a choice of `Proxied` and `LoadBalancer`. (@kvaps in https://github.com/cozystack/cozystack/pull/1114) From 8b0fc77202fe8614fe2b45c1c37210b262e4a240 Mon Sep 17 00:00:00 2001 From: Nick Volynkin Date: Tue, 1 Jul 2025 18:14:41 +0300 Subject: [PATCH 3/3] [docs] Changelogs for v0.33.1 and v0.33.2 plus regression warning in 0.33.0 Signed-off-by: Nick Volynkin --- docs/changelogs/v0.33.0.md | 4 +++- docs/changelogs/v0.33.1.md | 3 +++ docs/changelogs/v0.33.2.md | 19 +++++++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 docs/changelogs/v0.33.1.md create mode 100644 docs/changelogs/v0.33.2.md diff --git a/docs/changelogs/v0.33.0.md b/docs/changelogs/v0.33.0.md index 9f7efe6d..bf4843d3 100644 --- a/docs/changelogs/v0.33.0.md +++ b/docs/changelogs/v0.33.0.md @@ -1,4 +1,6 @@ -# Release v0.33.0 +> [!WARNING] +> A patch release [0.33.2](github.com/cozystack/cozystack/releases/tag/v0.33.2) fixing a regression in 0.33.0 has been released. +> It is recommended to skip this version and upgrade to [0.33.2](github.com/cozystack/cozystack/releases/tag/v0.33.2) instead. ## Feature Highlights diff --git a/docs/changelogs/v0.33.1.md b/docs/changelogs/v0.33.1.md new file mode 100644 index 00000000..577d7066 --- /dev/null +++ b/docs/changelogs/v0.33.1.md @@ -0,0 +1,3 @@ +## Fixes + +* [kubevirt-csi] Fix a regression by updating the role of the CSI controller. (@lllamnyp in https://github.com/cozystack/cozystack/pull/1165) diff --git a/docs/changelogs/v0.33.2.md b/docs/changelogs/v0.33.2.md new file mode 100644 index 00000000..71fd9ed5 --- /dev/null +++ b/docs/changelogs/v0.33.2.md @@ -0,0 +1,19 @@ +## Features and Improvements + +* [vm-instance] Enable running [Windows](https://cozystack.io/docs/operations/virtualization/windows/) and [MikroTik RouterOS](https://cozystack.io/docs/operations/virtualization/mikrotik/) in Cozystack. Add `bus` option and always specify `bootOrder` for all disks. (@kvaps in https://github.com/cozystack/cozystack/pull/1168) +* [cozystack-api] Refactor OpenAPI Schema and support reading it from config. (@kvaps in https://github.com/cozystack/cozystack/pull/1173) +* [cozystack-api] Enable using singular resource names in Cozystack API. For example, `kubectl get tenant` is now a valid command, in addition to `kubectl get tenants`. (@kvaps in https://github.com/cozystack/cozystack/pull/1169) +* [postgres] Explain how to back up and restore PostgreSQL using Velero backups. (@klinch0 and @NickVolynkin in https://github.com/cozystack/cozystack/pull/1141) + +## Fixes + +* [virtual-machine,vm-instance] Adjusted RBAC role to let users read the service associated with the VMs they create. Consequently, users can now see details of the service in the dashboard and therefore read the IP address of the VM. (@klinch0 in https://github.com/cozystack/cozystack/pull/1161) +* [cozystack-api] Fix an error with `resourceVersion` which resulted in message 'failed to update HelmRelease: helmreleases.helm.toolkit.fluxcd.io "xxx" is invalid...'. (@kvaps in https://github.com/cozystack/cozystack/pull/1170) +* [cozystack-api] Fix an error in updating lists in Cozystack objects, which resulted in message "Warning: resource ... is missing the kubectl.kubernetes.io/last-applied-configuration annotation". (@kvaps in https://github.com/cozystack/cozystack/pull/1171) +* [cozystack-api] Disable `startegic-json-patch` support. (@kvaps in https://github.com/cozystack/cozystack/pull/1179) +* [dashboard] Fix the code for removing dashboard comments which used to mistakenly remove shebang from cloudInit scripts. (@kvaps in https://github.com/cozystack/cozystack/pull/1175). +* [virtual-machine] Fix cloudInit and sshKeys processing. (@kvaps in https://github.com/cozystack/cozystack/pull/1175 and https://github.com/cozystack/cozystack/commit/da3ee5d0ea9e87529c8adc4fcccffabe8782292e) +* [applications] Fix a typo in preset resource tables in the built-in documentation of managed applications. (@NickVolynkin in https://github.com/cozystack/cozystack/pull/1172) +* [kubernetes] Enable deleting Velero component from a tenant Kubernetes cluster. (@klinch0 in https://github.com/cozystack/cozystack/pull/1176) + +**Full Changelog**: https://github.com/cozystack/cozystack/compare/v0.33.1...v0.33.2