Add agent e2e node config scenarios#170
Conversation
Agent-Logs-Url: https://github.com/Azure/unbounded/sessions/95afa82b-ea29-442e-810d-674a5d2980d3 Co-authored-by: bcho <1975118+bcho@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Azure/unbounded/sessions/bf7223a8-8101-4d8e-94c4-6f60a177756b Co-authored-by: bcho <1975118+bcho@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Azure/unbounded/sessions/442e0e77-0155-41c7-82c5-4b62834be2b7 Co-authored-by: bcho <1975118+bcho@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Azure/unbounded/sessions/6951efd5-d828-4068-8b85-f5c2cc79ddc5 Co-authored-by: bcho <1975118+bcho@users.noreply.github.com>
Agent-Logs-Url: https://github.com/Azure/unbounded/sessions/f57fcc1a-6b19-4828-a063-9085a9e0b487 Co-authored-by: bcho <1975118+bcho@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Agent-Logs-Url: https://github.com/Azure/unbounded/sessions/caa37a46-997e-4f3d-96de-d55c1710e5a8 Co-authored-by: bcho <1975118+bcho@users.noreply.github.com>
Fixed in f55274c. The config e2e failure showed both parallel VM nodes stuck NotReady because |
Agent-Logs-Url: https://github.com/Azure/unbounded/sessions/3ec2c073-d4c3-4d5b-994c-2390bb69403c Co-authored-by: bcho <1975118+bcho@users.noreply.github.com>
Fixed in d4845d8. The parallel config scenarios were still sharing the same site-scoped bootstrap token lookup, and repave was looking for per-node MachineConfigurations that the shared setup had not created. The scenarios now use isolated e2e site names and create the per-node MachineConfiguration when needed before repave validation. |
The agent e2e coverage only exercised one node bootstrap shape. This adds minimal node config e2e scenarios so CI can validate node join, workload scheduling, and repave with alternate kubelet labels, taints, and node IP settings.
E2E config variants
hack/agent/e2e-kind/node-configs/.--node-configsupport to the e2e harness so scenarios can pass configured labels, taints, and node IP throughmanual-bootstrap.Validation
validate-node-configto assert expected labels, taints, and Node internal IP on the Kubernetes Node.CI coverage
agent-e2ejob as a single default run.agent-config-e2ejob with distinct Kind/VM settings for node config scenarios.hack/agent/e2e-kind/node-configs/and validates them in parallel against the same Kind control plane.labels-and-taintsandnode-ipscenarios.Example variant:
{ "name": "labels-and-taints", "nodeLabels": { "e2e.unbounded-cloud.io/config": "labels-and-taints" }, "registerWithTaints": [ "e2e.unbounded-cloud.io/dedicated=agent:NoSchedule" ] }