Skip to content

Releases: microsoft/kata-containers

3.2.0.azl4

10 Jan 21:10
a96690c
Compare
Choose a tag to compare

Release notes

  • Use Azl3 as default for node builder recipes
  • Addressed CVEs: CVE-2024-43806, CVE-2024-24786, CVE-2023-45288, CVE-2023-39325, CVE-2024-43806
  • Improved agent logging verbosity
  • Faster confidential pod startup
  • Allow pods with larger memory requests to start by increasing the timeout for CreateVM
  • Reduced memory usage for the guest image
  • Improved memory overhead management
  • Remove unused VMM options for memory allocation
  • Assign a default number of vcpus (1) to the VM when no limits are given
  • Added policy state support to agent

What's Changed

  • tools: Align AGENT_POLICY_FILE check in rootfs-builder with upstream by @ms-mahuber in #244
  • node-builder: Use Azure Linux 3 as default path by @ms-mahuber in #251
  • libs:logging: Fix logger by @danmihai1 in #248
  • Fix logging verbosity comment to accurately reflect clh behavior by @Camelron in #249
  • node-builder: Deploy-only recipe for AzL3 VMs by @ms-mahuber in #254
  • runtime: skip logging some of the dial errors by @danmihai1 in #253
  • build(deps): bump rustix from 0.37.3 to 0.37.27 in /src/agent by @dependabot in #246
  • build(deps): bump google.golang.org/protobuf from 1.29.1 to 1.33.0 in /src/runtime by @dependabot in #243
  • build(deps): bump dependency golang.org/x/net to v0.23.0 by @Sumynwa in #261
  • build(deps): bump rustix from 0.37.19 to 0.37.27 in /src/tardev-snapshotter by @dependabot in #262
  • runtime: Set memory config shared=false when shared_fs=None in CLH by @Sumynwa in #265
  • runtime: relax timeout for CreateVM + BootVM in CLH by @Sumynwa in #268
  • agent: fix make test by @Sumynwa in #266
  • reduce the memory usage for the guest image by @danmihai1 in #280
  • runtime: improved memory overhead management by @danmihai1 in #281
  • runtime: Remove unused VMM options for mem alloc by @ms-mahuber in #283
  • runtime: Allocate default workload vcpus by @ms-mahuber in #282
  • policy: cherry pick state policy changes from upstream by @Redent0r in #273

Full Changelog: 3.2.0.azl3...3.2.0.azl4

3.2.0.azl3.genpolicy3

08 Jan 00:14
89277cc
Compare
Choose a tag to compare

Release notes

  • Strengthen validation for bundle path annotation received from agent

What's Changed

Limitations and important notes

  • UDP protocol for Services, LoadBalancers, and EndpointSlices is not supported
  • Only supports pods that use IPv4 addresses
  • Windows is not supported

Full Changelog: 3.2.0.azl3.genpolicy2...3.2.0.azl3.genpolicy3

3.2.0.azl3.genpolicy2

19 Dec 17:17
609a121
Compare
Choose a tag to compare

Release notes

  • Improve ExecProcess request validation by validating the Process field from the input
  • Improve CopyFile request validation by matching specific regexp patterns against symlink sources

What's Changed

Limitations and important notes

  • UDP protocol for Services, LoadBalancers, and EndpointSlices is not supported
  • Only supports pods that use IPv4 addresses
  • Windows is not supported

Full Changelog: 3.2.0.azl3.genpolicy1...3.2.0.azl3.genpolicy2

3.2.0.azl3.genpolicy1

17 Dec 00:07
02842bc
Compare
Choose a tag to compare

Release notes

  • Strengthen validation for copyFile request by blocking self symlink paths

What's Changed

  • genpolicy: block self paths for copyFile requests by @Redent0r in #271

Limitations and important notes

  • UDP protocol for Services, LoadBalancers, and EndpointSlices is not supported
  • Only supports pods that use IPv4 addresses
  • Windows is not supported

Full Changelog: 3.2.0.azl3.genpolicy0...3.2.0.azl3.genpolicy1

3.2.0.azl3.genpolicy0

13 Dec 00:02
06ea445
Compare
Choose a tag to compare

Release notes

  • Support dynamic SMB storage class options
  • Updated Dockerfile to build genpolicy tool on Azure Linux and link openssl statically. This makes it easy to build and use genpolicy tool in other distros through Docker
  • Support securityContext.runAsUser field on other K8s YAML resources, besides just pods
  • Fixed deserialization error by ignoring optional metadata.uid field

What's Changed

Limitations and important notes

  • UDP protocol for Services, LoadBalancers, and EndpointSlices is not supported
  • Only supports pods that use IPv4 addresses
  • Windows is not supported

Full Changelog: 3.2.0.azl1.genpolicy1...3.2.0.azl3.genpolicy0

3.2.0.azl3

27 Sep 19:18
3a0ca4e
Compare
Choose a tag to compare

