docs(release): correct statements in the v1.7.0 changelog and release notes

A check against the code at v1.7.0-rc.3 and the upgrade-test records
found statements the evidence does not support. talos.registryMirrors
cannot be carried over from v1.6, which never had the key. Setting
version: v7.3 does not end the refusal of a release whose
cluster.version names 7.1. The lost migration log was one observation
on a test cluster, not a property of the chart, which keeps the Job.

The same check corrects narrower wording: the PostgreSQL restart was
seen from v1.6.5 only and v1.6.0 shipped CloudNativePG 1.28.1; a disk
added to spec.disks at v1.6.5 attaches only at the VM's next restart;
the controller waits on Kube-OVN only on the isp-full variants; host is
the node name; the API accepts a spec.cluster edit and the chart refuses
it; the copy clone strategy is a CDI setting; and CRD validation
ratcheting lets an unchanged dotted prefix through.

The OpenSearch entry gains what a test cluster showed about the stale
securityconfig-update Job of an instance created on v1.6.x: deleting it
makes the operator recreate it on the platform's cluster domain. It
stops short of a recovery, because whether the instance then finishes
initializing was not confirmed.

The release notes become the GitHub release body, so the three of
these they repeat are corrected there too.

Assisted-by: LLM
Signed-off-by: Myasnikov Daniil <myasnikovdaniil2001@gmail.com>
This commit is contained in:
Myasnikov Daniil committed 2026-10-27 20:14:27 +00:00
1 parent 51bf4986ce
commit e4a9d433ae
2 files changed
+16 -16

No files matched your search

