Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: awslabs/amazon-eks-ami
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v20261107
Choose a base ref
...
head repository: awslabs/amazon-eks-ami
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v20261112
Choose a head ref
  • 2 commits
  • 12 files changed
  • 2 contributors

Commits on Nov 6, 2026

  1. Configuration menu
    Copy the full SHA
    2ca56de View commit details
    Browse the repository at this point in the history

Commits on Nov 9, 2026

  1. feat(al2023): add packer scripts to support Nitro Sandboxes (#2884)

    * feat(al2023): add optional pod isolation runtime
    
    Adds an opt-in pod isolation image variant for AL2023, gated on
    enable_pod_isolation (default false). Pods that use the isolated-sandbox
    or confidential-sandbox RuntimeClass run inside their own Firecracker
    microVM as a Nitro Enclave sidecar; every other pod keeps running under
    runc.
    
    install-pod-isolation.sh:
    - installs the containerd shim from the runtime release archive and the
      guest image (EIF plus its dm-verity disk) from the same bundle as the
      other node components through the aws_s3 helper (so a public bucket
      needs no instance profile), verifying each against its .sha256 sidecar
    - installs Firecracker and the jailer from the upstream Firecracker
      release (pod_isolation_firecracker_version, default v1.18.0), verifying
      the tarball against the release's published .sha256.txt
    - installs iproute-tc and erofs-utils, which the shim execs
    - asserts the stock kernel is at least pod_isolation_min_kernel, the first
      release with the Nitro sandbox extensions, so an older base image fails
      the build instead of producing nodes that refuse every sandboxed pod
    - reserves the enclave memory pool with nitro_enclaves.mempool
    - installs the CRI proxy unit, and a NodeConfig drop-in that registers both
      runtime handlers, keeps compressed layers (discard_unpacked_layers =
      false), points kubelet at the proxy and labels the node
      eks.amazonaws.com/nitro-sandbox=true
    
    The image is built on an enclave-enabled instance and defaults to
    m8i.4xlarge / m8g.4xlarge. Supported for Kubernetes 1.36 and 1.37.
    Includes a unit test that the NodeConfig drop-in parses strictly.
    
    * fix(al2023): address review feedback on pod isolation
    
    - describe the memory pool the way the Nitro Sandbox docs do: reserved at
      boot with nitro_enclaves.mempool, each sandbox takes its full memory from
      it while running, and a sandbox fails to start without it
    - drop iproute-tc: the shim no longer execs tc (DNS rate limiting moved to
      eBPF). Keep erofs-utils for mkfs.erofs
    - drop rootfs_path and nitro_sandbox from nitro-sandbox.toml; the shim reads
      neither, and attaches rootfs.ext4 from the kernel's directory
    - drop After=cri-proxy.service from the kubelet drop-in; Before= in
      cri-proxy.service already orders them
    - drop the larger build instance default; the build itself is not heavy
    
    * fix(al2023): make the pod isolation kernel and mempool constants
    
    pod_isolation_min_kernel and pod_isolation_enclave_mempool become constants
    in install-pod-isolation.sh: they follow the kernel and the runtime, not the
    builder.
    
    pod_isolation_firecracker_version now defaults to "latest", resolved from
    the release page, and the build fails if it resolves, or is set, to a
    release older than v1.18.0, the first that can drive a Nitro Sandbox.
    shvbsle authored Nov 9, 2026
    Configuration menu
    Copy the full SHA
    34efd7b View commit details
    Browse the repository at this point in the history
Loading