Release notes

  • Build: Added igvm-builder and node-builder/azure-linux build and deployment recipes
  • Policy: Fix the regressed AllowRequestsFailingPolicy functionality
  • Storage: Added guide to install new CSI drivers

Note: This release is intended for Azure Linux 3 only.

What's Changed

  • tools: Add initial igvm-builder and node-builder/azure-linux scripting by @ms-mahuber in #188
  • virtcontainers: update sev_snp param serialization by @Redent0r in #197
  • Cherry-pick upstream PR kata-containers#9825: osbuilder: allow rootfs builds w/o git or version file deps by @ms-mahuber in #206
  • tools: Improve igvm-builder and node-builder/azure-linux scripting by @ms-mahuber in #204
  • tardev: update tardev-snapshotter.service by @miz060 in #209
  • agent: fix the AllowRequestsFailingPolicy functionality by @danmihai1 in #212
  • docs: add guide to install new CSI drivers by @sprt in #214
  • tools: Add package-tools-install functionality by @ms-mahuber in #215
  • tools: Enable setting IGVM SVN by @ms-mahuber in #224
  • node-builder: introduce BUILD_TYPE variable by @sprt in #216
  • node-builder: introduce SHIM_REDEPLOY_CONFIG by @sprt in #226
  • node-builder: Use image for Pod Sandboxing by @ms-mahuber in #227

Limitations and important notes

  • This release requires genpolicy release 3.2.0.azl0.genpolicy1 and onwards

Full Changelog: 3.2.0.azl2...3.2.0.azl3

3.2.0.azl1.genpolicy1

23 Aug 19:14
dc2d4de
Compare
Choose a tag to compare

Release notes

  • Added support for Cronjob Kubernetes manifest.
  • Enhanced policy validation by rejecting untested values coming from CreateContainerRequest

What's Changed

  • genpolicy: add support for cron jobs by @Redent0r in #218
  • genpolicy: reject untested CreateContainer field values by @Redent0r in #219

Limitations and important notes

  • This release is only compatible with Kata components based on release 3.2.0.azl0 and onwards
  • UDP protocol for Services, LoadBalancers, and EndpointSlices is not supported
  • Only supports pods that use IPv4 addresses
  • Windows is not supported

Full Changelog: 3.2.0.azl1.genpolicy0...3.2.0.azl1.genpolicy1

3.2.0.azl1.genpolicy0

09 Jul 16:27
2d32df1
Compare
Choose a tag to compare

Release Notes

  • Added support new confidential CSI driver types (cc-managed-csi, cc-local-csi driver, cc-azurefile-csi drivers)
  • Added support for pulling container image layers using containerd (-d). This enables:
    • Managed identity authentication to private registries
    • Support for images with v1 manifest and prettyjws media type
  • Added support for read-only hostPath in pod spec
  • Updated caching mechanism for image layers to allow to run in parallel
  • Added version flag (-v)
  • Added support for non-default namespace names. It may now be specified in the genpolicy-settings.json file.
  • You may now also specify persistent volume claims (PVCs) using -c param (for e.g. CSI driver)
  • Improved handling of images that have layers with special symlinks (tarfsindex crate)
  • Added persistent storage support for statefulsets

What's Changed

Limitations and important notes

  • This release is only compatible with Kata components based on release 3.2.0.azl0 and onwards
  • Building method has been updated from cargo build to LIBC=gnu BUILD_TYPE= make
  • Removed -i option. Simplify path handling with explicit flags for rules.rego (-p) and genpolicy-settings.json (-j)
  • Authentication to private registries is not supported on Windows
  • Windows support will be deprecated next release
  • Doesn't support CronJob deployment
  • Doesn't support the UDP protocol for Services, LoadBalancers, and EndpointSlices
  • Only supports pods that use IPv4 addresses

Full Changelog: 3.2.0.azl0.genpolicy1...3.2.0.azl1.genpolicy0

3.2.0.azl2

05 Jun 19:40
Compare
Choose a tag to compare

This release only applies #197 over 3.2.0.azl1. This is needed to upgrade to LSG release v2405.9.2
Full Changelog: 3.2.0.azl1...3.2.0.azl2

3.2.0.azl1

27 Apr 22:33
dda2c28
Compare
Choose a tag to compare

Release Notes

  • Reliability fixes for tarfs driver (ex. support for directories with many files in container images)
  • Improved handling of images that have layers with special symlinks (tarfsindex crate)
  • Add support to handle SMB mounts in the guest VM to work with the cc-azurefile-csi driver
  • Improved agent shutdown behavior
  • Use PCI segments 1+ for blk devices. This adds support for container images with more than 31 layers
  • Remove opa and replaced with regorus
    • Improves policy diagnosis and debugging
  • Improved cleanup behavior of clh process where sometimes the process would occasionally linger after requesting to kill it

What's Changed

Full Changelog: 3.2.0.azl0...3.2.0.azl1

Limitations and important notes

  • This release requires genpolicy release 3.2.0.azl0.genpolicy1 and onwards