Files
cozystack/docs/changelogs/v0.39.0.md
T

11 KiB

Cozystack v0.39 — "Enhanced Networking & Monitoring"

This release introduces topology-aware routing for Cilium services, automatic pod rollouts on configuration changes, improved monitoring capabilities, and numerous bug fixes and improvements across the platform.

Highlights

  • Topology-Aware Routing: Enabled topology-aware routing for Cilium services, improving traffic distribution and reducing latency by routing traffic to endpoints in the same zone when possible (@nbykov0 in #1734).
  • Automatic Pod Rollouts: Cilium and Cilium operator pods now automatically restart when configuration changes, ensuring configuration updates are applied immediately (@kvaps in #1728).
  • Windows VM Scheduling: Added nodeAffinity configuration for Windows VMs based on scheduling config, enabling dedicated nodes for Windows workloads (@kvaps in #1693).
  • SeaweedFS Updates: Updated to SeaweedFS v4.02 with improved S3 daemon performance and fixes (@kvaps in #1725).

Major Features and Improvements

Networking

  • [system/cilium] Enable topology-aware routing for services: Enabled topology-aware routing for services, improving traffic distribution and reducing latency by routing traffic to endpoints in the same zone when possible. This feature helps optimize network performance in multi-zone deployments (@nbykov0 in #1734).
  • [cilium] Enable automatic pod rollout on configmap updates: Cilium and Cilium operator pods now automatically restart when the cilium-config ConfigMap is updated, ensuring configuration changes are applied immediately without manual intervention (@kvaps in #1728).

Virtual Machines

  • [virtual-machine,vm-instance] Add nodeAffinity for Windows VMs based on scheduling config: Added nodeAffinity configuration to virtual-machine and vm-instance charts to support dedicated nodes for Windows VMs. When dedicatedNodesForWindowsVMs is enabled in the cozystack-scheduling ConfigMap, Windows VMs are scheduled on nodes with label scheduling.cozystack.io/vm-windows=true, while non-Windows VMs prefer nodes without this label (@kvaps in #1693).

Storage

  • Update SeaweedFS v4.02: Updated SeaweedFS to version 4.02 with improved performance for S3 daemon and fixes for known issues. This update includes better S3 compatibility and performance improvements (@kvaps in #1725).

Tools

  • [talm] feat(init)!: require --name flag for cluster name: Breaking change: The talm init command now requires the --name flag to specify the cluster name. This ensures consistent cluster naming and prevents accidental initialization without a name (@lexfrei in cozystack/talm#86).
  • [talm] feat(template): preserve extra YAML documents in output: Templates now preserve extra YAML documents in the output, allowing for more flexible template processing (@lexfrei in cozystack/talm#87).
  • [talm] feat: add directory expansion for -f flag: Added directory expansion support for the -f flag, allowing users to specify directories instead of individual files (@kvaps in cozystack/talm@ca5713e).
  • [talm] Introduce automatic root detection: Added automatic root detection logic to simplify talm usage and reduce manual configuration (@kvaps in cozystack/talm@d165162).
  • [talm] Introduce talm kubeconfig --login command: Added new talm kubeconfig --login command for easier kubeconfig management (@kvaps in cozystack/talm@5f7e05b).
  • [talm] Introduce encryption: Added encryption support to talm for secure configuration management (@kvaps in cozystack/talm#81).
  • [talm] Replace code-generation with wrapper on talosctl: Refactored talm to use a wrapper on talosctl instead of code generation, simplifying the codebase and improving maintainability (@kvaps in cozystack/talm#80).
  • [talm] Use go embed instead of code generation: Migrated from code generation to go embed for better build performance and simpler dependency management (@kvaps in cozystack/talm#79).
  • [boot-to-talos] Cozystack: Update Talos Linux v1.11.3: Updated boot-to-talos to use Talos Linux v1.11.3 (@kvaps in cozystack/boot-to-talos#7).

Improvements

  • [seaweedfs] Extended CA certificate duration to reduce disruptive CA rotations: Extended CA certificate duration to reduce disruptive CA rotations, improving long-term certificate management and reducing operational overhead (@IvanHunters in #1657).
  • [dashboard] Add config hash annotations to restart pods on config changes: Added config hash annotations to dashboard deployment templates to ensure pods are automatically restarted when their configuration changes, ensuring configuration updates are applied immediately (@kvaps in #1662).
  • [tenant][kubernetes] Introduce better cleanup logic: Improved cleanup logic for tenant Kubernetes resources, ensuring proper resource cleanup when tenants are deleted or updated. Added automated pre-delete cleanup job for tenant namespaces to remove tenant-related releases during uninstall (@kvaps in #1661).
  • [system:coredns] update coredns app labels to match Talos coredns labels: Updated coredns app labels to match Talos coredns labels, ensuring consistency across the platform (@nbykov0 in #1675).
  • [system:monitoring-agents] rename coredns metrics service: Renamed coredns metrics service to avoid interference with coredns service used for name resolution in tenant k8s clusters (@nbykov0 in #1676).
  • [core:installer] Address buildx warnings: Fixed Dockerfile syntax warnings from buildx, ensuring clean builds without warnings (@nbykov0 in #1682).
  • [talm] Refactor root detection logic into single file: Improved code organization by consolidating root detection logic into a single file (@kvaps in cozystack/talm@487b479).
  • [talm] Refactor init logic, better upgrade: Improved initialization logic and upgrade process for better reliability (@kvaps in cozystack/talm@c512777).
  • [talm] Sugar for kubeconfig command: Added convenience features to the kubeconfig command for improved usability (@kvaps in cozystack/talm@a4010b3).
  • [talm] wrap upgrade command: Wrapped upgrade command for better integration and error handling (@kvaps in cozystack/talm@2e1afbf).
  • [talm] docs(readme): add Homebrew installation option: Added Homebrew installation option to the README for easier installation on macOS (@lexfrei in cozystack/talm@12bd4f2).
  • [talm] cozystack: disable nodeCIDRs allocation: Disabled nodeCIDRs allocation in talm for better network configuration control (@kvaps in cozystack/talm#82).
  • [talm] Update license to Apache2.0: Updated license to Apache 2.0 for better compatibility and clarity (@kvaps in cozystack/talm@eda1032).

Fixes

  • [apps] Refactor apiserver to use typed objects and fix UnstructuredList GVK: Refactored the apiserver REST handlers to use typed objects (appsv1alpha1.Application) instead of unstructured.Unstructured, eliminating the need for runtime conversions and simplifying the codebase. Additionally, fixed an issue where UnstructuredList objects were using the first registered kind from typeToGVK instead of the kind from the object's field when multiple kinds are registered with the same Go type. This fix includes the upstream fix from kubernetes/kubernetes#135537 (@kvaps in #1679).
  • [dashboard] Fix CustomFormsOverride schema to nest properties under spec.properties: Fixed the logic for generating CustomFormsOverride schema to properly nest properties under spec.properties instead of directly under properties, ensuring correct form schema generation (@kvaps in #1692).
  • [virtual-machine] Improve check for resizing job: Improved storage resize logic to only expand persistent volume claims when storage is being increased, preventing unintended storage reduction operations. Added validation to accurately compare current and desired storage sizes before triggering resize operations (@kvaps in #1688).
  • [linstor] Update piraeus-operator v2.10.2: Updated LINSTOR CSI to fix issues with the new fsck behaviour, resolving mount failures when fsck attempts to run on mounted devices (@kvaps in #1689).
  • [api] Revert dynamic list kinds representation fix (fixes namespace deletion regression): Reverted changes from #1630 that caused a regression affecting namespace deletion and upgrades from previous versions. The regression caused namespace deletion failures with errors like "content is not a list: []unstructured.Unstructured" during namespace finalization. This revert restores compatibility with namespace deletion controller and fixes upgrade issues from previous versions (@kvaps in #1677).
  • [talm] fix: normalize template paths for Windows compatibility: Fixed template path handling to ensure Windows compatibility by normalizing paths (@lexfrei in cozystack/talm#88).

Dependencies

  • Update SeaweedFS v4.02: Updated SeaweedFS to version 4.02 (@kvaps in #1725).
  • [linstor] Update piraeus-operator v2.10.2: Updated piraeus-operator to version 2.10.2 (@kvaps in #1689).
  • [talm] Cozystack: Update Talos Linux v1.11.3: Updated talm to use Talos Linux v1.11.3 (@kvaps in cozystack/talm#83).

Documentation

  • [website] Add article: Talm v0.17: Built-in Age Encryption for Secrets Management: Added comprehensive blog post announcing Talm v0.17 and its built-in age-based encryption for secrets. Covers initial setup and key generation, encryption/decryption workflows, idempotent encryption behavior, automatic .gitignore handling, file permission safeguards, security best practices, and guidance for GitOps and CI/CD integration (@kvaps in cozystack/website#384).
  • [website] docs(talm): update talm init syntax for mandatory --preset and --name flags: Updated documentation to reflect breaking changes in talm, adding mandatory --preset and --name flags to the talm init command (@lexfrei in cozystack/website#386).

Contributors

We'd like to thank all contributors who made this release possible:


Full Changelog: v0.38.0...v0.39.0