+13 -13
View File
@@ -18,7 +18,7 @@ The platform migration `targetVersion` moves from **54 (v1.6.0) to 61**, so migr
Managed tenant Kubernetes clusters can now run their worker VMs on an **external Proxmox VE cluster** instead of KubeVirt. A new `substrate` value on the `kubernetes` and `kubernetes-nodes` applications selects `kubevirt` (the default, unchanged) or `proxmox`. The Cluster API Proxmox provider (capmox) and the in-cluster IPAM provider ship as optional packages enabled through `bundles.enabledPackages`, and tenants on the Proxmox substrate get the Proxmox CSI driver and cloud-controller-manager so PersistentVolumes work out of the box. The tenant apiserver is published through a LoadBalancer and worker disks default to linked clones. Managed tenant Kubernetes clusters can now run their worker VMs on an **external Proxmox VE cluster** instead of KubeVirt. A new `substrate` value on the `kubernetes` and `kubernetes-nodes` applications selects `kubevirt` (the default, unchanged) or `proxmox`. The Cluster API Proxmox provider (capmox) and the in-cluster IPAM provider ship as optional packages enabled through `bundles.enabledPackages`, and tenants on the Proxmox substrate get the Proxmox CSI driver and cloud-controller-manager so PersistentVolumes work out of the box. The tenant apiserver is published through a LoadBalancer and worker disks default to linked clones.
Worker pools are no longer an array inside the `Kubernetes` resource: each pool is now its own **`KubernetesNodes`** resource with its own health checks and its own autoscaler provision-time budget. A pool's `spec.cluster` cannot change, and its `spec.storageClass` is meant to stay fixed too, though for now only the dashboard enforces that. Existing pools are adopted automatically by platform migration 56; each adopted pool rolls its worker VMs once, because the worker TalosConfigTemplate is now named by a hash of its content (#3523). New per-pool knobs include `kernelModules` for Talos (GPU pools load the NVIDIA modules automatically), CPU requests and limits, guest serial-console logging, a registry mirror for air-gapped environments, and an opt-in **golden Talos image** that CDI clones on the storage layer instead of importing the image once per worker. Worker pools are no longer an array inside the `Kubernetes` resource: each pool is now its own **`KubernetesNodes`** resource with its own health checks and its own autoscaler provision-time budget. The API accepts an edit of a pool's `spec.cluster`, but the pool's release then refuses to render it, and its `spec.storageClass` is meant to stay fixed too, though for now only the dashboard enforces that. Existing pools are adopted automatically by platform migration 56; each adopted pool rolls its worker VMs once, because the worker TalosConfigTemplate is now named by a hash of its content (#3523). New per-pool knobs include `kernelModules` for Talos (GPU pools load the NVIDIA modules automatically), CPU requests and limits, guest serial-console logging, a registry mirror for air-gapped environments, and an opt-in **golden Talos image** that CDI clones on the storage layer instead of importing the image once per worker.
### Community Marketplace and a reworked console ### Community Marketplace and a reworked console
@@ -56,7 +56,7 @@ Several changes in this release alter behavior of running clusters. Read this se
**4. Cilium takes its addresses from a reserved block on Kube-OVN variants (#4778).** `networking.podCIDR` must be `/20` or wider on these variants; Cilium now uses the last `/21` of it, which Kube-OVN no longer hands out. Existing clusters move through a post-upgrade hook and each Cilium agent restarts twice (clusters on v1.6.5 already moved in that release; the restarts apply when upgrading from v1.6.4 or earlier). **4. Cilium takes its addresses from a reserved block on Kube-OVN variants (#4778).** `networking.podCIDR` must be `/20` or wider on these variants; Cilium now uses the last `/21` of it, which Kube-OVN no longer hands out. Existing clusters move through a post-upgrade hook and each Cilium agent restarts twice (clusters on v1.6.5 already moved in that release; the restarts apply when upgrading from v1.6.4 or earlier).
**5. KubeVirt eviction and hotplug changes (#4403, #4453).** The cluster-wide eviction strategy becomes `LiveMigrateIfPossible`: VMs that cannot live-migrate (ReadWriteOnce disks, GPU or host-device passthrough) are shut down and restarted by their `runStrategy` instead of blocking a drain. A running VM keeps the old strategy until its next restart, so restart non-migratable VMs once after upgrading if their nodes need to drain. KubeVirt also runs with `DeclarativeHotplugVolumes`; migration 59 copies VMI-only volumes into `VM.spec`, which keeps them attached on tenant Kubernetes workers. On a `VMInstance` the same upgrade re-renders the VM from the chart and KubeVirt unplugs the copied volume from the running VM: before upgrading, detach such a volume inside the guest, remove it with `virtctl removevolume`, and add the disk to the VMInstance's `spec.disks` instead. **5. KubeVirt eviction and hotplug changes (#4403, #4453).** The cluster-wide eviction strategy becomes `LiveMigrateIfPossible`: VMs that cannot live-migrate (ReadWriteOnce disks, GPU or host-device passthrough) are shut down and restarted by their `runStrategy` instead of blocking a drain. A running VM keeps the old strategy until its next restart, so restart non-migratable VMs once after upgrading if their nodes need to drain. KubeVirt also runs with `DeclarativeHotplugVolumes`; migration 59 copies VMI-only volumes into `VM.spec`, which keeps them attached on tenant Kubernetes workers. On a `VMInstance` the same upgrade re-renders the VM from the chart and KubeVirt unplugs the copied volume from the running VM: before upgrading, detach such a volume inside the guest, remove it with `virtctl removevolume`, and add the disk to the VMInstance's `spec.disks` instead. At v1.6.5 a disk added to `spec.disks` attaches only at the VM's next restart; this procedure follows from the charts and has not been run on a live VM.
**6. External exposure now requires TLS (#4639, #4847, #2682).** A Redis release can only be exposed with `tls.enabled: true` (existing external instances keep working), external PostgreSQL refuses plaintext sessions unless `tls.required: false` is set, and external OpenSearch moves from the operator's CA to the chart's cert-manager CA on first reconcile (set `tls.issuer: operator` beforehand to opt out). Clients that connected with `sslmode=disable` or skipped certificate verification must be updated. **6. External exposure now requires TLS (#4639, #4847, #2682).** A Redis release can only be exposed with `tls.enabled: true` (existing external instances keep working), external PostgreSQL refuses plaintext sessions unless `tls.required: false` is set, and external OpenSearch moves from the operator's CA to the chart's cert-manager CA on first reconcile (set `tls.issuer: operator` beforehand to opt out). Clients that connected with `sslmode=disable` or skipped certificate verification must be updated.
@@ -68,17 +68,17 @@ Several changes in this release alter behavior of running clusters. Read this se
**10. A platform variant switch on a live cluster is refused (#4790, backport #5021).** The platform render now looks up the live `cozystack.networking` Package and fails when the variant it is about to render differs from it, because the operator deletes every HelmRelease of that Package the new variant does not install: `isp-full` to `isp-hosted` removes Cilium and Kube-OVN, `isp-full` to `isp-slim` removes Kube-OVN. The error names the value that lets the switch through, `networking.acknowledgeVariantChange: "<new variant>"` in the platform Package values; it confirms that one switch only. The guard fires on any variant change, including Talos to generic, where nothing is deleted. A cluster whose `cozystack.networking` variant was set by hand (for example `cilium-kilo`) fails the upgrade until `cozystack.networking` is listed in `bundles.disabledPackages`: acknowledging does not help there, because the render writes the bundle's variant over the manual one. Helm template, client-side dry-run and first installs are not checked. **10. A platform variant switch on a live cluster is refused (#4790, backport #5021).** The platform render now looks up the live `cozystack.networking` Package and fails when the variant it is about to render differs from it, because the operator deletes every HelmRelease of that Package the new variant does not install: `isp-full` to `isp-hosted` removes Cilium and Kube-OVN, `isp-full` to `isp-slim` removes Kube-OVN. The error names the value that lets the switch through, `networking.acknowledgeVariantChange: "<new variant>"` in the platform Package values; it confirms that one switch only. The guard fires on any variant change, including Talos to generic, where nothing is deleted. A cluster whose `cozystack.networking` variant was set by hand (for example `cilium-kilo`) fails the upgrade until `cozystack.networking` is listed in `bundles.disabledPackages`: acknowledging does not help there, because the render writes the bundle's variant over the manual one. Helm template, client-side dry-run and first installs are not checked.
**11. A golden-image disk into an unsuitable LINSTOR class is refused (#4796, backport #5022).** A new `vm-disk` created from a golden image is now refused at render time when CDI would CSI-clone it into a LINSTOR StorageClass that does not allow remote volume access from every node (a node-local class, for example), or when both StorageProfiles name a snapshot class that does not exist. Before, such a disk stayed pending forever without an error. Existing disks are exempt. Use the golden image's StorageClass or the `copy` clone strategy. **11. A golden-image disk into an unsuitable LINSTOR class is refused (#4796, backport #5022).** A new `vm-disk` created from a golden image is now refused at render time when CDI would CSI-clone it into a LINSTOR StorageClass that does not allow remote volume access from every node (a node-local class, for example), or when both StorageProfiles name a snapshot class that does not exist. Before, such a disk stayed pending forever without an error. Existing disks are exempt. Use the golden image's StorageClass, or have the platform administrator set the CDI `cloneStrategyOverride` to `copy` in the kubevirt-cdi package.
**12. Pod rolls on upgrade.** Besides the Kamaji and Cilium rolls above and the Redis Sentinel and data pod rolls noted under Databases and messaging, the upgrade changes the pod specs of several running workloads: every Kafka cluster rolls once because the JVM environment changes (#5019); the SeaweedFS master, volume, filer and S3 components run the in-tree patched image (#5028); the `kube-multus` DaemonSet rolls node by node to pick up its new resources (#5018); and the LINSTOR controller and satellite pods move to the rebuilt `piraeus-server` image that carries the snapshot-restore fix (#5020). Every PostgreSQL instance restarts once, on clusters that already run v1.6.5 as well, in the upgrade that moves the CloudNativePG operator from 1.28.2 to 1.30.0 (#3951), and a cluster with one instance is unavailable while its pod restarts. Redis data pods roll once too, one pod at a time. **12. Pod rolls on upgrade.** Besides the Kamaji and Cilium rolls above and the Redis Sentinel and data pod rolls noted under Databases and messaging, the upgrade changes the pod specs of several running workloads: every Kafka cluster rolls once because the JVM environment changes (#5019); the SeaweedFS master, volume, filer and S3 components run the in-tree patched image (#5028); the `kube-multus` DaemonSet rolls node by node to pick up its new resources (#5018); and the LINSTOR controller and satellite pods move to the rebuilt `piraeus-server` image that carries the snapshot-restore fix (#5020). Every PostgreSQL instance restarts at least once in the upgrade that moves the CloudNativePG operator from 1.28 to 1.30.0 (#3951), as a test cluster upgraded from v1.6.5 showed, and from v1.6.4 or earlier an instance with a memory limit below 512Mi and no `shared_buffers` of its own also takes the `shared_buffers` restart (#4724); a cluster with one instance is unavailable while its pod restarts. Redis data pods roll once too, one pod at a time.
**13. FoundationDB selects a release line, not a version (#5085, backport #5108).** `cluster.version` no longer selects the deployed version. A release selects its release line with `version: v7.3` (the default) or `version: v7.4`, and the platform pins the patch in `packages/apps/foundationdb/files/versions.yaml`: `v7.3` deploys 7.3.63 and `v7.4` deploys 7.4.1. Migration 60 carries each release's line over from `cluster.version`, and records a release whose patch differs from the pinned one in the `cozystack.io/migration-60-needs-attention` annotation of the `cozy-system/cozystack-version` ConfigMap. A cluster that runs another patch of its line is moved to the pinned one, downwards included: on a test cluster a 7.3.69 cluster was moved to 7.3.63, and the migration's annotation entry was the only lasting signal. A step down inside one line is a patch downgrade, which FoundationDB's [documentation](https://apple.github.io/foundationdb/administration.html#version-specific-notes-on-downgrading) does not exclude: it rules out downgrades between non-patch releases. A release on a line the platform no longer offers, such as 7.1, is recorded and its render is refused, so it stays on its current revision until a supported line is selected; move 7.1.x clusters to 7.3 before upgrading (#4512). A release whose `cluster.version` is on a different line than its `version` is refused with a message that names both. The API prints no warning for `cluster.version`, and it admits an edit of a release that stores a `version` the chart does not offer; the chart refuses that value when it renders. Where platform migrations do not run, set `version` to the line each cluster runs before upgrading. Check the running patch of every FoundationDB cluster before upgrading, and read the annotation afterwards. **13. FoundationDB selects a release line, not a version (#5085, backport #5108).** `cluster.version` no longer selects the deployed version. A release selects its release line with `version: v7.3` (the default) or `version: v7.4`, and the platform pins the patch in `packages/apps/foundationdb/files/versions.yaml`: `v7.3` deploys 7.3.63 and `v7.4` deploys 7.4.1. Migration 60 carries each release's line over from `cluster.version`, and records a release whose patch differs from the pinned one in the `cozystack.io/migration-60-needs-attention` annotation of the `cozy-system/cozystack-version` ConfigMap. A cluster that runs another patch of its line is moved to the pinned one, downwards included: on a test cluster a 7.3.69 cluster was moved to 7.3.63, and the migration's annotation entry was the only lasting signal. A step down inside one line is a patch downgrade, which FoundationDB's [documentation](https://apple.github.io/foundationdb/administration.html#version-specific-notes-on-downgrading) does not exclude: it rules out downgrades between non-patch releases. A release whose `cluster.version` is on a line the platform no longer offers, such as 7.1, is recorded and its render is refused, so it stays on its current revision. Setting `version: v7.3` does not end that refusal while `cluster.version` still names 7.1 (on a test cluster such a release read back as `version: v7.3` and was still refused), and the operator, which no longer ships the 7.1 client, cannot move a running 7.1 cluster (#4512): move 7.1.x clusters to 7.3 before upgrading the platform. A release whose `cluster.version` is on a different line than its `version` is refused with a message that names both. The API prints no warning for `cluster.version`, and it admits an edit of a release that stores a `version` the chart does not offer; the chart refuses that value when it renders. Where platform migrations do not run, set `version` to the line each cluster runs before upgrading. Check the running patch of every FoundationDB cluster before upgrading, and read the annotation afterwards.
**14. Image overrides of Kubernetes, KubernetesNodes and OpenSearch are no longer read (#5085, backport #5108).** `images.kubectl`, `images.waitForKubeconfig` and `images.talosCsrSigner` of `Kubernetes`, `images.kubectl` of `KubernetesNodes` and `images.opensearch` of `OpenSearch` are removed, and these charts use the images the platform ships instead. A release that still carries one of them keeps the value stored, the chart ignores it, and the API shows no warning for it: on a test cluster, editing such a value through the API printed no warning about it (an edit of a `Kubernetes` resource printed only the existing `spec.nodeGroups` warning). Migration 60 lists such releases in the `cozystack.io/migration-60-needs-attention` annotation. On the first reconcile OpenSearch nodes move to the image for their selected version and Kubernetes components whose images changed restart. Before upgrading, check custom OpenSearch images: if one runs a newer version than the chart maps, switching back can leave the nodes unable to read their data. An OpenSearch release that stores `version: null` now fails to render instead of falling back to `v2`, while the API still reads it back as `v2`; set its `version`. Air-gapped installations need `docker.io` and `ghcr.io` mirrored on the management-cluster nodes. **14. Image overrides of Kubernetes, KubernetesNodes and OpenSearch are no longer read (#5085, backport #5108).** `images.kubectl`, `images.waitForKubeconfig` and `images.talosCsrSigner` of `Kubernetes`, `images.kubectl` of `KubernetesNodes` and `images.opensearch` of `OpenSearch` are removed, and these charts use the images the platform ships instead. A release that still carries one of them keeps the value stored, the chart ignores it, and the API shows no warning for it: on a test cluster, editing such a value through the API printed no warning about it (an edit of a `Kubernetes` resource printed only the existing `spec.nodeGroups` warning). Migration 60 lists such releases in the `cozystack.io/migration-60-needs-attention` annotation. On the first reconcile OpenSearch nodes move to the image for their selected version and Kubernetes components whose images changed restart. Before upgrading, check custom OpenSearch images: if one runs a newer version than the chart maps, switching back can leave the nodes unable to read their data. An OpenSearch release that stores `version: null` now fails to render instead of falling back to `v2`, while the API still reads it back as `v2`; set its `version`. Air-gapped installations need `docker.io` and `ghcr.io` mirrored on the management-cluster nodes.
**15. A disk still importing holds its release during the upgrade (#5087, backport #5126).** An existing `vm-disk` whose DataVolume is not ready when the platform upgrades, an import still running for example, can keep its HelmRelease in a failing upgrade and occupy one helm-controller worker until the release reconciles on its own; on a test cluster that took two failed 10-minute attempts, about 20 minutes. The cause is ordering: cozystack-controller, which copies the readiness expressions onto existing HelmReleases, starts only after Cilium and Kube-OVN are upgraded, and every attempt that starts before that copy waits on the DataVolume until it times out. The wait is bounded; without #5087 such a release retried without end. Finish running imports before upgrading; `kubectl get dv -A` shows the phase of every DataVolume. **15. A disk still importing holds its release during the upgrade (#5087, backport #5126).** An existing `vm-disk` whose DataVolume is not ready when the platform upgrades, an import still running for example, can keep its HelmRelease in a failing upgrade and occupy one helm-controller worker until the release reconciles on its own; on a test cluster that took two failed 10-minute attempts, about 20 minutes. The cause is ordering: cozystack-controller, which copies the readiness expressions onto existing HelmReleases, starts only after the `cozystack.networking` Package is upgraded, which holds Cilium and Kube-OVN on the `isp-full` variants, and every attempt that starts before that copy waits on the DataVolume until it times out. The wait is bounded; without #5087 such a release retried without end. Finish running imports before upgrading; `kubectl get dv -A` shows the phase of every DataVolume.
**16. Read the migration log right after the upgrade.** On a test cluster the log of the `cozystack-migration-hook` Job in `cozy-system`, which carries the migrations' warnings, could no longer be read about 20 minutes after the run. Read it with `kubectl logs -n cozy-system job/cozystack-migration-hook` once the migrations finish; after that only the `cozystack.io/migration-60-needs-attention` annotation keeps migration 60's records. **16. Read the migration log right after the upgrade.** The log of the `cozystack-migration-hook` Job in `cozy-system` carries the migrations' warnings; read it with `kubectl logs -n cozy-system job/cozystack-migration-hook` once the migrations finish. The chart keeps the Job until the next run of the hook replaces it, but on a test cluster, whose nodes had reported `DiskPressure` during the upgrade, its container log could no longer be read about 20 minutes after the run; the cause was not established. Migration 60's records are also kept in the `cozystack.io/migration-60-needs-attention` annotation, which it writes only when it recorded at least one release.
**17. Free disk space on the nodes.** Observed on a test cluster: two nodes reported `DiskPressure` during the platform upgrade and the kubelet evicted pods from one of them, so make sure the nodes have free disk space before upgrading. **17. Free disk space on the nodes.** Observed on a test cluster: two nodes reported `DiskPressure` during the platform upgrade and the kubelet evicted pods from one of them, so make sure the nodes have free disk space before upgrading.
@@ -86,10 +86,10 @@ Several changes in this release alter behavior of running clusters. Read this se
* **feat(opensearch)!: issue HTTP and Dashboards certificates from cert-manager**: The OpenSearch HTTP API and Dashboards already served TLS, from the operator's own private CA and with a SAN built from cluster.local while the credentials Secret advertised the release on the platform domain; for an external instance both certificates now come from a per-release cert-manager CA whose anchor the platform publishes into the tenant as <release>.tenant-ca, while an internal one keeps the operator CA unless `tls.issuer: cert-manager` is set. Any client that worked against the old endpoint was skipping verification, because no hostname it was handed could have matched that SAN ([**@Arsolitt**](https://github.com/Arsolitt) in #2682). * **feat(opensearch)!: issue HTTP and Dashboards certificates from cert-manager**: The OpenSearch HTTP API and Dashboards already served TLS, from the operator's own private CA and with a SAN built from cluster.local while the credentials Secret advertised the release on the platform domain; for an external instance both certificates now come from a per-release cert-manager CA whose anchor the platform publishes into the tenant as <release>.tenant-ca, while an internal one keeps the operator CA unless `tls.issuer: cert-manager` is set. Any client that worked against the old endpoint was skipping verification, because no hostname it was handed could have matched that SAN ([**@Arsolitt**](https://github.com/Arsolitt) in #2682).
* **feat(multus)!: stage reference CNI plugins from the multus image**: Install the reference CNI plugins (bridge, macvlan, ipvlan, ...) into /opt/cni/bin on generic-Linux installs, where nodes do not otherwise provide them. On by default on every platform: Talos ships five of the fourteen, and the four that overlap are rewritten with the same upstream version. On generic clusters this replaces same-named files in /opt/cni/bin every time the Multus pod is recreated, so a locally managed plugin there will not survive. Set networking.stageCniPlugins: false to decline ([**@lexfrei**](https://github.com/lexfrei) in #3195). * **feat(multus)!: stage reference CNI plugins from the multus image**: Install the reference CNI plugins (bridge, macvlan, ipvlan, ...) into /opt/cni/bin on generic-Linux installs, where nodes do not otherwise provide them. On by default on every platform: Talos ships five of the fourteen, and the four that overlap are rewritten with the same upstream version. On generic clusters this replaces same-named files in /opt/cni/bin every time the Multus pod is recreated, so a locally managed plugin there will not survive. Set networking.stageCniPlugins: false to decline ([**@lexfrei**](https://github.com/lexfrei) in #3195).
* **feat(kubernetes)!: manage worker pools as KubernetesNodes, adopt on upgrade (Phase 2, breaking)**: Worker node pools of a managed Kubernetes cluster are now managed as separate `KubernetesNodes` resources. BREAKING: `spec.nodeGroups`, `spec.nodeHealthCheck` and `spec.maxNodeProvisionTime` are removed from the `Kubernetes` CR; pool configuration, worker health checks, and the autoscaler provision-time budget move to `KubernetesNodes`, on which `spec.cluster` cannot change and `spec.storageClass` is meant to stay fixed: the dashboard does not let it change, but the API accepts an edit, and the pool then rolls its workers onto the new class. A `Kubernetes` cluster name is now capped at 32 characters ([**@IvanHunters**](https://github.com/IvanHunters) in #3315). * **feat(kubernetes)!: manage worker pools as KubernetesNodes, adopt on upgrade (Phase 2, breaking)**: Worker node pools of a managed Kubernetes cluster are now managed as separate `KubernetesNodes` resources. BREAKING: `spec.nodeGroups`, `spec.nodeHealthCheck` and `spec.maxNodeProvisionTime` are removed from the `Kubernetes` CR; pool configuration, worker health checks, and the autoscaler provision-time budget move to `KubernetesNodes`, on which the API accepts an edit of `spec.cluster` but the pool's release then refuses to render it, and `spec.storageClass` is meant to stay fixed: the dashboard does not let it change, but the API accepts an edit, and the pool then rolls its workers onto the new class. A `Kubernetes` cluster name is now capped at 32 characters ([**@IvanHunters**](https://github.com/IvanHunters) in #3315).
* **feat(gateway)!: add TLS-passthrough listeners to TenantGateway**: TenantGateway supports layer-4 TLS-passthrough listeners on native database ports for SNI-based external exposure. On HTTP-01 gateways a hostname a TLS-passthrough listener answers, including any name beneath a wildcard entry, no longer earns an HTTPS-terminate listener or a Gateway-issued certificate once a TLSRoute claiming that hostname can be served on the listener and forwards to a backend that resolves; a hostname claimed only by a TLSRoute stops earning one too. No chart value renders `spec.tlsPassthroughListeners` yet, so such a listener is set on the `TenantGateway` resource by hand. An existing TLSRoute whose hostname no passthrough listener answers stays unattached after the upgrade; remove it, or declare a `tlsPassthroughListeners` entry for its hostname ([**@lexfrei**](https://github.com/lexfrei) in #3342). * **feat(gateway)!: add TLS-passthrough listeners to TenantGateway**: TenantGateway supports layer-4 TLS-passthrough listeners on native database ports for SNI-based external exposure. On HTTP-01 gateways a hostname a TLS-passthrough listener answers, including any name beneath a wildcard entry, no longer earns an HTTPS-terminate listener or a Gateway-issued certificate once a TLSRoute claiming that hostname can be served on the listener and forwards to a backend that resolves; a hostname claimed only by a TLSRoute stops earning one too. No chart value renders `spec.tlsPassthroughListeners` yet, so such a listener is set on the `TenantGateway` resource by hand. An existing TLSRoute whose hostname no passthrough listener answers stays unattached after the upgrade; remove it, or declare a `tlsPassthroughListeners` entry for its hostname ([**@lexfrei**](https://github.com/lexfrei) in #3342).
* **feat(kubernetes)!: remove FluxCD addon**: Remove the FluxCD addon (`addons.fluxcd`). It relied on AGPL-3.0 vendored charts and was disabled by default; tenant clusters that had enabled it keep their running Flux release via an automatic upgrade migration. To remove that orphaned Flux from such a tenant, uninstall its `flux-operator`/`flux-instance` Helm releases inside the tenant cluster by hand ([**@kvaps**](https://github.com/kvaps) in #3379). * **feat(kubernetes)!: remove FluxCD addon**: Remove the FluxCD addon (`addons.fluxcd`). It relied on AGPL-3.0 vendored charts and was disabled by default; tenant clusters that had enabled it keep their running Flux release via an automatic upgrade migration. To remove that orphaned Flux from such a tenant, uninstall its `flux-operator`/`flux-instance` Helm releases inside the tenant cluster by hand ([**@kvaps**](https://github.com/kvaps) in #3379).
* **feat(api)!: require the application release prefix to be dot-free**: `ApplicationDefinition.spec.release.prefix` must match `^[a-z0-9-]*$` (dot-free). A definition with a prefix containing a dot or any other character is rejected at admission; correct it before applying this CRD ([**@lexfrei**](https://github.com/lexfrei) in #3411). * **feat(api)!: require the application release prefix to be dot-free**: `ApplicationDefinition.spec.release.prefix` must match `^[a-z0-9-]*$` (dot-free). A create, or an update that sets a new prefix, is rejected at admission when the prefix contains a dot or any other character, while an existing definition whose prefix is left unchanged is not revalidated; correct it before applying this CRD ([**@lexfrei**](https://github.com/lexfrei) in #3411).
* **fix(gateway)!: require tenant routes to declare their hostnames**: The tenant route hostname policy now requires an HTTPRoute or TLSRoute in a `tenant-*` namespace to declare a non-empty `spec.hostnames`. A route that omitted the field, or set it to an empty list, was previously admitted without any hostname being checked against the tenant apex, even though such a route inherits the hostnames of the listener it attaches to rather than matching nothing. A route in a `tenant-*` namespace relying on that inheritance is now rejected and has to name its hostnames ([**@lexfrei**](https://github.com/lexfrei) in #3475). * **fix(gateway)!: require tenant routes to declare their hostnames**: The tenant route hostname policy now requires an HTTPRoute or TLSRoute in a `tenant-*` namespace to declare a non-empty `spec.hostnames`. A route that omitted the field, or set it to an empty list, was previously admitted without any hostname being checked against the tenant apex, even though such a route inherits the hostnames of the listener it attaches to rather than matching nothing. A route in a `tenant-*` namespace relying on that inheritance is now rejected and has to name its hostnames ([**@lexfrei**](https://github.com/lexfrei) in #3475).
* **feat(postgres,mariadb)!: drop plaintext user passwords**: Passwords for managed PostgreSQL and MariaDB users can no longer be set via `users[].password` — they are always auto-generated and stored only in the `<release>-credentials` Secret, never rendered into the init-script or the SQL it runs. Existing releases keep their current passwords on upgrade; a `password` left in values is ignored with an admission warning but stays the live credential until rotated. Password rotation is deferred to a follow-up controller design ([**@scooby87**](https://github.com/scooby87) in #4078). * **feat(postgres,mariadb)!: drop plaintext user passwords**: Passwords for managed PostgreSQL and MariaDB users can no longer be set via `users[].password` — they are always auto-generated and stored only in the `<release>-credentials` Secret, never rendered into the init-script or the SQL it runs. Existing releases keep their current passwords on upgrade; a `password` left in values is ignored with an admission warning but stays the live credential until rotated. Password rotation is deferred to a follow-up controller design ([**@scooby87**](https://github.com/scooby87) in #4078).
* **chore(platform)!: remove the HTTPCache application**: Remove the HTTPCache application from the catalog. New instances can no longer be created from the catalog and the `HTTPCache` values type is gone from the `api/apps/v1alpha1` Go module. A platform migration keeps existing instances working: on a cluster that runs one, the application is frozen on the packages artifact that cluster was already rendering from, pinned by digest, and stays manageable through the Cozystack API and the dashboard, but receives no further updates, including security updates to the nginx build. On a cluster with no instance the application is removed outright ([**@kvaps**](https://github.com/kvaps) in #4200). * **chore(platform)!: remove the HTTPCache application**: Remove the HTTPCache application from the catalog. New instances can no longer be created from the catalog and the `HTTPCache` values type is gone from the `api/apps/v1alpha1` Go module. A platform migration keeps existing instances working: on a cluster that runs one, the application is frozen on the packages artifact that cluster was already rendering from, pinned by digest, and stays manageable through the Cozystack API and the dashboard, but receives no further updates, including security updates to the nginx build. On a cluster with no instance the application is removed outright ([**@kvaps**](https://github.com/kvaps) in #4200).
@@ -105,7 +105,7 @@ Several changes in this release alter behavior of running clusters. Read this se
* **fix(cilium)!: take cilium's own addresses from a block kube-ovn does not hand out**: On the kube-ovn variants cilium now takes its router and gateway api ingress ips from the last /21 of networking.podCIDR, which kube-ovn no longer hands out, so pods stop landing on addresses cilium holds. existing clusters move on upgrade through a post-upgrade hook, and each cilium agent restarts twice, once for the config change and once in the hook (clusters on v1.6.5 already moved; the restarts apply when upgrading from v1.6.4 or earlier). networking.podCIDR needs /20 or wider on these variants, and a /21 of /29s caps them at 256 nodes ([**@yankawai**](https://github.com/yankawai) in #4778, shipped in v1.6.5). * **fix(cilium)!: take cilium's own addresses from a block kube-ovn does not hand out**: On the kube-ovn variants cilium now takes its router and gateway api ingress ips from the last /21 of networking.podCIDR, which kube-ovn no longer hands out, so pods stop landing on addresses cilium holds. existing clusters move on upgrade through a post-upgrade hook, and each cilium agent restarts twice, once for the config change and once in the hook (clusters on v1.6.5 already moved; the restarts apply when upgrading from v1.6.4 or earlier). networking.podCIDR needs /20 or wider on these variants, and a /21 of /29s caps them at 256 nodes ([**@yankawai**](https://github.com/yankawai) in #4778, shipped in v1.6.5).
* **fix(postgres)!: refuse plaintext sessions on external instances**: An external Postgres now refuses sessions that are not encrypted. The chart renders `hostssl` rules for all users and databases with scram-sha-256 (md5 on PostgreSQL 13, matching CloudNativePG's default rule) and rejects plain `host` connections, so a client using `sslmode=disable` is refused. The new `tls.required` value follows `external` by default; set it to `false` to keep accepting plaintext sessions ([**@yrahman82**](https://github.com/yrahman82) in #4847). * **fix(postgres)!: refuse plaintext sessions on external instances**: An external Postgres now refuses sessions that are not encrypted. The chart renders `hostssl` rules for all users and databases with scram-sha-256 (md5 on PostgreSQL 13, matching CloudNativePG's default rule) and rejects plain `host` connections, so a client using `sslmode=disable` is refused. The new `tls.required` value follows `external` by default; set it to `false` to keep accepting plaintext sessions ([**@yrahman82**](https://github.com/yrahman82) in #4847).
* **fix(platform)!: refuse a networking variant change on a live cluster**: The platform render now refuses to change the variant of a live `cozystack.networking` Package, because the operator would then delete the CNI HelmReleases the new variant does not install (`isp-full` to `isp-hosted` removes Cilium and Kube-OVN). To go ahead, set `networking.acknowledgeVariantChange` to the new networking variant named in the error. A cluster whose variant was set by hand, such as `cilium-kilo`, needs `cozystack.networking` in `bundles.disabledPackages` before the upgrade ([**@lexfrei**](https://github.com/lexfrei) in #4790, backport #5021). * **fix(platform)!: refuse a networking variant change on a live cluster**: The platform render now refuses to change the variant of a live `cozystack.networking` Package, because the operator would then delete the CNI HelmReleases the new variant does not install (`isp-full` to `isp-hosted` removes Cilium and Kube-OVN). To go ahead, set `networking.acknowledgeVariantChange` to the new networking variant named in the error. A cluster whose variant was set by hand, such as `cilium-kilo`, needs `cozystack.networking` in `bundles.disabledPackages` before the upgrade ([**@lexfrei**](https://github.com/lexfrei) in #4790, backport #5021).
* **fix(vm-disk)!: refuse a golden-image clone CDI would leave unbound**: A new disk from a golden image is refused with a clear error when CDI would CSI-clone it into another LINSTOR StorageClass that does not allow remote volume access from every node, instead of staying pending forever; a clone that would have landed on a node already holding a replica of the golden image is refused as well. Use the golden image's StorageClass or the `copy` clone strategy ([**@lexfrei**](https://github.com/lexfrei) in #4796, backport #5022). * **fix(vm-disk)!: refuse a golden-image clone CDI would leave unbound**: A new disk from a golden image is refused with a clear error when CDI would CSI-clone it into another LINSTOR StorageClass that does not allow remote volume access from every node, instead of staying pending forever; a clone that would have landed on a node already holding a replica of the golden image is refused as well. Use the golden image's StorageClass, or have the platform administrator set the CDI `cloneStrategyOverride` to `copy` in the kubevirt-cdi package ([**@lexfrei**](https://github.com/lexfrei) in #4796, backport #5022).
* **fix(kubernetes, opensearch, foundationdb)!: restrict managed application images**: Image overrides let tenants run arbitrary containers in the management cluster, including helpers with access to Talos CA secrets and Kubernetes API credentials, so the Kubernetes, KubernetesNodes and OpenSearch charts stop reading their `images.*` values and use the images the platform ships. Stored overrides are accepted without an admission warning and ignored; on the first reconcile OpenSearch nodes move to the image of their selected version and Kubernetes components whose images changed restart. FoundationDB replaces `cluster.version` with `version` (`v7.3` or `v7.4`, mapped to 7.3.63 and 7.4.1); migration 60 carries the release line over and records the releases that need attention, and the chart refuses a render whose `cluster.version` and `version` name different lines. An OpenSearch release that stores `version: null` is refused instead of rendering `v2` ([**@myasnikovdaniil**](https://github.com/myasnikovdaniil) in #5085, backport #5108). * **fix(kubernetes, opensearch, foundationdb)!: restrict managed application images**: Image overrides let tenants run arbitrary containers in the management cluster, including helpers with access to Talos CA secrets and Kubernetes API credentials, so the Kubernetes, KubernetesNodes and OpenSearch charts stop reading their `images.*` values and use the images the platform ships. Stored overrides are accepted without an admission warning and ignored; on the first reconcile OpenSearch nodes move to the image of their selected version and Kubernetes components whose images changed restart. FoundationDB replaces `cluster.version` with `version` (`v7.3` or `v7.4`, mapped to 7.3.63 and 7.4.1); migration 60 carries the release line over and records the releases that need attention, and the chart refuses a render whose `cluster.version` and `version` name different lines. An OpenSearch release that stores `version: null` is refused instead of rendering `v2` ([**@myasnikovdaniil**](https://github.com/myasnikovdaniil) in #5085, backport #5108).
## Major Features and Improvements ## Major Features and Improvements
@@ -114,7 +114,7 @@ Several changes in this release alter behavior of running clusters. Read this se
* **feat(computeplane): provision a ComputePlane tenant module for untrusted-code apps**: ComputePlane tenant module — a single-tenant, Cozystack-managed cluster for untrusted-code applications, delivered as an operator-owned extra module wrapping the kubernetes app ([**@kvaps**](https://github.com/kvaps) in #3280). * **feat(computeplane): provision a ComputePlane tenant module for untrusted-code apps**: ComputePlane tenant module — a single-tenant, Cozystack-managed cluster for untrusted-code applications, delivered as an operator-owned extra module wrapping the kubernetes app ([**@kvaps**](https://github.com/kvaps) in #3280).
* **feat(kubernetes): per-pool kernel modules for Talos worker nodes**: Worker node pools (`KubernetesNodes`) accept a `kernelModules` field, emitted as Talos `machine.kernel.modules`. A Talos system extension installs a kernel module without loading it, so a GPU pool previously came up with no working driver and no way to fix it through values ([**@mattia-eleuteri**](https://github.com/mattia-eleuteri) in #3571). * **feat(kubernetes): per-pool kernel modules for Talos worker nodes**: Worker node pools (`KubernetesNodes`) accept a `kernelModules` field, emitted as Talos `machine.kernel.modules`. A Talos system extension installs a kernel module without loading it, so a GPU pool previously came up with no working driver and no way to fix it through values ([**@mattia-eleuteri**](https://github.com/mattia-eleuteri) in #3571).
* **feat(kubernetes): route tenant worker image pulls through a registry mirror**: Add `talos.registryMirrors` to route tenant worker node image pulls through a registry mirror for air-gapped or flaky-egress environments. The field takes effect on `KubernetesNodes`; the same field on `Kubernetes` is copied into existing pools once at adoption and ignored afterwards ([**@IvanHunters**](https://github.com/IvanHunters) in #3575). * **feat(kubernetes): route tenant worker image pulls through a registry mirror**: Add `talos.registryMirrors` to route tenant worker node image pulls through a registry mirror for air-gapped or flaky-egress environments. The key is new in this release and takes effect only on `KubernetesNodes`, so set it on each pool; the `Kubernetes` resource accepts the same key, but no template of the `kubernetes` chart reads it ([**@IvanHunters**](https://github.com/IvanHunters) in #3575).
* **feat(kubernetes): default gpu-operator to an OS-provided driver on Talos**: The GPU Operator addon of tenant Kubernetes clusters now defaults to a driver provided by the operating system, which is the shape of the Talos workers these clusters have run since 1.6.0 ([**@mattia-eleuteri**](https://github.com/mattia-eleuteri) in #3585). * **feat(kubernetes): default gpu-operator to an OS-provided driver on Talos**: The GPU Operator addon of tenant Kubernetes clusters now defaults to a driver provided by the operating system, which is the shape of the Talos workers these clusters have run since 1.6.0 ([**@mattia-eleuteri**](https://github.com/mattia-eleuteri) in #3585).
* **feat(kubernetes): let a node group log the guest serial console**: Worker node groups accept `logSerialConsole`, which streams a worker VM's guest serial console into a `guest-console-log` container readable with `kubectl logs`. Off by default ([**@lexfrei**](https://github.com/lexfrei) in #3637). * **feat(kubernetes): let a node group log the guest serial console**: Worker node groups accept `logSerialConsole`, which streams a worker VM's guest serial console into a `guest-console-log` container readable with `kubectl logs`. Off by default ([**@lexfrei**](https://github.com/lexfrei) in #3637).
* **feat(kubernetes-nodes): let CDI trust a self-hosted Talos image factory**: Add `talos.imageFactoryCA` so CDI can verify a self-hosted Talos Image Factory served with a certificate from an internal CA. Previously the worker image import failed with `x509: certificate signed by unknown authority` ([**@batonogov**](https://github.com/batonogov) in #3797). * **feat(kubernetes-nodes): let CDI trust a self-hosted Talos image factory**: Add `talos.imageFactoryCA` so CDI can verify a self-hosted Talos Image Factory served with a certificate from an internal CA. Previously the worker image import failed with `x509: certificate signed by unknown authority` ([**@batonogov**](https://github.com/batonogov) in #3797).
@@ -338,7 +338,7 @@ Several changes in this release alter behavior of running clusters. Read this se
* **fix(foundationdb): let tenant roles read the connection ConfigMap**: Tenants previously had no way to obtain their FoundationDB connection string: the cluster file lives in a ConfigMap tenant subjects could not read and the dashboard resource map did not expose. The ConfigMap is now in the dashboard resource map with a Role/RoleBinding granting the tenant `use` access level get/list/watch on it ([**@yankawai**](https://github.com/yankawai) in #4148, shipped in v1.6.4). * **fix(foundationdb): let tenant roles read the connection ConfigMap**: Tenants previously had no way to obtain their FoundationDB connection string: the cluster file lives in a ConfigMap tenant subjects could not read and the dashboard resource map did not expose. The ConfigMap is now in the dashboard resource map with a Role/RoleBinding granting the tenant `use` access level get/list/watch on it ([**@yankawai**](https://github.com/yankawai) in #4148, shipped in v1.6.4).
* **fix(opensearch-operator): raise vm.max_map_count on every node from a DaemonSet**: Set `vm.max_map_count` on every node from a DaemonSet in the operator's namespace, so OpenSearch no longer depends on a privileged init container that PodSecurity baseline refuses in a tenant namespace ([**@lexfrei**](https://github.com/lexfrei) in #4152). * **fix(opensearch-operator): raise vm.max_map_count on every node from a DaemonSet**: Set `vm.max_map_count` on every node from a DaemonSet in the operator's namespace, so OpenSearch no longer depends on a privileged init container that PodSecurity baseline refuses in a tenant namespace ([**@lexfrei**](https://github.com/lexfrei) in #4152).
* **fix(harbor-rd): carry the release prefix in the resource selectors**: The ApplicationDefinition selectors for Harbor's Secret, Service and Ingress now carry the release prefix, so they match the objects the chart creates. No user-visible change — the Secret already reached tenants through a label-based workaround, and nothing consumes the Service and Ingress labels ([**@kvaps**](https://github.com/kvaps) in #4170). * **fix(harbor-rd): carry the release prefix in the resource selectors**: The ApplicationDefinition selectors for Harbor's Secret, Service and Ingress now carry the release prefix, so they match the objects the chart creates. No user-visible change — the Secret already reached tenants through a label-based workaround, and nothing consumes the Service and Ingress labels ([**@kvaps**](https://github.com/kvaps) in #4170).
* **fix(opensearch-operator): align DNS_BASE with the platform cluster domain**: The operator's DNS_BASE now follows the platform cluster domain (`networking.clusterDomain`) instead of the upstream `cluster.local` default, so the securityconfig job and OpenSearch Dashboards reach the cluster on installations that use `cozy.local`. On a cluster whose `networking.clusterDomain` is not `cluster.local`, the default `cozy.local` included, an instance created before this release keeps the `<release>-securityconfig-update` Job the operator created with the `.svc.cluster.local` host: the upgrade does not replace that Job, so security is never initialized and the nodes stay unready ([**@lexfrei**](https://github.com/lexfrei) in #4185). * **fix(opensearch-operator): align DNS_BASE with the platform cluster domain**: The operator's DNS_BASE now follows the platform cluster domain (`networking.clusterDomain`) instead of the upstream `cluster.local` default, so the securityconfig job and OpenSearch Dashboards reach the cluster on installations that use `cozy.local`. On a cluster whose `networking.clusterDomain` is not `cluster.local`, the default `cozy.local` included, the `<release>-securityconfig-update` Job of an instance created before this release keeps pointing at `.svc.cluster.local`, which does not resolve there, and the operator does not replace it. Deleting that Job in the instance's namespace makes the operator create a new one with the platform's cluster domain (on a test cluster the new Job connected to the cluster within seconds); that the instance then finishes initializing was not confirmed ([**@lexfrei**](https://github.com/lexfrei) in #4185).
* **fix(postgres): follow-up review remarks from #3954 (KEDA autoscaling)**: `helm unittest` green: postgres 66/66, cozy-lib-tests 45/45, keda 12/12. Both behaviour changes are mutation-verified (reverting the fix reddens the suite). No generated artifacts affected (no `values.yaml`/`values.schema.json`/`Chart.yaml`/`README.md` changes) ([**@scooby87**](https://github.com/scooby87) in #4188). * **fix(postgres): follow-up review remarks from #3954 (KEDA autoscaling)**: `helm unittest` green: postgres 66/66, cozy-lib-tests 45/45, keda 12/12. Both behaviour changes are mutation-verified (reverting the fix reddens the suite). No generated artifacts affected (no `values.yaml`/`values.schema.json`/`Chart.yaml`/`README.md` changes) ([**@scooby87**](https://github.com/scooby87) in #4188).
* **fix(opensearch): give the securityconfig update job its own resources**: Stop the securityconfig update job being OOMKilled at the tenant namespace memory default, which left new clusters stuck with security uninitialized and every node unready ([**@IvanHunters**](https://github.com/IvanHunters) in #4228). * **fix(opensearch): give the securityconfig update job its own resources**: Stop the securityconfig update job being OOMKilled at the tenant namespace memory default, which left new clusters stuck with security uninitialized and every node unready ([**@IvanHunters**](https://github.com/IvanHunters) in #4228).
* **fix(opensearch-operator): keep a single-replica cluster electable after bootstrap**: Exclude the bootstrap node from the voting configuration before removing it, so a single-replica OpenSearch cluster stays able to elect a cluster-manager ([**@IvanHunters**](https://github.com/IvanHunters) in #4231). * **fix(opensearch-operator): keep a single-replica cluster electable after bootstrap**: Exclude the bootstrap node from the voting configuration before removing it, so a single-replica OpenSearch cluster stays able to elect a cluster-manager ([**@IvanHunters**](https://github.com/IvanHunters) in #4231).
@@ -409,7 +409,7 @@ Several changes in this release alter behavior of running clusters. Read this se
### Monitoring and observability ### Monitoring and observability
* **fix(monitoring): send alerts to every Alertmanager replica**: vmalert now notifies each Alertmanager replica directly instead of the shared Service, so the Alertmanager cluster deduplicates alerts and a long-running alert no longer produces repeated firing and resolved notifications ([**@yankawai**](https://github.com/yankawai) in #4889, backport #4943, shipped in v1.6.5). * **fix(monitoring): send alerts to every Alertmanager replica**: vmalert now notifies each Alertmanager replica directly instead of the shared Service, so the Alertmanager cluster deduplicates alerts and a long-running alert no longer produces repeated firing and resolved notifications ([**@yankawai**](https://github.com/yankawai) in #4889, backport #4943, shipped in v1.6.5).
* **fix(monitoring): strip infrastructure metadata from tenant logs**: Container logs keep only the pod, namespace and container name of the Kubernetes metadata: node, host, labels, annotations, pod ID and image are removed from every container log, platform namespaces included, so queries and alerts on those fields must be updated ([**@mattia-eleuteri**](https://github.com/mattia-eleuteri) in #2196). * **fix(monitoring): strip infrastructure metadata from tenant logs**: Container logs keep only the pod, namespace and container name of the Kubernetes metadata: the node name (`host`), labels, annotations, pod ID and image are removed from every container log, platform namespaces included, so queries and alerts on those fields must be updated ([**@mattia-eleuteri**](https://github.com/mattia-eleuteri) in #2196).
* **fix(telemetry): make the documented opt-out cover both collectors**: Telemetry is reported by two components — `cozystack-operator` and `cozystack-controller` — but only the operator had a reachable opt-out switch; the documented `cozystackOperator.disableTelemetry` setting could never reach the controller, which kept posting application counts every 15 minutes even after an operator followed the published opt-out procedure ([**@kvaps**](https://github.com/kvaps) in #3791, shipped in v1.6.3). * **fix(telemetry): make the documented opt-out cover both collectors**: Telemetry is reported by two components — `cozystack-operator` and `cozystack-controller` — but only the operator had a reachable opt-out switch; the documented `cozystackOperator.disableTelemetry` setting could never reach the controller, which kept posting application counts every 15 minutes even after an operator followed the published opt-out procedure ([**@kvaps**](https://github.com/kvaps) in #3791, shipped in v1.6.3).
* **fix(monitoring): give kube-apiserver its own scrape size limit**: Kube-apiserver is scraped with its own 128MB size limit (`vmagent.apiserverMaxScrapeSize` in the monitoring-agents component) instead of the global 32MB, so a large `/metrics` no longer makes KubeAPIDown fire on a healthy API server ([**@IvanHunters**](https://github.com/IvanHunters) in #4427). * **fix(monitoring): give kube-apiserver its own scrape size limit**: Kube-apiserver is scraped with its own 128MB size limit (`vmagent.apiserverMaxScrapeSize` in the monitoring-agents component) instead of the global 32MB, so a large `/metrics` no longer makes KubeAPIDown fire on a healthy API server ([**@IvanHunters**](https://github.com/IvanHunters) in #4427).
* **fix(workloadmonitor): populate VM instance-profile label from the KubeVirt preference annotation**: `WorkloadMonitor` read a `kubevirt.io/cluster-instanceprofile-name` annotation that KubeVirt never writes; the real annotation is `kubevirt.io/cluster-preference-name`. Reading the correct key means a VM's instance profile — a Windows guest, for example — now reaches the billing metric pipeline instead of being silently dropped ([**@IvanHunters**](https://github.com/IvanHunters) in #4448, shipped in v1.6.4). * **fix(workloadmonitor): populate VM instance-profile label from the KubeVirt preference annotation**: `WorkloadMonitor` read a `kubevirt.io/cluster-instanceprofile-name` annotation that KubeVirt never writes; the real annotation is `kubevirt.io/cluster-preference-name`. Reading the correct key means a VM's instance profile — a Windows guest, for example — now reaches the billing metric pipeline instead of being silently dropped ([**@IvanHunters**](https://github.com/IvanHunters) in #4448, shipped in v1.6.4).
+3 -3
View File
@@ -16,14 +16,14 @@ Several changes in this release alter behavior of running clusters. Read this se
2. **Tenant Kubernetes worker pools move to `KubernetesNodes` (#3315, #3379).** Existing pools are adopted on upgrade and roll their worker VMs once; a pool that is not adopted is listed in ConfigMap `cozy-system/cozystack-migration-56-unadopted` and needs to be adopted or recreated by hand, a cluster that uses the `ingressNginx` addon needs a pool with `roles: [ingress-nginx]`, and the `addons.fluxcd` addon is removed. ([details][pre-upgrade]) 2. **Tenant Kubernetes worker pools move to `KubernetesNodes` (#3315, #3379).** Existing pools are adopted on upgrade and roll their worker VMs once; a pool that is not adopted is listed in ConfigMap `cozy-system/cozystack-migration-56-unadopted` and needs to be adopted or recreated by hand, a cluster that uses the `ingressNginx` addon needs a pool with `roles: [ingress-nginx]`, and the `addons.fluxcd` addon is removed. ([details][pre-upgrade])
3. **Kamaji rolls every tenant control plane (#4398).** Every tenant kube-apiserver rolls on the first reconcile and again when the tenant's `kubernetes` release is upgraded; in between, a tenant that sets `--enable-admission-plugins=` in `controlPlane.apiServer.extraArgs` runs with Kamaji's default admission plugins, which do not include NodeRestriction. Plan the upgrade window accordingly. ([details][pre-upgrade]) 3. **Kamaji rolls every tenant control plane (#4398).** Every tenant kube-apiserver rolls on the first reconcile and again when the tenant's `kubernetes` release is upgraded; in between, a tenant that sets `--enable-admission-plugins=` in `controlPlane.apiServer.extraArgs` runs with Kamaji's default admission plugins, which do not include NodeRestriction. Plan the upgrade window accordingly. ([details][pre-upgrade])
4. **Cilium takes its addresses from a reserved block on Kube-OVN variants (#4778).** `networking.podCIDR` must be `/20` or wider on these variants, and each Cilium agent restarts twice when upgrading from v1.6.4 or earlier. ([details][pre-upgrade]) 4. **Cilium takes its addresses from a reserved block on Kube-OVN variants (#4778).** `networking.podCIDR` must be `/20` or wider on these variants, and each Cilium agent restarts twice when upgrading from v1.6.4 or earlier. ([details][pre-upgrade])
5. **KubeVirt eviction and hotplug changes (#4403, #4453).** VMs that cannot live-migrate are shut down and restarted instead of blocking a drain, but a running VM keeps the old strategy until it restarts, so restart such VMs once after upgrading if their nodes need to drain. On a `VMInstance` the upgrade unplugs a volume hot-plugged only on the VMI: before upgrading, detach it inside the guest, remove it with `virtctl removevolume`, and add the disk to the VMInstance's `spec.disks`. ([details][pre-upgrade]) 5. **KubeVirt eviction and hotplug changes (#4403, #4453).** VMs that cannot live-migrate are shut down and restarted instead of blocking a drain, but a running VM keeps the old strategy until it restarts, so restart such VMs once after upgrading if their nodes need to drain. On a `VMInstance` the upgrade unplugs a volume hot-plugged only on the VMI: before upgrading, detach it inside the guest, remove it with `virtctl removevolume`, and add the disk to the VMInstance's `spec.disks`, where at v1.6.5 it attaches only at the VM's next restart. ([details][pre-upgrade])
6. **External exposure now requires TLS (#4639, #4847, #2682).** Redis exposure needs `tls.enabled: true`, external PostgreSQL refuses plaintext sessions unless `tls.required: false` is set, and external OpenSearch moves to the chart's cert-manager CA; clients that connected with `sslmode=disable` or skipped certificate verification must be updated. ([details][pre-upgrade]) 6. **External exposure now requires TLS (#4639, #4847, #2682).** Redis exposure needs `tls.enabled: true`, external PostgreSQL refuses plaintext sessions unless `tls.required: false` is set, and external OpenSearch moves to the chart's cert-manager CA; clients that connected with `sslmode=disable` or skipped certificate verification must be updated. ([details][pre-upgrade])
7. **Tenant route hostnames are mandatory (#3475, #3342, #4638, #3872).** An `HTTPRoute`, `TLSRoute` or `GRPCRoute` in a `tenant-*` namespace must declare a non-empty `spec.hostnames`; an existing route without them keeps serving, but its next update, a Helm upgrade included, is refused. ([details][pre-upgrade]) 7. **Tenant route hostnames are mandatory (#3475, #3342, #4638, #3872).** An `HTTPRoute`, `TLSRoute` or `GRPCRoute` in a `tenant-*` namespace must declare a non-empty `spec.hostnames`; an existing route without them keeps serving, but its next update, a Helm upgrade included, is refused. ([details][pre-upgrade])
8. **Managed PostgreSQL and MariaDB user passwords (#4078, #4574).** `users[].password` is no longer honored and passwords are always auto-generated; roles left behind by users removed from `users` on v1.6.x are dropped on the first reconcile, and clients still logging in with such a role lose access. ([details][pre-upgrade]) 8. **Managed PostgreSQL and MariaDB user passwords (#4078, #4574).** `users[].password` is no longer honored and passwords are always auto-generated; roles left behind by users removed from `users` on v1.6.x are dropped on the first reconcile, and clients still logging in with such a role lose access. ([details][pre-upgrade])
9. **Smaller breaking changes (#4405, #4569, #3411, #3195, #4512, #4200).** Fix `vm-instance` resources that cannot size a VM, keep `ApplicationDefinition.spec.release.prefix` within `^[a-z0-9-]*$` and upgrade FoundationDB 7.1.x clusters to 7.3 first; multus now stages the reference CNI plugins into `/opt/cni/bin`, and HTTPCache is removed from the catalog. ([details][pre-upgrade]) 9. **Smaller breaking changes (#4405, #4569, #3411, #3195, #4512, #4200).** Fix `vm-instance` resources that cannot size a VM, keep `ApplicationDefinition.spec.release.prefix` within `^[a-z0-9-]*$` and upgrade FoundationDB 7.1.x clusters to 7.3 first; multus now stages the reference CNI plugins into `/opt/cni/bin`, and HTTPCache is removed from the catalog. ([details][pre-upgrade])
10. **A platform variant switch on a live cluster is refused (#4790, backport #5021).** A switch goes through only with `networking.acknowledgeVariantChange` set to the new variant, and a cluster whose `cozystack.networking` variant was set by hand needs `cozystack.networking` in `bundles.disabledPackages` before the upgrade. ([details][pre-upgrade]) 10. **A platform variant switch on a live cluster is refused (#4790, backport #5021).** A switch goes through only with `networking.acknowledgeVariantChange` set to the new variant, and a cluster whose `cozystack.networking` variant was set by hand needs `cozystack.networking` in `bundles.disabledPackages` before the upgrade. ([details][pre-upgrade])
11. **A golden-image disk into an unsuitable LINSTOR class is refused (#4796, backport #5022).** Existing disks are exempt; for a new one use the golden image's StorageClass or the `copy` clone strategy. ([details][pre-upgrade]) 11. **A golden-image disk into an unsuitable LINSTOR class is refused (#4796, backport #5022).** Existing disks are exempt; for a new one use the golden image's StorageClass, or have the platform administrator set the CDI `cloneStrategyOverride` to `copy`. ([details][pre-upgrade])
12. **Pod rolls on upgrade.** Kafka clusters, SeaweedFS components, `kube-multus`, the LINSTOR pods and the Redis Sentinel and data pods roll once (#5019, #5028, #5018, #5020, #4831), and every PostgreSQL instance restarts once (#3951); a cluster with one instance is unavailable while its pod restarts. ([details][pre-upgrade]) 12. **Pod rolls on upgrade.** Kafka clusters, SeaweedFS components, `kube-multus`, the LINSTOR pods and the Redis Sentinel and data pods roll once (#5019, #5028, #5018, #5020, #4831), and every PostgreSQL instance restarts at least once (#3951); a cluster with one instance is unavailable while its pod restarts. ([details][pre-upgrade])
13. **FoundationDB selects a release line, not a version (#5085, backport #5108).** `version: v7.3` or `v7.4` deploys 7.3.63 or 7.4.1, a cluster on another patch of its line is moved to the pinned one, downwards included, and a release on 7.1 or on mismatched lines is refused; check the running patch of every FoundationDB cluster before upgrading and read the `cozystack.io/migration-60-needs-attention` annotation afterwards. ([details][pre-upgrade]) 13. **FoundationDB selects a release line, not a version (#5085, backport #5108).** `version: v7.3` or `v7.4` deploys 7.3.63 or 7.4.1, a cluster on another patch of its line is moved to the pinned one, downwards included, and a release on 7.1 or on mismatched lines is refused; check the running patch of every FoundationDB cluster before upgrading and read the `cozystack.io/migration-60-needs-attention` annotation afterwards. ([details][pre-upgrade])
14. **Image overrides of Kubernetes, KubernetesNodes and OpenSearch are no longer read (#5085, backport #5108).** Stored `images.*` values are ignored, with no API warning, and the workloads move to the platform's images; check custom OpenSearch images before upgrading, set `version` on an OpenSearch release that stores `version: null`, and mirror `docker.io` and `ghcr.io` on air-gapped management-cluster nodes. ([details][pre-upgrade]) 14. **Image overrides of Kubernetes, KubernetesNodes and OpenSearch are no longer read (#5085, backport #5108).** Stored `images.*` values are ignored, with no API warning, and the workloads move to the platform's images; check custom OpenSearch images before upgrading, set `version` on an OpenSearch release that stores `version: null`, and mirror `docker.io` and `ghcr.io` on air-gapped management-cluster nodes. ([details][pre-upgrade])
15. **A disk still importing holds its release during the upgrade (#5087, backport #5126).** Such a `vm-disk` release can fail its upgrade and occupy a helm-controller worker until it reconciles on its own, about 20 minutes on a test cluster; finish running imports before upgrading (`kubectl get dv -A`). ([details][pre-upgrade]) 15. **A disk still importing holds its release during the upgrade (#5087, backport #5126).** Such a `vm-disk` release can fail its upgrade and occupy a helm-controller worker until it reconciles on its own, about 20 minutes on a test cluster; finish running imports before upgrading (`kubectl get dv -A`). ([details][pre-upgrade])