Skip to content

Swap encryption pr2 swap capability#6785

Open
DevVegeta wants to merge 6 commits into
GoogleCloudPlatform:masterfrom
ashishsuneja:swap-encryption-pr2-swap-capability_new
Open

Swap encryption pr2 swap capability#6785
DevVegeta wants to merge 6 commits into
GoogleCloudPlatform:masterfrom
ashishsuneja:swap-encryption-pr2-swap-capability_new

Conversation

@DevVegeta

@DevVegeta DevVegeta commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

feat(swap_encryption/pr2): swap device setup for all 8 test-matrix cells

Stacked PR 2/5. Inherits PR1 framework (swap_config as NodepoolSpec field).
Benchmark nodepool provisioned automatically by GKE cluster creation — no manual nodepool lifecycle in Prepare().

Adds dm-crypt swap device setup paths for all 8 test-matrix cells:

  • GKE: hyperdisk-balanced (boot disk), local NVMe LSSD, standard boot disk
  • EKS: instance store NVMe, io2

Changes vs PR1:

  • setup_gke_hyperdisk(), setup_gke_lssd(), setup_gke_boot_disk() — dm-crypt config per disk type
  • setup_eks_instance_store(), setup_eks_io2() — EKS dm-crypt setup
  • _configure_eks_kubelet_swap() stub for nodeadm (deferred to PR Add swap_config to node-pool spec #6780)
  • DaemonSet: fio/cryptsetup/mdadm/sysstat/nvme-cli only (no workload tools)
  • Removed cgroup v2 memory.swap.max hack (r3457928855)
  • swapConfig auto-enables memorySwapBehavior=LimitedSwap (r3472513706)

…5); manifest moved to data/cluster and rendered via vm_util
…stub

- Remove duplicate FLAGS = flags.FLAGS
- Remove unused import re
- DaemonSet: lean (fio/cryptsetup/mdadm/sysstat/nvme-cli only)
- Remove cgroup v2 memory.swap.max hack (r3457928855)
- Add _configure_eks_kubelet_swap() stub for nodeadm (PR GoogleCloudPlatform#6780)
- Fix COS_CONTAINERD -> UBUNTU_CONTAINERD (r3472549985)
- swapConfig auto-enables memorySwapBehavior=LimitedSwap (r3472513706)
@DevVegeta DevVegeta force-pushed the swap-encryption-pr2-swap-capability_new branch from f83f078 to 6afbfe1 Compare June 25, 2026 15:03
- Prepare() uses SwapNodePool + SwapDaemonSet from spec.resources
- Cleanup() is empty - PKB framework auto-deletes spec.resources
- All _pod_exec(pod, ...) calls replaced with daemonset.PodExec(...)
- DaemonSet: lean (fio/cryptsetup/mdadm/sysstat/nvme-cli only)
- Remove cgroup v2 memory.swap.max hack (r3457928855)
- Add _configure_eks_kubelet_swap() stub for nodeadm (PR GoogleCloudPlatform#6780)
- Fix COS_CONTAINERD -> UBUNTU_CONTAINERD (r3472549985)
- swapConfig auto-enables memorySwapBehavior=LimitedSwap (r3472513706)
- Prepare() uses SwapNodePool + SwapDaemonSet from spec.resources
- Cleanup() is empty - PKB framework auto-deletes spec.resources
- All _pod_exec(pod, ...) calls replaced with daemonset.PodExec(...)
- DaemonSet: lean (fio/cryptsetup/mdadm/sysstat/nvme-cli only)
- Remove cgroup v2 memory.swap.max hack (r3457928855)
- Add _configure_eks_kubelet_swap() stub for nodeadm (PR GoogleCloudPlatform#6780)
- Fix COS_CONTAINERD -> UBUNTU_CONTAINERD (r3472549985)
- swapConfig auto-enables memorySwapBehavior=LimitedSwap (r3472513706)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant