Proto commits in Azure/AgentBaker

These commits are when the Protocol Buffers files have changed: (only the last 100 relevant commits are shown)

Commit:93f0e05
Author:Lily Pan

Merge branch 'dev' of https://github.com/Azure/AgentBaker into lily/test-cloud-config-changes

Commit:4dedaef
Author:Thibault Cohen

feat: add MGLRU sysfs configuration field Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:3837c1a
Author:Mark Ibrahim

add remaining kubelet protos (excl. memswap)

Commit:a4cf50e
Author:Thibault Cohen

feat: add additional Linux node sysctl settings Combine tcp_wmem, bpf_jit_limit, and nr_hugepages support in ANC. Preserve optional field presence, regenerate protobuf code, and include the tests from all three child commits. ADO: 30575488, 38453992, 24091438 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:271b3ac
Author:jiashun0011
Committer:GitHub

feat: start KMPP in CSE when ENABLE_KMPP is true (#9954) ACL flakes

Commit:b791c56
Author:Jiashun Liu

fix: tighten KMPP e2e checks and drop stale proxy wording Check each unit separately, since systemctl is-active and is-enabled pass when any listed unit matches, and exit explicitly on forbidden states, since set -e ignores negated commands. EnableKMPP no longer mentions a filtered D-Bus proxy. Phase 1 exposes KMPP through an unfiltered bind mount at /var/run/kmpp/dbus.

Commit:b263fad
Author:Sri Harsha
Committer:Abigailliang

feat(aks-node-controller): support optional containerd image-pull settings (#9888)

Commit:525ad94
Author:Lily Pan

test: test cloud-init cloud-config customdataonlyprovisioning

Commit:da97982
Author:Sri Harsha
Committer:GitHub

feat(aks-node-controller): support optional containerd image-pull settings (#9888)

Commit:1077aa4
Author:Sri Harsha

aks-node-controller/parser/containerd_test.go

Commit:e9215be
Author:Sri Harsha
Committer:GitHub

feat(aks-node-controller): support additional Linux sysctl settings (#9856)

Commit:dcf3714
Author:Cameron Meissner
Committer:GitHub

fix(linux): remove bootstrap-kubeconfig after TLS bootstrapping (#9797)

Commit:87cdfbc
Author:lilypan26
Committer:GitHub

feat: use custom cloud init status reporting (#9022) Co-authored-by: Nishchay <awesomenix@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 9e623d45-e026-4e5c-b9e2-3107c1d96592

Commit:591665e
Author:jiashun0011
Committer:GitHub

feat: add EnableKMPP flag plumbing for KMPP key isolation (#9827)

Commit:7fd093e
Author:cameronmeissner

Merge branch 'main' of https://github.com/Azure/AgentBaker into cameissner/clean-token

Commit:7fce73a
Author:Jiashun Liu
Committer:Jiashun Liu

feat: add EnableKMPP flag plumbing for KMPP key isolation Add an EnableKMPP bool to NodeBootstrappingConfiguration and a matching enable_kmpp field (46) to the aks-node-controller Configuration proto. Both paths surface it to CSE as ENABLE_KMPP. No node behavior changes yet; the VHD bake and CSE configuration follow in separate PRs.

Commit:d123a84
Author:Sri Harsha
Committer:GitHub

feat(aks-node-controller): add optional kubelet configuration fields (#9825)

Commit:48e9bb9
Author:cameronmeissner

chore: add AKSNodeConfig field

Commit:bd823c3
Author:Sri Harsha

POC - Boostrapuserdata

Commit:accd2d5
Author:Martin
Committer:Martin

refactor(kata): minimize CC image build and use legacy signed artifacts

Commit:45f56ec
Author:Martin
Committer:Martin

feat(kata): wire signed AZL3 Kata-CC image and workload contract

Commit:e65b175
Author:Sri Harsha

POC for BootStrapUserData

Commit:7a3221c
Author:Lily Pan

add CustomDataOnlyProvisioning field instead of using feature flag:

Commit:683f11f
Author:Mark Ibrahim
Committer:GitHub

fix: update FsFileMax to int64 (#9780)

Commit:ed88519
Author:Devinwong
Committer:GitHub

fix(aks-node-controller): preserve cilium network policy (#9769) Copilot-Session: 1501ed14-41e2-437a-b3f9-f452cd6805eb Test VHD build pipeline passed.

Commit:38549b4
Author:Martin

refactor(kata): minimize CC image build and use legacy signed artifacts

Commit:ee0446d
Author:Martin

feat(kata): wire signed AZL3 Kata-CC image and workload contract

Commit:14d0883
Author:Abigailliang

Add is_containerd_v2 field to ContainerdConfig, resolved by RP RP can determine the containerd major version for a node ahead of time using the existing IsContainerdV2Distro() distro predicate, since it already knows the AgentPoolProfile.Distro before the node is created. Previously, this required running containerd --version on the node itself at CSE/provisioning time, which is late-bound, hard to test from RP, and duplicated the same distro-keyed logic as IsContainerdV2Distro(). Add an optional is_containerd_v2 field to the ContainerdConfig proto so RP can set it directly on the AKSNodeConfig it renders. The node-side parser now prefers this RP-provided value via resolveIsContainerdV2(), falling back to the existing live containerd --version detection only when the field is unset (e.g. configs rendered by older RP versions, or other callers that do not set it). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0ae3219f-d068-4550-9f1d-ddda7b360317

Commit:efe9fd1
Author:Lily Pan

use enabled features instead of cse var

Commit:3ffac97
Author:Lily Pan

add UseCustomDataOnlyProvisioning cse var and e2e validation

Commit:404f080
Author:Saewon Kwak
Committer:GitHub

docs(localdns): trim serve_stale_policy contract comment (#9629) Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

Commit:61918b9
Author:Saewon Kwak
Committer:GitHub

feat(localdns): add cache plugin serve_stale_policy knob (#9614) Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>

Commit:ed1994f
Author:saewoni
Committer:Saewon Kwak

feat(localdns): add cache plugin serve_stale_policy knob CoreDNS 1.14.7 added an opt-in serve_stale_policy directive to the cache plugin (coredns/coredns#8378). With prefer_positive, the cache favors a last-known-good positive answer over a cached NXDOMAIN/NODATA/SERVFAIL for the length of the serve_stale window, so a workload does not lose a working IP just because a newer negative answer arrived. It deliberately trades authoritative negative answers for availability, which is why it is opt-in. Carry it end to end: a new serve_stale_policy field on LocalDnsOverrides (proto field 11 and the matching datamodel field), rendered into both Corefile templates. The directive is only emitted alongside an actually emitted serve_stale line -- a bare serve_stale_policy is not valid on its own, and the "ne Disable" guard alone is not enough, since an unrecognized ServeStale value passes it without rendering serve_stale. AKS RP sets the field; nothing changes for existing pools because an empty ServeStalePolicy renders exactly the previous Corefile. localdns.sh gains a node-side capability check. CoreDNS is extracted into the VHD at image build time, so the RP that generates the Corefile cannot know which CoreDNS a given node runs. An unknown directive is fatal to CoreDNS at startup, and localdns.sh would then time out waiting for a PID file that never appears -- taking DNS down on the node. The check parses "coredns --version" and strips the directive below 1.14.7, treating an unparseable or missing binary as unsupported. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

Commit:0417684
Author:saewoni
Committer:saewoni

feat(localdns): add cache plugin serve_stale_policy knob CoreDNS 1.14.7 added an opt-in serve_stale_policy directive to the cache plugin (coredns/coredns#8378). With prefer_positive, the cache favors a last-known-good positive answer over a cached NXDOMAIN/NODATA/SERVFAIL for the length of the serve_stale window, so a workload does not lose a working IP just because a newer negative answer arrived. It deliberately trades authoritative negative answers for availability, which is why it is opt-in. Carry it end to end: a new serve_stale_policy field on LocalDnsOverrides (proto field 11 and the matching datamodel field), rendered into both Corefile templates. The directive is only emitted alongside an actually emitted serve_stale line -- a bare serve_stale_policy is not valid on its own, and the "ne Disable" guard alone is not enough, since an unrecognized ServeStale value passes it without rendering serve_stale. AKS RP sets the field; nothing changes for existing pools because an empty ServeStalePolicy renders exactly the previous Corefile. localdns.sh gains a node-side capability check. CoreDNS is extracted into the VHD at image build time, so the RP that generates the Corefile cannot know which CoreDNS a given node runs. An unknown directive is fatal to CoreDNS at startup, and localdns.sh would then time out waiting for a PID file that never appears -- taking DNS down on the node. The check parses "coredns --version" and strips the directive below 1.14.7, treating an unparseable or missing binary as unsupported. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>

Commit:5a48985
Author:Gao Peng
Committer:GitHub

feat(aks-node-controller): add kubelet config fields for flag migration (#9576)

Commit:74ae5ee
Author:Gao Peng
Committer:GitHub

feat(aks-node-controller): add kubelet config fields for flag migration

Commit:7a8bffd
Author:Saewon Kwak

feat: add LocalDNS forward health knobs

Commit:550e090
Author:Karen Chen
Committer:GitHub

feat: use MIG profile layout for partitioning (#9129) Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Commit:133c697
Author:Karen Chen
Committer:GitHub

Merge branch 'main' into codex/mig-profile-layout-runtime

Commit:14ae9d5
Author:Runzhen
Committer:GitHub

chore: add enable DRA flag in scriptless proto file (#9120) Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

Commit:0b10660
Author:Karen Chen
Committer:GitHub

feat: use MIG profile layout for partitioning

Commit:e909115
Author:Wen Huang

Merge remote-tracking branch 'origin/main' into wenhug/kubernetes-1.37-package-version-merge-main-signed # Conflicts: # parts/linux/cloud-init/artifacts/cse_config.sh

Commit:cf6ccd2
Author:RUNZHEN WANG

Merge branch 'main' into dra-scriptless

Commit:11663f4
Author:Saewon Kwak
Committer:GitHub

feat: add LocalDNS forward health knobs (#9174)

Commit:a8cf296
Author:Saewon Kwak
Committer:Saewon Kwak

feat: add LocalDNS forward health knobs

Commit:4c60857
Author:Karen Chen
Committer:GitHub

feat: use MIG profile layout for partitioning

Commit:076dd4f
Author:RUNZHEN WANG

dra

Commit:e2c4492
Author:Wen Huang

fix: carry Kubernetes package version through ANC

Commit:157a928
Author:RUNZHEN WANG

dra

Commit:df0019c
Author:RUNZHEN WANG

dra

Commit:7fc6928
Author:Karen Chen
Committer:GitHub

feat: add MIG profile layout configuration (#9081)

Commit:479c574
Author:Karen Chen
Committer:GitHub

docs: clarify MIG profile layout contract

Commit:d0454ee
Author:Karen Chen
Committer:GitHub

fix: use field 9 for MIG profile layout

Commit:c714b2c
Author:Karen Chen
Committer:GitHub

feat: add MIG profile layout config

Commit:51a22c2
Author:Karen Chen
Committer:GitHub

feat: add MIG profile layout configuration

Commit:ca8995a
Author:Karen Chen
Committer:GitHub

feat: replace mixed MIG calculation with profile layout

Commit:96caf4c
Author:Karen Chen
Committer:GitHub

Merge branch 'main' into codex/mig-profiles-contract

Commit:cc6daf4
Author:Saewon Kwak

Add LocalDNS live patching handler Wire localDNS into the generic knead live-patching loop and add ANC support for applying LocalDNS config from dispatched payloads or LPS. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:6e39008
Author:Karen Chen
Committer:GitHub

refactor: rename MIG slice capacity proto field

Commit:4420bb9
Author:Karen Chen
Committer:GitHub

feat: make GPU instance partitioning capacity-aware

Commit:9d76635
Author:Thibault Cohen
Committer:GitHub

fix: ensure kubelet and containerd in kube.slice via systemd drop-ins (#8958)

Commit:9e43c8b
Author:Abigail Liang
Committer:GitHub

fix(kubelet): remove streamingConnectionIdleTimeout for k8s >= 1.34 (#8812)

Commit:deeee05
Author:Thibault Cohen
Committer:Thibault Cohen

rename from kube-reserved to kubereserved

Commit:b92dafe
Author:Thibault Cohen
Committer:Thibault Cohen

Rename kube.slice to kube-reserved.slice

Commit:478c1b4
Author:Thibault Cohen
Committer:Thibault Cohen

Place kubelet and containerd in kube.slice when node hardening is enabled

Commit:86a754b
Author:Karen Chen
Committer:GitHub

Merge branch main into codex/mig-profiles-contract

Commit:cbc7a71
Author:Thibault Cohen
Committer:Mark Ibrahim

rename from kube-reserved to kubereserved

Commit:bc3b582
Author:Thibault Cohen
Committer:Mark Ibrahim

Rename kube.slice to kube-reserved.slice

Commit:7163ae8
Author:Thibault Cohen
Committer:Mark Ibrahim

Place kubelet and containerd in kube.slice when node hardening is enabled

Commit:23dd03d
Author:Thibault Cohen

rename from kube-reserved to kubereserved

Commit:8a3573f
Author:C.YAO
Committer:GitHub

feat: add aks-live-patching module with live patching service proto (#8868) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:a57b04a
Author:xuexu6666

gpu: wire driverMode=DRA into ENABLE_MANAGED_GPU_DRA (proto field + parser) Add GpuConfig.enable_managed_gpu_dra so the RP can signal DRA mode; parser emits ENABLE_MANAGED_GPU_DRA from it instead of hardcoded false. Switches configureManagedGPUExperience to the dra-driver-nvidia-gpu + compute-domain path for managed+DRA GB300. TEST-ONLY (POC).

Commit:13e1da0
Author:Thibault Cohen
Committer:Thibault Cohen

Rename kube.slice to kube-reserved.slice

Commit:a58d15f
Author:Thibault Cohen
Committer:Thibault Cohen

Place kubelet and containerd in kube.slice when node hardening is enabled

Commit:0ba6628
Author:Abigailliang

Merge remote-tracking branch 'origin/main' into remove-streaming-connection-idle-timeout # Conflicts: # aks-node-controller/parser/parser.go

Commit:dea3c28
Author:Thibault Cohen

Rename kube.slice to kube-reserved.slice

Commit:50681a8
Author:Thibault Cohen

Place kubelet and containerd in kube.slice when node hardening is enabled

Commit:db12a63
Author:Yao Cheng (AKS)
Committer:Yao Cheng (AKS)

feat: add aks-live-patching module with live patching service proto

Commit:98b6ee1
Author:Karen Chen
Committer:GitHub

feat: support mixed MIG profiles

Commit:d802cd6
Author:Yao Cheng (AKS)
Committer:Yao Cheng (AKS)

feat: add aks-live-patching module with live patching service proto

Commit:0e1dc0d
Author:Devinwong
Committer:GitHub

feat(anc): deliver node toggles via generic enabled_features map (2.1d) (#8917) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

The documentation is generated from this commit.

Commit:29afaec
Author:Abigailliang

Merge remote-tracking branch 'origin/main' into remove-streaming-connection-idle-timeout

Commit:32c9a87
Author:Saewon Kwak
Committer:GitHub

feat: support localdns hosts plugin refresh override (#8895)

Commit:5a5e2cf
Author:Saewon Kwak
Committer:Saewon Kwak

feat: support localdns hosts plugin refresh override

Commit:80e54ea
Author:Abigailliang
Committer:Abigailliang

fix(kubelet): remove streamingConnectionIdleTimeout for k8s >= 1.34 streamingConnectionIdleTimeout was removed from KubeletConfiguration in k8s 1.34. This ensures it does not appear on the command line or in the config file for those versions. Changes: - Delete --streaming-connection-idle-timeout from KubeletFlags in baker (Linux + Windows) - Filter deprecated flags from CustomConfiguration output path without mutating RP data - Add getDeprecatedKubeletFlags util for version-gated flag filtering - Clear the flag in aks-node-controller parser (scriptless path) - Mark proto field and Go struct field as deprecated - Regenerate kubelet_config.pb.go via make proto-generate - Add comprehensive unit tests covering version gating, final command line output, custom configuration path, and non-reintroduction - Add e2e test removing streaming-connection-idle-timeout from NBC template

Commit:398e69d
Author:Abigailliang

fix(kubelet): remove streamingConnectionIdleTimeout for k8s >= 1.34 streamingConnectionIdleTimeout was removed from KubeletConfiguration in k8s 1.34. This ensures it does not appear on the command line or in the config file for those versions. Changes: - Delete --streaming-connection-idle-timeout from KubeletFlags in baker (Linux + Windows) - Filter deprecated flags from CustomConfiguration output path without mutating RP data - Add getDeprecatedKubeletFlags util for version-gated flag filtering - Clear the flag in aks-node-controller parser (scriptless path) - Mark proto field and Go struct field as deprecated - Regenerate kubelet_config.pb.go via make proto-generate - Add comprehensive unit tests covering version gating, final command line output, custom configuration path, and non-reintroduction - Add e2e test removing streaming-connection-idle-timeout from NBC template

Commit:9147e26
Author:Devin Wong

docs(anc): drop 'or unset' from proto3 bool comment proto3 non-optional bool has no distinct unset state; false covers it. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:6c7a49c
Author:Devin Wong

feat(anc): add enable_provisioning_hotfix contract field (2.1d) Add the AKSNodeConfig proto contract field enable_provisioning_hotfix (field 45, default false) and render the on-node enabled_features.sh from it in the scriptless boothook custom data. - proto: new bool enable_provisioning_hotfix = 45; regenerated Go bindings expose Configuration.GetEnableProvisioningHotfix(). - nodeconfigutils.CustomData: enabledFeaturesBlock(cfg) emits a cloud-boothook snippet writing /opt/azure/containers/enabled_features.sh with ENABLE_PROVISIONING_HOTFIX=true (0600) only when the field is true. When false/unset it returns "" so custom data is byte-identical to today, preserving the 6-month VHD backward-compat window. The 2.1c wrapper already reads enabled_features.sh and gates check-hotfix on ENABLE_PROVISIONING_HOTFIX=true (fail-open). aks-rp sets this field on the scriptless path to enable provisioning hotfix per region. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:d03db7d
Author:Saewon Kwak
Committer:Saewon Kwak

feat: support localdns hosts plugin refresh override

Commit:9102831
Author:Devin Wong
Committer:Devin Wong

feat(anc): deliver ENABLE_PROVISIONING_HOTFIX via enabled_features.sh Adds the producer half of the provisioning-hotfix gate. The AKSNodeConfig contract field `enable_provisioning_hotfix` (tag 45) now drives an on-node feature-flag file: when true, the cloud-boothook writes /opt/azure/containers/enabled_features.sh containing the literal line `ENABLE_PROVISIONING_HOTFIX=true` (quoted heredoc, chmod 0600) before the aks-node-controller service is started. The 2.1c wrapper sources that file and keeps the existing gate, so this file is the single delivery channel. When the field is false/unset, nothing is written and the generated custom data is byte-identical to before this feature existed (6-month VHD backward-compat). Flatcar/Ignition path does not write enabled_features.sh in M1; provisioning- hotfix is a no-op on Flatcar (follow-up if product needs it). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:69bbf8a
Author:Lily Pan

revert proto changes

Commit:7fcf159
Author:Devin Wong
Committer:Devin Wong

feat(anc): deliver ENABLE_PROVISIONING_HOTFIX via enabled_features.sh Adds the producer half of the provisioning-hotfix gate. The AKSNodeConfig contract field `enable_provisioning_hotfix` (tag 45) now drives an on-node feature-flag file: when true, the cloud-boothook writes /opt/azure/containers/enabled_features.sh containing the literal line `ENABLE_PROVISIONING_HOTFIX=true` (quoted heredoc, chmod 0600) before the aks-node-controller service is started. The 2.1c wrapper sources that file and keeps the existing gate, so this file is the single delivery channel. When the field is false/unset, nothing is written and the generated custom data is byte-identical to before this feature existed (6-month VHD backward-compat). Flatcar/Ignition path does not write enabled_features.sh in M1; provisioning- hotfix is a no-op on Flatcar (follow-up if product needs it). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Commit:0157c42
Author:Karen Chen
Committer:GitHub

feat: support mixed MIG profiles

Commit:a4130fc
Author:Yao Cheng (AKS)

feat: add aks-live-patching module with live patching service proto

Commit:1cd9637
Author:Lily Pan

add usecontainerdv2 to aksnodeconfig

Commit:3dc5629
Author:Cameron Meissner
Committer:GitHub

chore: remove secure TLS bootstrapping deadline configuration field (#8801)

Commit:c5c2a69
Author:Abigailliang

style: run buf format on kubelet_config.proto

Commit:c2dd0bb
Author:Abigailliang
Committer:Abigailliang

fix(kubelet): remove streamingConnectionIdleTimeout from Kubelet configuration files for k8s >= 1.34

Commit:aaa9706
Author:Abigailliang

fix(kubelet): remove streamingConnectionIdleTimeout from Kubelet configuration files for k8s >= 1.34

Commit:551a650
Author:cameronmeissner

chore: apply buf format to kubelet_config.proto