mirror of
https://github.com/dsx-ai-factory/nvke.git
synced 2026-12-07 04:35:58 +08:00
pull-request/2467
326
Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
6ea7dc33d1 |
feat(e2e): perf tenant with 20 workers (#2586)
Each perf stream run builds a tenant of three control-plane nodes, two monitoring nodes and 50 workers, so it asks the site for 55 machines at once. Concurrent creates near this size have not reliably come up on the perf stream's site.
This change gives the perf tenant 20 workers and keeps its three control-plane nodes and two monitoring nodes, so the tenant has 25 nodes. Why a node fails to boot is unchanged by this PR; it only lowers how many machines the stream asks for at once. Every other stream keeps its shape and its timeouts.
### What changes
- Perf stream in `release/policy.yaml` sets `tenantWorkers: 20`, down from 50, and its comment says 20 workers.
- Tenant create wait and readiness wait follow the node count: 45 minutes up to ten nodes, then one more minute per node. At 25 nodes each is 60 minutes, down from 90, and the stream's comment says so.
- Suite timeout stays at 400 minutes, and the kaps-bench run spec windows stay at 45 and 30 minutes.
- A run needs 26 free machines on the perf site, down from 56: the site node and the 25 tenant nodes.
- Perf row in `docs/qualification/hardware-qualification.md` says 20 workers.
- `TestTenantProvisionTimeout` checks the perf shape at 25 nodes and 60 minutes in place of 55 nodes and 90 minutes.
### Tested
Run on this branch (base
|
||
|
|
28a8010cab |
chore(os-image): drop Kubernetes 1.34.2 after staging 1.37 (#2276)
Signed-off-by: Payal Patel <payapatel@nvidia.com> |
||
|
|
1a46559dd6 |
docs: say which published NVKE artifacts are private (#2531)
Signed-off-by: Nathan Hensley <nhensley@nvidia.com> |
||
|
|
7042b30115 |
feat(e2e): perf tenant with 3 control planes, 2 monitoring, 50 workers (#2524)
## Summary
Each perf stream run now builds a tenant with three control-plane nodes, two monitoring nodes and 50 workers, up from one, one and three. A stream picks its control-plane count with a new parameter, and on Forge the site gives those nodes one shared address. Tenant waits grow with the node count, and the perf stream's time limit goes from 260 to 400 minutes. A stream that leaves the parameter unset keeps one control-plane node, so every other stream keeps its shape and its limits.
## Motivation / Context
Every perf run today measures a tenant with a single control-plane node, so no perf run covers a highly available tenant, where several control-plane nodes share one address. That address is the control-plane VIP, and the suite's Forge path never sent one.
kaps-bench also sizes its load from the worker count: cluster-density-v2 runs nine iterations per worker, so three workers give it 27 iterations and 50 give it 450.
Closes: N/A
Related: https://github.com/dsx-ai-factory/nvke/issues/2089
## Type of Change
- [ ] Bug fix (non-breaking change that fixes an issue)
- [x] New feature (non-breaking change that adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation update
- [ ] Refactoring (no functional changes)
- [ ] Build/CI/tooling
## Component(s) Affected
- [ ] Controller (`controller/`)
- [ ] REST API (`controller/api/openapi.yaml`)
- [ ] Node agent or updater (`agent/`)
- [ ] gRPC API (`agent/pkg/agent/proto/`)
- [ ] nvkectl CLI (`cli/`)
- [ ] Cluster API provider (`cluster-api-provider-provisioned/`)
- [ ] Helm charts or deployment (`controller/deploy/`)
- [ ] NVKE telemetry pipeline (NKTP) integration (`deploy/nico/nktp/`)
- [ ] nico-sim (`controller/nico-sim/`)
- [ ] OS image or image checker (`os-image/`)
- [x] CI / workflows (`.github/`)
- [x] Docs / examples
- [x] Other: the e2e suite (`controller/test/e2e/`), the release planner and the release policy (`release/`)
## Implementation Notes
### Control-plane count and VIP
- `tenantControlPlaneNodes` joins `tenantWorkers` and `monitoringWorkers` in the stream parameters (`release/pkg/qualification/policy.go`). A negative value fails validation, and zero or unset means one.
- `release/hack/qualify-e2e.sh` carries it to the suite as `-e2e.tenant-control-plane-nodes`, the same way `monitoringWorkers` travels, and the qualify summary prints it.
- `forge-perf.yaml` reads the site's `controlPlaneVIP` from `FORGE_PERF_CONTROL_PLANE_VIP`, empty for none, and `qualify-e2e.yml` passes that variable from the GitHub environment and lists it and the count in its resolved-inputs table.
- On Forge the tenant gets the requested count, and the site VIP only when it has more than one control-plane node. An entry that names its own VIP keeps it. A full-stage run that asks for more than one control-plane node with no VIP stops before any machine is taken, and so does a count below one. Its capacity check counts every control-plane node.
- Only the Forge tenant applies the count. A full-stage run on another provider that asks for more than one control-plane node stops before any machine is taken.
### Perf stream shape
- `release/policy.yaml`: the perf stream sets `tenantControlPlaneNodes: 3`, `monitoringWorkers: 2` and `tenantWorkers: 50`. Its `suiteTimeoutMinutes` goes from 260 to 400.
- `tenantProvisionTimeout` gives 45 minutes up to ten tenant nodes and one more minute for each node above that, so 55 nodes get 90. Two waits use it, the tenant create wait and the readiness check, so neither cuts the other short. Each goes from 45 to 90 minutes for this stream.
- `tenantProvisionTimeout` is computed when the spec tree is built, after flags are parsed, so the nico-forge lane and the qualify site lane both get it. Simulator lanes keep their own create budgets, and their readiness timeout stays 45 minutes at default flags.
- Why 400 minutes: take a site build and checks of about 34 minutes (about 30 on our az41 run), then let the two waits, kaps-bench and the delete each use their full limit: 90 and 90, 75, and 75. With about 25 minutes of site cleanup that is 389. With a shorter limit the suite deadline could fire during the delete and leave machines allocated.
- kaps-bench keeps its time window per run spec. cluster-density-v2 has not run at 450 iterations yet, so the first full-size run shows whether its 30 minutes are enough.
- One policy test now expects two monitoring nodes on the perf stream. Both READMEs (e2e and release) and the two qualification docs describe the parameter, the VIP variable and the new tenant.
## Testing
Run on this branch (base
|
||
|
|
a014a8280b |
fix(deploy): retry a chart download refused with a 429 or a 6xx (#2553)
On 2026-11-30 and 2026-12-01 GitHub's release downloads refused chart downloads with "618 jwt:expired". helm_install retried only a 5xx, so the install failed at the first try and the CI job failed with it. The cause of the 618 is not known. helm_install now retries a 429 and a 6xx too. It makes up to 4 tries, not 3, and waits 5, 20 and 60 seconds between them, not 5 each time. In one job the download worked again a second after the fault, so the first wait stays short. In another job the same chart failed four times in 3.5 minutes, so the later waits are longer. The log line names the code and the wait. The worst case for one chart is 85 seconds of waiting before helm's error and exit code are returned. A fault that lasts longer still fails the install. An install that passes can wait that long for each chart it downloads: 255 seconds for the three charts of the e2e deploy paths. That stays inside the 15 minutes that deploy-stack.sh waits for the controller chart's CRDs. The deploy tests run the install against a stand-in helm and sleep. Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com> |
||
|
|
bf25577b9f |
feat(controller): accept controlPlaneEndpoint on cluster create (#2515)
* refactor(controller): ask one cluster method at each control-plane endpoint gate Each gate that scales, upgrades or replaces control-plane nodes tested the control-plane VIP for an empty string by itself. The gates now call db.Cluster.HasStableControlPlaneEndpoint, which is true when the cluster has a VIP. The gates are the count check at create and scale, the upgrade and rollout checks of the cluster API, the node delete guard, the control-plane controller (recycling, remediation, rebalance, stuck pending nodes) and the node pool controller (surge, NodeSet replacement). No behavior changes. A later change adds a second kind of stable endpoint to the method. Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com> * feat(controller): add controlPlaneEndpoint to the cluster API schema A cluster can name an API server endpoint that NVKE does not manage, for example a load balancer in front of the API servers. The create request gets the optional object controlPlaneEndpoint. Its type says who manages the endpoint, and the block named after the type carries what that type needs. This change has one type, External, with a host and an optional port in the external block. The port defaults to 6443. The cluster response returns the type and the resolved host and port. The update request has no such property, so the value is fixed at creation. The shape is the one of the proposal for a load balancer as the control plane endpoint, and this change is its first part. The enum of the type has only External. The other types of the proposal come later. A new enum value passes the API compatibility check, and a removed one does not, so the enum lists only what the code does. The existing descriptions change only where the new field makes them wrong or incomplete: - The overview of the Clusters tag and the description of controlPlaneVIP say which address is the API server endpoint. - Seven sentences that say an operation requires controlPlaneVIP now name both fields. Each is one changed line. - The 400 list of the create operation gets the new reasons. - The desiredNodeCount descriptions of the two node pool requests lose their sentence about control-plane pools. The node pool handlers refuse each create and each update of a control-plane node pool, so no request reaches a rule on that count. This change is only api/openapi.yaml and the code that make generate writes from it (models.gen.go, server.gen.go). The handler does not read the field yet. The next changes store it, check it and use it. Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com> * feat(controller): store controlPlaneEndpoint in the clusters table The clusters table gets three nullable columns for the API server endpoint that a cluster was created with: control_plane_endpoint_type, control_plane_endpoint_host and control_plane_endpoint_port. db.Cluster gets the fields ControlPlaneEndpointType, ControlPlaneEndpointHost and ControlPlaneEndpointPort. The type says who manages the endpoint. The one type is External, an endpoint that NVKE does not manage. The host and the port are the resolved endpoint. A cluster without the field stores NULL in the three columns, which is what each existing row has after the migration. An empty type marks such a row. control_plane_vip does not change. No handler writes the fields yet and no workflow reads them. The test proves that the values come back from a read and stay in the row through an update of the cluster. Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com> * feat(controller): count controlPlaneEndpoint as a stable endpoint at each gate db.Cluster.HasStableControlPlaneEndpoint is now true for a cluster with an endpoint of the type External, as it is for one with a VIP. Each gate that scales, upgrades or replaces control-plane nodes asks this method, so the one line opens them all: scale-up, upgrade and rollout in the cluster API, node delete, recycling, remediation, rebalance, stuck pending nodes, surge and NodeSet replacement. The method reads the stored type and not the host. An empty type is a cluster without the field, and a type that this controller does not know is no stable endpoint. The tests run each gate with such a cluster. Recycling, remediation, rebalance and stuck pending nodes share one check, controlPlaneReplacementBlocked, which gets its own test. The 400 messages and the log warnings of the gates keep their text. Each of them is given only for a cluster with no VIP and no controlPlaneEndpoint. allowControlPlaneWithoutVIP keeps its meaning and its default. No cluster has the field yet, because the create request does not store it. A later change adds that, with the count check at create. Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com> * feat(controller): check controlPlaneEndpoint on cluster create The create request is now rejected with 400 when it has both controlPlaneEndpoint and controlPlaneVIP, when the type is not External, when the type External has no external block, and when the host or the port is not valid. The host is a DNS name or an IPv4 address. A DNS name is lowercase, has at most 253 characters, no trailing dot and no wildcard. An IPv4 address must be unicast, not loopback and not link-local, and outside the pod and service CIDRs. The port is a number from 1 to 65535, and 6443 when the request has none. A host of only digits and dots must be a valid IPv4 address, so that a mistyped address does not pass as a DNS name and skip the address rules. A DNS name is not checked against the CIDRs, because NVKE cannot tell which addresses it resolves to. The host is not trimmed. NVKE does not resolve or dial the endpoint. The CIDR rule of controlPlaneVIP moves into a helper that both fields use. Its messages keep their text, and the checks of controlPlaneVIP do not change. The checks come before the change that stores the value, so that no commit stores a value without them. Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com> * feat(controller): use controlPlaneEndpoint for kubeadm init kubeadm init now takes its controlPlaneEndpoint from one function, kubeadmControlPlaneEndpoint. For a cluster with an external endpoint the value is host:port. Without one it is the kube-vip VIP, then the IP of the initializing node, as before. The value goes into the ClusterConfiguration and into the request to the node agent, as before. NVKE also names the host of an external endpoint in apiServer.certSANs of the ClusterConfiguration. kubeadm adds the host of its controlPlaneEndpoint to the API server certificate by itself. The explicit entry keeps certificate renewal and control-plane joins correct if that default changes. A cluster without an external endpoint gets no certSANs entry, so its configuration does not change. The step fails for a cluster row with an endpoint type that this controller does not know, and for an external endpoint with no host or no port. The address goes into each certificate and each kubeconfig of the cluster, so the step does not guess. The kube-vip step needs no change and gets no check for the new field. It returns with no action for a cluster without a VIP, and a cluster with a controlPlaneEndpoint has no VIP: the create request refuses the two fields together, and no other request writes either of them to the cluster row. One test keeps this true: for such a cluster the step makes no kube-vip call and runs no script on the node. Each later step reads the endpoint back from what kubeadm wrote: the join string, admin.conf and the Cluster API endpoint. They need no change. No cluster has the field yet. The next change makes the create request store it. Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com> * feat(controller): accept controlPlaneEndpoint on cluster create The create request now stores controlPlaneEndpoint in the cluster row: the type, the host and the resolved port, which is 6443 when the request names none. The cluster response returns the type and the resolved host and port. The response leaves the field out when the cluster has none. The count check at create asks HasStableControlPlaneEndpoint of the fields that the request would store. So a request with an external endpoint can ask for more than one control-plane node, as one with a VIP can. The tests go through the service and through the HTTP handler with the OpenAPI validator: at each level requests that are accepted and requests that are refused, then the bounds that only the schema checks, and a PATCH with the field, which the schema refuses. One test checks the JSON form of the field in the response. The full table of refused values is in the test of the check itself. This change comes after each part that reads the value, so that no cluster can have the field before kubeadm init uses it. Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com> * docs: describe controlPlaneEndpoint for workload clusters The pages that state the VIP rule now name controlPlaneEndpoint as the second way to give a cluster a stable API address: the cluster spec table and the count rule in the create guide, the API address in the two access pages, the upgrade rule in the supported platforms, and the installation plan. The create guide shows the object with the type External, its host and its port, and says what the response returns. It says what the endpoint must do before the request, and that NVKE does not resolve or call the endpoint when it accepts the request. The access page says that NVKE does not take a node out of the endpoint before it restarts the API server or etcd there, so the health check of the endpoint must do it. The pages come after the change that stores the value, so that each sentence is true when it is added. Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com> * fix(controller): reject a DNS label over 63 characters in controlPlaneEndpoint The host check of an external control plane endpoint used IsDNS1123Subdomain, which checks the whole length and the form of a DNS name and not the length of each label. So a name with a label of 64 characters passed the check, and DNS has no such name. The check now also rejects a label of more than 63 characters. The text of the field in the spec says so, and the generated code follows it. Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com> * docs: say that an endpoint health check acts after the failure The access page said that the endpoint must stop traffic to a node through its own health check. A health check sees a failure only after it happens, so a call can fail between the restart of the API server or of etcd and that check. The page says so now. Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com> --------- Signed-off-by: Davanum Srinivas <dsrinivas@nvidia.com> |
||
|
|
4f76e810d7 | test(e2e): report a CIS scan after the GPU runtime install (#2438) | ||
|
|
a1e9b88259 |
docs(adr): propose letting an NVKE controller adopt the cluster it runs on (#2441)
Record the decision behind POST /clusters/self-adopt: the controller records the cluster it runs on without kubeadm init, reading it with its own service account, so NVKE can manage worker node pools there while the operator keeps the control plane. The request carries only what NVKE cannot read from the cluster. The control-plane nodes, Kubernetes version and pod and service CIDRs come from the cluster. The record says how NVKE keeps off the adopted control plane, what deleting an adopted cluster removes and what it leaves running, what an adopted cluster gives up compared with one NVKE creates, the manual SPIRE move, and the alternatives considered. Full self-management is left to a later ADR. Signed-off-by: Abhinav Pandey <abhinavmpandey08@gmail.com> |
||
|
|
d625fcfaa8 |
feat(os-image): add the nvke-os CLI skeleton (#2319)
* feat(os-image): add the nvke-os CLI skeleton Add nvke-os and nvke-os-node on urfave/cli/v2 with a global -o text|json flag, a versioned JSON envelope, coded errors mapped to banded exit statuses, and one slog logger per run with a run ID. Both binaries share internal/oscli; each main registers only the verbs it ships, so build-only verbs never reach the node binary. Verbs without declared arguments reject stray ones. manifest and verify exit with NVKE-OS-E-UNSUPPORTED until their issues land. make build now builds and checks the version stamp of all three binaries, the root VERSION_CMDS lists the two new ones, and THIRD_PARTY_NOTICES.md covers ./cmd/.... Signed-off-by: ChethanUK <chethanuk@outlook.com> * refactor(os-image): align the nvke-os CLI with nvkr conventions Review on #2319 asked the skeleton to follow nvkr rather than define its own conventions. - Apply the usage contract to every level of the command tree. An unknown subcommand, bad flag or stray argument under a verb with subcommands is now a coded usage error (exit 2), not urfave's own exit 3, exit 1, or a silently ignored argument. - Add CodeUnavailable (30) and CodeTimeout (31) with Retryable, and map an uncoded error from a cancelled run to CodeTimeout. - Replace the global -o and the apiVersion/kind envelope with a per-verb --format text|json and a flat result carrying schemaVersion. - Drop the global --log-level/--log-format flags; a verb adds --verbose when it has something to log. - Fail the Makefile version probe when the binary errors or prints nothing. - Count nvke-os and nvke-os-node in README.md and docs/go-workspace.md, which fixes docs-check. Signed-off-by: chethanuk <chethanuk@outlook.com> * fix(os-image): code every nvke-os failure, including unknown help topics An unknown help topic bypassed the usage contract: `nvke-os --help frobnicate` exited 1 uncoded, and `<verb> help frobnicate` under a grouping verb called os.Exit(3) from inside urfave/cli. A non-usage uncoded error (a failed stdout write) printed without a code. Set a no-op ExitErrHandler so Run owns the exit status, map urfave's own exit errors to CodeUsage, and wrap any other uncoded error in CodeInternal. Coded errors and the cancellation mapping are unchanged. Signed-off-by: chethanuk <chethanuk@outlook.com> --------- Signed-off-by: ChethanUK <chethanuk@outlook.com> Signed-off-by: chethanuk <chethanuk@outlook.com> |
||
|
|
3ed03c7530 |
docs: document controller API authorization (#2174)
* docs: document controller API authorization Add an operator guide for API authorization: the admin and viewer roles, granting them by claim and by service account, turning authorization on in permissive mode, finding the callers enforcing mode would refuse, switching to enforcing, and the metrics to watch. Link it from the docs index, the controller README and docs, and the observability page. Pages that said NVKE does no authorization now say every admitted caller can call every endpoint until authorization is on. Signed-off-by: dbudris <dbudris@nvidia.com> * docs(operate): name the Teleport app settings the roles claim needs The token carries roles only when rewrite.jwt_claims includes them, and the header rewrite is written differently in teleport.yaml and in a dynamic app resource. Signed-off-by: dbudris <dbudris@nvidia.com> * docs: use the apiAuthz.authorizer.localBundle values paths The chart now holds the authorization bundle under apiAuthz.authorizer.localBundle, beside apiAuthz.authorizer.backend. Update the operator guide, the controller README and the troubleshooting table to match. Signed-off-by: dbudris <dbudris@nvidia.com> * docs(operate): say the chart refuses permissive authorization while it is off Signed-off-by: dbudris <dbudris@nvidia.com> * docs(operate): restructure the API authorization page after review Explain grants and the shipped roles up front, and show the apiAuth admit change a viewer grant needs. Restart NVKE when switching to enforcing mode, since only nvke-controller-config changes, and add a rollback. Name the failed-to-authorize log line, act on each outcome, and give success signals for grant changes. Split steps to one command each, move Teleport and role customization to the end, drop the metrics table that observe.md already covers, and add next steps. Signed-off-by: dbudris <dbudris@nvidia.com> --------- Signed-off-by: dbudris <dbudris@nvidia.com> |
||
|
|
6013a54cac |
feat(e2e): publish the perf stream's kaps-bench results to OpenSearch and run cluster-density-v2 (#2424)
Today the perf stream runs kaps-bench with --local-publisher, so its results reach only the kaps-bench-results.tar.gz artifact, and kaps-bench never sees an OpenSearch setting because the suite builds its environment from scratch. With KB_OPENSEARCH_URL set, the suite hands KB_OPENSEARCH_URL, KB_OPENSEARCH_USER and KB_OPENSEARCH_PASS to kaps-bench in its environment, and kaps-bench publishes to OpenSearch with the ci_job_url, release_version and release_source=nvke tags. Only the suite step of a stream with kaps-bench run specs gets the three secrets. OpenSearch's endpoint is masked in the job log and withheld from the uploaded artifacts, and its password is redacted from the results archive. A password with a line shorter than 8 bytes, which that redaction would skip, is refused before the run starts. Each run with kaps-bench also records the image digest and the version kaps-bench reports in run-inputs.txt, since the image tag floats. After the smoke test, the perf stream also runs kaps-bench's baseline/cluster-density-v2.yaml, at kaps-bench's default size and within the stream's existing time limits. Every kaps-bench run gets the tenant's worker count as --param NODE_COUNT, which cluster-density-v2 compares with the worker nodes before it starts. smoke-prometheus records the value and does not use it. Without KB_OPENSEARCH_URL, kaps-bench gets today's environment byte for byte and keeps publishing locally. Signed-off-by: Ganesh Reddy <gputta@nvidia.com> |
||
|
|
bf7924e0f8 |
docs(adr): propose pluggable authorization for NVKE APIs (#2187)
* docs(adr): propose pluggable authorization for NVKE APIs Every NVKE API authorizes through the auth/authz Authorizer interface, so it runs standalone with localbundle and under a central IAM service through another backend. Signed-off-by: dbudris <dbudris@nvidia.com> * docs(adr): make the authorization config schema a public contract Links the renamed authentication record. Signed-off-by: dbudris <dbudris@nvidia.com> * docs(adr): link the renamed authentication record Signed-off-by: dbudris <dbudris@nvidia.com> * docs(adr): make the schema, not the ConfigMap, the authorization contract Signed-off-by: dbudris <dbudris@nvidia.com> * docs(adr): frame authorization as one library with pluggable backends Describe the two environments, standalone and managed service in an AI factory, and the backends each needs, instead of the library's methods. Signed-off-by: dbudris <dbudris@nvidia.com> * docs(adr): version the authorization config and name the public contracts Signed-off-by: dbudris <dbudris@nvidia.com> * docs(adr): describe managed-service backends without naming one IAM service Signed-off-by: dbudris <dbudris@nvidia.com> * docs: index the pluggable authorization ADR Signed-off-by: dbudris <dbudris@nvidia.com> * docs(adr): say no backend selector exists, and what permissive mode does to isolation Signed-off-by: dbudris <dbudris@nvidia.com> * docs(adr): say probes skip authorization, and that the authentication precondition holds only when enforcing Signed-off-by: dbudris <dbudris@nvidia.com> --------- Signed-off-by: dbudris <dbudris@nvidia.com> |
||
|
|
8fcfcea236 |
ci(issues): route Management Engine issues to area/management-engine (#2315)
* ci(labels): keep the repository's labels in .github/labels.yml .github/labels.yml lists every label with its colour and description. label-sync.yml makes the repository match it: on main, and on a manual run, it creates a listed label that is missing and updates one whose colour or description differs. It never deletes or renames a label; a label that exists only in the UI is logged and left alone. On a pull request it validates the file (unique names, six-digit hex colours, descriptions of at most 100 characters) and logs what a merge would change, without writing. The file matches today's labels, plus descriptions for the area/* labels, which had none. area/security and nvidia-runners keep empty descriptions until their purpose is written down. Signed-off-by: dbudris <dbudris@nvidia.com> * ci(labels): validate pull requests read-only, and apply main in order The pull request run held issues: write, and only the script's own event check stopped it writing. Split the workflow into two jobs: validate runs on a pull request with read-only permissions, and apply runs on main or a manual run with write access. apply uses one concurrency group that is never cancelled, so two quick merges cannot finish out of order: the newer pending run replaces the older one, and each run applies the whole file. The shared logic moves to hack/label-sync.js, which both jobs load. Signed-off-by: dbudris <dbudris@nvidia.com> * ci(labels): add area/management-engine and label its pull requests management-engine/ has CODEOWNERS owners but no area label, so its pull requests and issues land unrouted. Add area/management-engine to labels.yml, and a labeler rule for management-engine/** and its workflow files, matching the paths CODEOWNERS gives the team. Signed-off-by: dbudris <dbudris@nvidia.com> * ci(labels): apply the current main's labels.yml, not the triggering commit's A re-run of an older push kept that push's GITHUB_SHA, so apply checked out and restored the older labels.yml over a newer one. apply now checks out the default branch, so every run applies the latest file. Signed-off-by: dbudris <dbudris@nvidia.com> * ci(labels): drop the removed nktp/ paths from label descriptions Signed-off-by: dbudris <dbudris@nvidia.com> * ci(issues): route Management Engine issues to area/management-engine The bug and feature forms had no Management Engine component, so its issues arrived with no area. Add the option to both forms, map it to area/management-engine in issue-triage-check.yml, and add the label to the unrouted-issues search in docs/issue-triage.md. The label is created by the labels.yml change in #2313; merge after it. Signed-off-by: dbudris <dbudris@nvidia.com> --------- Signed-off-by: dbudris <dbudris@nvidia.com> |
||
|
|
4c9ed2ffb5 |
feat(e2e): run the kaps-bench smoke test on the perf stream (#2361)
* feat(e2e): run kaps-bench on the perf stream's tenant Signed-off-by: Ganesh Reddy <gputta@nvidia.com> * feat(e2e): stage kaps-bench and helm on the perf stream's runner Today a CI perf run stops at the suite's early check: the job leaves E2E_KAPS_BENCH_DIR empty and the runner has neither kaps-bench nor helm. After this, a stream with kaps-bench run specs logs in to NVCR, sets up helm at the pinned version, copies kaps-bench and its folder out of the image pinned in make/tool-versions.mk, and checks them with list-run-specs. Each run also uploads kaps-bench-results.tar.gz with the other suite files. Every new step runs only for a stream with kaps-bench run specs, so other streams run as before and their plans do not change. kaps-bench-results.tar.gz holds kaps-bench's output dir alone: its kubeconfig sits in the suite's temp dir outside it, and kaps-bench never sees the jump hosts or the token issuer that the log scrub withholds. Signed-off-by: Ganesh Reddy <gputta@nvidia.com> * fix(e2e): check the kaps-bench binary before a machine is taken requireKapsBenchTools now refuses a kaps-bench folder with no runnable kaps-bench in it, and a folder path that is not absolute, so both fail before the site and tenant are built instead of at the first run spec. Flag help and docs list the binary among the folder contents, say the results archive is absent when no run spec got as far as writing an output dir, and say helm is needed and checked for a stream with kaps-bench run specs. Signed-off-by: Ganesh Reddy <gputta@nvidia.com> * feat(e2e): let kaps-bench install what its run specs need Perf stream policy now names the run spec smoke/smoke-prometheus.yaml in place of smoke/smoke.yaml. That run spec lists kube-prometheus-stack as something to install first, so kaps-bench installs it with the helm in its own folder and leaves it for the run specs that follow. nvke no longer installs Prometheus: the helm call and its embedded values file are removed, and the perf stream's runner no longer needs helm on PATH. requireKapsBenchTools also refuses a folder without a runnable bin/helm, so such a folder fails before the site and tenant are built. kapsBenchSetup is the renamed once-per-tenant setup and writes the cluster context. kaps-bench gets 5 minutes between SIGTERM and SIGKILL when a run spec reaches its limit. In that time it stops its engine, writes its final record and removes a chart it had half installed. 5 seconds was too short for that: a stop during a chart install took 11.2 seconds in a hand test. tenantToolRun takes the 5 minutes as a stop grace per tool, and AICR keeps 5 seconds and its 10 second wait. So that the grace fits inside the spec's limit, kaps-bench is stopped 39m50s into the first run spec and 24m50s into a later one. When a canceled command returns, every process group it listed gets SIGKILL straight away, so a child that ignored SIGTERM does not outlive the spec. AICR runs get the same. Each run spec keeps its time limit and token lifetime, and the perf stream keeps its suite timeout. In qualify-e2e.yml, the helm steps run only for the GPU runtime again, as on main. KAPS_BENCH_IMAGE stays at v0.3.1, which has no smoke-prometheus.yaml, so the perf stream stops at its early check until the pin moves to an image that has it. Signed-off-by: Ganesh Reddy <gputta@nvidia.com> * feat(e2e): give the perf stream's tenant a monitoring node Today the perf stream's tenant is one control plane and three workers, and nothing keeps the benchmark's Prometheus off the workers it measures. A stream can now ask for monitoring nodes with monitoringWorkers in release/policy.yaml, and the perf stream asks for one, so its tenant is one control plane, three workers and one monitoring node. Planning carries the value into the plan, the summary line and the matrix, and the run step passes it to the suite as -e2e.monitoring-workers. With it above 0, the suite asks the site controller for a second node pool, monitoring, whose nodes are labeled node-role.kubernetes.io/monitoring and tainted monitoring=true:NoSchedule, and labels the workers node-role.kubernetes.io/worker. Only Pods that tolerate the taint can land on the monitoring node. Pool labels and taints are applied by the controller while it provisions a node, before it lifts its own provisioning taint, so no node is schedulable without them. Both label keys sit under kubernetes.io, which the controller refuses unless its nodeMetadata.allowlistedLabelKeys lists them. A site the suite builds allowlists exactly those two keys, and only when the stream asks for a monitoring node. Taint keys under reserved domains are always refused, so the taint key is simply monitoring. Forge and DSX pool specs and the NICo and CAPD request builders now carry a pool's labels and taints where they dropped them, and the capacity check counts the monitoring node with the workers, since it takes the worker shape. A stream without the parameter, or with 0, runs as before: its plan, its run step's flags, the node pools in its create request and the site's controller values are all unchanged. Plans for every other scope are byte identical. Not proven before a real run: the tenant's OVN-Kubernetes DaemonSet comes from a bundle outside this repository. Upstream OVN-Kubernetes tolerates every taint, and this bundle was not read. If it does not tolerate monitoring=true:NoSchedule, the monitoring node never becomes Ready and the tenant create times out. kaps-bench does not place Prometheus on the monitoring node yet, so until its values select the node, Prometheus still lands on a worker. Signed-off-by: Ganesh Reddy <gputta@nvidia.com> * chore(e2e): follow the latest kaps-bench image Perf runs stage nvcr.io/j7sbcjl3qgta/kaps-bench:latest and pull it fresh each time, so every run gets the build kaps-bench main published last. A perf result can move with a kaps-bench change and no nvke change. Each run prints the image digest in its Stage kaps-bench step; compare digests before comparing two results. Signed-off-by: Ganesh Reddy <gputta@nvidia.com> * fix(e2e): redact the kaps-bench results archive kaps-bench-results.tar.gz now goes through the same substitution as nvkectl-diagnostics.tar.gz, with each withheld value and its base64 form replaced in every file of the archive. In the site lane the list is the one the site's archives get: the values withheldFromEnvironment returns and every credential the deploy places on the node. In the lane that builds no site it is the values withheldFromEnvironment returns. Perf runs follow the newest kaps-bench image, so what kaps-bench writes into its output folder can change with no change in this repository, and a failed connection's error text names the address it tried; a file with nothing to replace keeps its bytes. Signed-off-by: Ganesh Reddy <gputta@nvidia.com> * fix(e2e): refuse monitoring nodes on a tenant that gets the GPU runtime A run that installs the GPU runtime on its tenant and also asks for monitoring nodes now fails before a machine is taken: in the site lane's first step at stage full, and at the start of the tenant create in the lane that builds no site. GPU checks expect -e2e.tenant-workers GPU nodes, and the monitoring node takes the worker shape, so on a GPU run it would most likely count as one more. No stream runs that combination, so the suite refuses it up front. A run with the GPU runtime switched on and no GPU to install it on, as on the perf stream, still goes ahead and skips the runtime. Signed-off-by: Ganesh Reddy <gputta@nvidia.com> * fix(e2e): check the kaps-bench folder before the nico-forge lane creates a tenant Against a site the suite did not build, the nico-forge lane now checks the kaps-bench folder and its run specs at the start of the tenant create, as the site lane does in its first step at stage full. Until now that lane found a missing folder only once the tenant was up and its checks had run. A run without kaps-bench run specs passes the check as before. In the e2e README, nico-forge is now the only lane named as running on a site the suite did not build, since nico-dsx runs only on a site it builds. Signed-off-by: Ganesh Reddy <gputta@nvidia.com> --------- Signed-off-by: Ganesh Reddy <gputta@nvidia.com> |
||
|
|
5412816acb |
feat(os-image): ship a CycloneDX 1.6 SBOM reconciled with dpkg beside each image (#2393)
* feat(os-image): ship a CycloneDX 1.6 SBOM reconciled with dpkg beside each image The node image now keeps each package's /usr/share/doc/<pkg>/copyright file, which provision.sh used to delete with the rest of /usr/share/doc, so syft can read licenses off the disk. extract-image-sbom.sh writes a CycloneDX 1.6 document beside the existing SPDX one. finish-image-sbom.py reconciles it with the image's dpkg status: each deb component records its dpkg Status, not-installed and config-files stubs are dropped, a package with no license gets an explicit NOASSERTION, license coverage is recorded and logged, and any name, architecture or version mismatch with dpkg fails the build. cyclonedx-cli, pinned in make/tool-versions.mk, then validates the document against the 1.6 schema. The workflow publishes the .cdx.json and its checksum beside the disk and the SPDX document. Part of #2202 Signed-off-by: Noah Kontur <nkontur@nvidia.com> * docs(os-image): describe the config-files exclusion as a policy, not file absence A config-files package can leave its configuration files on the image; the SBOM leaves it out because dpkg does not count it as installed. Signed-off-by: Noah Kontur <nkontur@nvidia.com> * fix(os-image): drop dangling doc symlinks and shorten SBOM comments Signed-off-by: Noah Kontur <nkontur@nvidia.com> * fix(os-image): fail on a package listed twice in the CycloneDX SBOM Signed-off-by: Noah Kontur <nkontur@nvidia.com> * docs(os-image): name only our own debs as shipping no copyright file Signed-off-by: Noah Kontur <nkontur@nvidia.com> --------- Signed-off-by: Noah Kontur <nkontur@nvidia.com> |
||
|
|
e47c658786 |
ci(triage): tell a new reporter what happens next (#2311)
* ci(triage): take needs-info issues out of the triage queue until the reporter replies needs-triage now means the triagers' turn and needs-info the reporter's. issue-triage-check.yml removes needs-triage while an issue has needs-info, and does not add it back in the hourly sweep. When the issue's author comments on a needs-info issue, it removes needs-info, and the issue returns to needs-triage. docs/issue-triage.md describes the new rule, and tells reporters that replying puts their issue back in the queue. Signed-off-by: dbudris <dbudris@nvidia.com> * ci(triage): close needs-info issues after 30 days without a reply A needs-info issue gets one reminder comment 14 days after the label was added, and is closed as not planned at 30 days with a comment explaining how to reopen it. The label stays on the closed issue, so a later comment from the reporter reopens it and returns it to needs-triage; the workflow reopens only issues it closed itself. docs/issue-triage.md describes the reminder, the close and the reopen. Signed-off-by: dbudris <dbudris@nvidia.com> * ci(triage): re-check a needs-info issue before reminding or closing it The hourly sweep and the run for a reporter's reply can overlap. Before posting a reminder or closing, the sweep now re-reads the issue and its comments since needs-info was added, and leaves the issue alone if it is no longer open with needs-info or the reporter has commented. The closing comment carries a marker, so a retry after a failed close does not post it twice. Markers count only on comments from github-actions[bot], so quoting one in a comment cannot suppress a reminder or a close. A failed follow-up on one issue is logged and the sweep moves on; the job still fails at the end so the error is seen. Signed-off-by: dbudris <dbudris@nvidia.com> * ci(triage): reconcile missed replies, and date the needs-info reminder The sweep now returns an issue to triage when the reporter has replied since needs-info was added but the run for that reply failed, or the reply predates this workflow. Before, it only declined to close such an issue, which then stayed in needs-info. It reads the issue first, then the date of its current needs-info, then the comments since, so a label re-added while a sweep runs is dated correctly. The reminder names the close date, computed from when needs-info was added, instead of a fixed "16 more days", which was wrong when the first reminder ran late. Signed-off-by: dbudris <dbudris@nvidia.com> * ci(triage): count only replies to the current needs-info, and undo a racing close - listComments filters `since` on a comment's last update, so an old reporter comment edited later counted as a reply. Replies now count only if created after needs-info was last added. - A reply run that waited in the queue while a maintainer re-added needs-info cleared the new request. The reply now has to postdate the current label. - A reply landing between the sweep's last read and its close could leave the issue closed without needs-info, so a later comment could not reopen it. After closing, the sweep reads the issue and comments again, and reopens it and returns it to triage if the reporter got in first. docs/issue-triage.md says an issue returns to needs-triage only when it has no priority. Signed-off-by: dbudris <dbudris@nvidia.com> * ci(triage): simplify the needs-info follow-up One rule now decides a reply: a comment from the reporter created after needs-info was last added. The reply run and the hourly sweep both use followUp, so a reply whose own run failed is picked up an hour later, and the separate reply branch goes. Remove the re-reads before and after closing, the closing-comment marker, and per-issue error handling. They guarded races between an hourly sweep and a reply on the same issue; at this repository's volume the worst case is an issue closed just after a reply, which the closing comment tells the reporter how to undo. Signed-off-by: dbudris <dbudris@nvidia.com> * ci(triage): keep the sweep going when one issue fails An error on one issue ended the step, so every issue after it went unreconciled, and a persistent failure on that issue repeated every hour. The per-issue work moves into reconcile(), each call is caught, and the run fails at the end listing the issues that failed. Signed-off-by: dbudris <dbudris@nvidia.com> * ci(triage): tell a new reporter what happens next When someone outside the project opens an issue, issue-triage-check.yml posts one comment: a maintainer will look at it within 7 days and either set its priority or ask for more detail, it carries needs-triage until then, how needs-info works, and a link to docs/issue-triage.md. Members, collaborators and bots get no comment, nor does an issue opened with a priority, which is how automation files its issues. A marker in the bot's comment keeps a re-run from posting it twice. docs/issue-triage.md lists the comment, and its cadence says a new issue should have a priority, or a request for more detail, within seven days. Signed-off-by: dbudris <dbudris@nvidia.com> --------- Signed-off-by: dbudris <dbudris@nvidia.com> |
||
|
|
f1d5d4c2f6 |
docs(os-image): direct users to build node images from source (#2298)
Signed-off-by: Nathan Hensley <nhensley@nvidia.com> |
||
|
|
8c993a53e9 |
ci(triage): hand needs-info issues to the reporter, and close them after 30 days without a reply (#2297)
* ci(triage): take needs-info issues out of the triage queue until the reporter replies needs-triage now means the triagers' turn and needs-info the reporter's. issue-triage-check.yml removes needs-triage while an issue has needs-info, and does not add it back in the hourly sweep. When the issue's author comments on a needs-info issue, it removes needs-info, and the issue returns to needs-triage. docs/issue-triage.md describes the new rule, and tells reporters that replying puts their issue back in the queue. Signed-off-by: dbudris <dbudris@nvidia.com> * ci(triage): close needs-info issues after 30 days without a reply A needs-info issue gets one reminder comment 14 days after the label was added, and is closed as not planned at 30 days with a comment explaining how to reopen it. The label stays on the closed issue, so a later comment from the reporter reopens it and returns it to needs-triage; the workflow reopens only issues it closed itself. docs/issue-triage.md describes the reminder, the close and the reopen. Signed-off-by: dbudris <dbudris@nvidia.com> * ci(triage): re-check a needs-info issue before reminding or closing it The hourly sweep and the run for a reporter's reply can overlap. Before posting a reminder or closing, the sweep now re-reads the issue and its comments since needs-info was added, and leaves the issue alone if it is no longer open with needs-info or the reporter has commented. The closing comment carries a marker, so a retry after a failed close does not post it twice. Markers count only on comments from github-actions[bot], so quoting one in a comment cannot suppress a reminder or a close. A failed follow-up on one issue is logged and the sweep moves on; the job still fails at the end so the error is seen. Signed-off-by: dbudris <dbudris@nvidia.com> * ci(triage): reconcile missed replies, and date the needs-info reminder The sweep now returns an issue to triage when the reporter has replied since needs-info was added but the run for that reply failed, or the reply predates this workflow. Before, it only declined to close such an issue, which then stayed in needs-info. It reads the issue first, then the date of its current needs-info, then the comments since, so a label re-added while a sweep runs is dated correctly. The reminder names the close date, computed from when needs-info was added, instead of a fixed "16 more days", which was wrong when the first reminder ran late. Signed-off-by: dbudris <dbudris@nvidia.com> * ci(triage): count only replies to the current needs-info, and undo a racing close - listComments filters `since` on a comment's last update, so an old reporter comment edited later counted as a reply. Replies now count only if created after needs-info was last added. - A reply run that waited in the queue while a maintainer re-added needs-info cleared the new request. The reply now has to postdate the current label. - A reply landing between the sweep's last read and its close could leave the issue closed without needs-info, so a later comment could not reopen it. After closing, the sweep reads the issue and comments again, and reopens it and returns it to triage if the reporter got in first. docs/issue-triage.md says an issue returns to needs-triage only when it has no priority. Signed-off-by: dbudris <dbudris@nvidia.com> --------- Signed-off-by: dbudris <dbudris@nvidia.com> |
||
|
|
cbc5b366c8 |
feat(controller): expose kube-vip ASN configuration (#2328)
* feat(controller): expose kube-vip ASN configuration Signed-off-by: Nathan Hammernik <nhammernik@nvidia.com> * fix(controller): handle null kube-vip chart values Signed-off-by: Nathan Hammernik <nhammernik@nvidia.com> --------- Signed-off-by: Nathan Hammernik <nhammernik@nvidia.com> |
||
|
|
be19c614c1 |
feat(controller): accept control-plane component extraArgs at cluster create (#2395)
* feat(controller): add control-plane component extraArgs to the create API Add apiServer, controllerManager and scheduler, each with an extraArgs map from flag name to value, to CreateClusterControlPlaneConfig and to the cluster's controlPlaneConfig. Store them in the control-plane configuration snapshot, which is JSONB, so no migration is needed. Refs #2386 Signed-off-by: Carl Danley <cdanley@nvidia.com> * feat(controller): validate and render control-plane extraArgs Reject an operator argument for a flag NVKE sets on that component, a flag name that isn't lowercase words joined by hyphens, a feature-gates value that doesn't parse, and a gate that contradicts NVKE's. The create handler runs the check before it writes anything. Render the arguments into each component's extraArgs in the kubeadm ClusterConfiguration at init, from the snapshot the init node is pinned to. feature-gates is merged with NVKE's gates and sorted. Control-plane nodes that join later read them from kubeadm-config. A test keeps the list of flags NVKE sets in step with the renderer and the kubeadm-config rewrites. Refs #2386 Signed-off-by: Carl Danley <cdanley@nvidia.com> * feat(controller): reject AllAlpha and AllBeta in operator feature-gates Each sets every gate of its stage, including gates a later Kubernetes version adds, so an upgrade would turn on features nobody chose. The design review agreed to reject them, through a per-version gate catalog that was later dropped. Keep that decision without it, and record it in the design doc and the API description. Refs #2386 Signed-off-by: Carl Danley <cdanley@nvidia.com> * docs(design): describe the flag-name rule for control-plane extraArgs The Validation section said only that each map is from a non-empty flag name to a string value. The controller also requires lowercase words joined by single hyphens, without the leading "--", because components turn "_" into "-" when they parse flags. Say so, and why. Refs #2386 Signed-off-by: Carl Danley <cdanley@nvidia.com> * chore: allowlist the kubeadm golden bootstrap token in gitleaks The new extraArgs golden files render the synthetic bootstrap token that validInitConfig sets, and generic-api-key flags "token: <value>". Allow that one literal under controller/internal/kubeadmconfig/testdata only, with condition AND, so a real credential in those files, or the same literal elsewhere, is still caught. Refs #2386 Signed-off-by: Carl Danley <cdanley@nvidia.com> --------- Signed-off-by: Carl Danley <cdanley@nvidia.com> |
||
|
|
51a16c2c47 |
docs(adr): propose configuration-driven JWT authentication for NVKE APIs (#2186)
* docs(adr): propose bearer JWT authentication for NVKE APIs Every NVKE API authenticates callers with a bearer JWT, verified by auth/authn against issuers the deployer configures. Signed-off-by: dbudris <dbudris@nvidia.com> * docs(adr): set authentication by a versioned configuration document The AuthenticationConfiguration schema is the public contract, so a deployer or a central identity system can set who an NVKE API trusts. Bearer JWTs are the mechanism. Retitles and renames the record. Signed-off-by: dbudris <dbudris@nvidia.com> * docs(adr): retitle as configuration-driven JWT authentication The decision now names both the bearer JWT and the configuration document. Renames the record to match. Signed-off-by: dbudris <dbudris@nvidia.com> * docs(adr): make the schema, not the ConfigMap, the authentication contract Signed-off-by: dbudris <dbudris@nvidia.com> * docs(adr): define NVKE APIs without naming one API Signed-off-by: dbudris <dbudris@nvidia.com> * docs(adr): say NVKE issues no tokens, and how nvkectl gets one Signed-off-by: dbudris <dbudris@nvidia.com> * docs(adr): cover gRPC callers and trim the permissive-mode bullet Signed-off-by: dbudris <dbudris@nvidia.com> * docs(adr): tighten the NVKE API definition Signed-off-by: dbudris <dbudris@nvidia.com> * docs: index the JWT authentication ADR Signed-off-by: dbudris <dbudris@nvidia.com> --------- Signed-off-by: dbudris <dbudris@nvidia.com> |
||
|
|
a83ace8713 |
refactor(controller): render the release CRDs from the controller chart (#2350)
* refactor(controller): render the release CRDs from the controller chart The NVKE controller and management-engine no longer share CRDs, so the nvke-crds subchart only added a helm dependency build step. Render the three release CRDs from the controller chart's own files/crds and remove the subchart, its Chart.lock and the build plumbing around it. Signed-off-by: Miancheng Lin <mianchengl@nvidia.com> * fix(controller): address review of the chart-owned release CRDs Embed the controller chart file by file, so a stale charts/nvke-crds-*.tgz in an existing checkout is not embedded and rendered a second time. Point the generated-CRD check at the generator's fixed output path instead of the overridable CHART. Keep the .gitignore entries for built chart dependencies and dist/, which existing checkouts and the CLI build still use. Signed-off-by: Miancheng Lin <mianchengl@nvidia.com> --------- Signed-off-by: Miancheng Lin <mianchengl@nvidia.com> |
||
|
|
d36f0b61ad |
fix(os-image): move kubeadm-distro containerd and runc to patched releases (#2374)
containerd 2.3.0 (Kubernetes 1.36.3) and 2.2.3 (1.35.3) are affected by fourteen published advisories; 2.3.7 and 2.2.10 fix all of them. runc 1.5.2, 1.4.2 and 1.3.5 are affected by CVE-2026-119101; 1.5.3 and 1.3.7 fix it. - pins_for: 37) runc v1.5.3; 36) containerd v2.3.7, runc v1.5.3; 35) containerd v2.2.10, runc v1.3.7. 34) and below are unchanged. - Regenerate the v1.37.2, v1.36.3 and v1.35.3 locks for amd64 and arm64 with `make lock`. Only the containerd and runc rows change. - Restate the 36) pins in the bundle test fixture. - DEB_REVISION 2: the package content changes, the Kubernetes patch does not. - Name the new 1.36.3 containerd pin in the pre-provisioned nodes guide. Closes #2340 Signed-off-by: Alex Yuskauskas <ayuskauskas@nvidia.com> |
||
|
|
534e033790 |
feat(e2e): add a third DSX datahall for the GB300 lane (#2302)
* feat(e2e): run the GB300 datahall through the qualify-e2e lane Adds datahall-3, the GB300 stream that selects it, and a label to run it, through stage full. Every machine the datahall owns is an arm64 GB300 NVL72 tray with no DPU, which sets it apart from the other two DSX datahalls in three ways, and the harness now handles each: - Its VPC is FLAT. A host with no managed DPU can only be placed in a FLAT VPC, which has no prefix; NiCO attaches the instance itself when the create carries autoNetwork. dsx.yaml declares `autoNetwork: true` in place of `vpcPrefixID`. The site node is created that way and its address read from the NiCO machine, and the tenant's control plane and workers are NicoMachines with `autoNetwork: true` and no interfaces. A pool that names a prefix as well is refused. - It mints tokens from a Keycloak realm on its own API host, not from SSA. `issuerPath` names the realm's issuer base. A realm has no `carbide` scope and answers a request for one with 400 invalid_scope, so a datahall with an issuerPath asks for no scope, both when the suite mints and in the client CAPNICo is handed, and the nico-credentials template writes `scope` only when there is one. A token is reused until a minute before the issuer's expires_in, capped at the old five minutes. - Its API is served under a private CA, DSX_<DATAHALL>_CA_CERT. The suite's API and token clients trust it beside the roots they already have, and CAPNICo gets it as `ca.crt` in nico-credentials, base64 in `data` so the PEM renders on one line through either renderer. nvkectl's template context gains the field, left empty. dsx and dsx-arm64 leave the new stream out, and a new dsx-gb300 scope names it. The qualify-e2e-dsx-gb300 label runs that scope at the dsx environment's stage, without changing QUALIFY_E2E_SCOPE. A datahall that declares none of this behaves exactly as before. Signed-off-by: Jayson Du <jaydu@nvidia.com> * fix(ci): withhold the DSX API hosts from artifacts and the job log A DSX API host names its datahall, which is why the workflow takes it as a secret. But GitHub masks a secret only in the job log, and only in the form it was stored in, so the host still reached three places: - run-inputs.txt, an uploaded artifact, printed the datahall-1 and datahall-2 api rows in full. The resolved-inputs table now withholds DSX_*_API by shape, as it already does the jump hosts and the join token. - The withhold step scrubbed only the jump hosts and SSA_ISSUER from the log and reports it uploads. It now finds DSX_*_API too, and the suite's own redaction of the archives it writes takes the same values. - An error can name a host without its scheme, as a DNS lookup or a certificate mismatch does, and that is not the form the secret was stored in. Each withheld value is now also scrubbed as its host alone, and the run step masks those hosts in the job log, which a public repository publishes. Matched by shape, so a datahall added later is withheld without editing a list. Signed-off-by: Jayson Du <jaydu@nvidia.com> * build: update CAPNICo to v0.3.0-rc.1 v0.3.0-rc.1 is the first CAPNICo release with NicoMachine autoNetwork (dsx-ai-factory/cluster-api-provider-nico#279), which a FLAT VPC needs: without it CAPNICo cannot place a machine there, and a host without a managed DPU can join no other kind. capnico.yaml's header now says so, so the pin is not moved below it. NicoMachine and NicoMachineTemplate gain autoNetwork and phoneHomeEnabled and no longer require interfaces, and NicoIdentity gains a next-check time. Nothing else in the manifest changes apart from the image. Re-vendor capnico.yaml from the v0.3.0-rc.1 infrastructure-components.yaml asset, re-apply the two nvke manager args, and copy it into the embedded manifests with `make -C cli capnico-manifest`. The body is the asset byte for byte apart from those args. Move the pins that decide what runs: release.yaml, and the bootstrap manifest's ref and digest. The digest is the multi-architecture index's (amd64 and arm64), read from GHCR. The tests that pin them and the docs that name the deployed release move with them. The NicoIdentity debug page also takes rc.1's token-issuer messages: a 400 other than invalid_client, such as an unknown scope, is now AuthenticationFailed rather than ValidationFailed. controller/go.mod, management-engine/go.mod and the CRD fixtures stay at v0.1.0, so the lanes that build CAPNICo from go.mod, and gofail, keep testing v0.1.0 until the Go module follows in its own change. The clusterctl example in docs/site-bootstrap/infrastructure-providers.md also stays at v0.1.0: the rc.1 metadata.yaml lists only release series 0.0 and 0.1, so a validated clusterctl init refuses v0.3.0-rc.1. Signed-off-by: Jayson Du <jaydu@nvidia.com> * fix(ci): trim a withheld URL before taking its host host_of stripped a URL's port before its trailing whitespace, so an API stored as " https://api.example:443 " was masked and scrubbed as api.example:443, and an error naming api.example alone, such as a DNS lookup, kept the host. The provider trims the value, so that error is reachable. All whitespace now goes first: a value wrapped in newlines used to emit an empty ::add-mask:: and print the bare host on the next line of the job log. An IPv6 host also loses its brackets, as URL.Hostname drops them, so an error naming the bare address is masked and scrubbed too. Signed-off-by: Jayson Du <jaydu@nvidia.com> * test(e2e): cover the datahall CA's transport refusal and a missing issuer With a datahall CA set, New refuses a client whose transport is not an *http.Transport, because the CA cannot be added to an arbitrary RoundTripper. Options.HTTPClient now says so, and a test checks the refusal with a CA and the unchanged client without one. SSAClientFor and MintToken take the datahall's issuerPath or fall back to SSA_ISSUER. A test calls both with neither set and checks that each refuses before any exchange, naming the variable and the datahall. Signed-off-by: Jayson Du <jaydu@nvidia.com> * test(release): pin the streams each shipped DSX scope selects The scope matching tests use synthetic scopes, so nothing failed if a later DSX stream widened what a hardware label runs. The new test reads release/policy.yaml and checks exactly what dsx, dsx-amd64, dsx-arm64 and dsx-gb300 select. A DSX stream added later fails it until it is placed in those scopes on purpose. Signed-off-by: Jayson Du <jaydu@nvidia.com> * docs: say the DSX labels run stage full by default A labelled run takes its stage from QUALIFY_E2E_STAGE and falls back to full, so "at stage full" read as a pin the workflow does not have. Both qualify-e2e-dsx-gb300 rows, and the qualify-e2e-dsx row next to one of them, now say full by default. Signed-off-by: Jayson Du <jaydu@nvidia.com> * test(e2e): put the full-stage check back on one line The variable held the run environment for a CA check that has since gone, and only its Provider is read now. The line is back to what main has. Signed-off-by: Jayson Du <jaydu@nvidia.com> --------- Signed-off-by: Jayson Du <jaydu@nvidia.com> |
||
|
|
51dc0c4dae |
feat!: make apiAuth the only API authentication source (#1938)
apiAuth in nvke-controller-config becomes the only place the controller reads its API authentication configuration from. This is the breaking second step of phase 2. - The controller refuses to start when AUTH_CONFIG_PATH is set, naming apiAuth as the replacement, and passes authn.Setup only the apiAuth section. authn.Load and Options.ConfigPath stay for management-engine's --auth-config. - The chart no longer renders or mounts nvke-auth-config. It refuses apiAuth.configMap and an AUTH_CONFIG_PATH env entry by name, and a caBundlePath into the old mount, pointing at jwks.caBundle. - apiAuth.permissive requires apiAuth.enabled, in the chart and at startup. Tilt passes it only with authentication on. - controllerconfig, which decodes the apiAuth section, gets the decoder-strictness tests. - nvkectl and the token scripts keep their fallback to the authentication ConfigMap for controllers from before this change. - The e2e suite reads the enforcement mode from apiAuth alone. - The pod template carries a checksum of nvke-controller-config, so an upgrade that changes apiAuth rolls the controller without Reloader, which the NVKE stack does not install. - API authorization (#2125) counts authentication as on exactly when apiAuth.enabled is. BREAKING CHANGE: AUTH_CONFIG_PATH and apiAuth.configMap are removed. A site that managed its own authentication ConfigMap moves audiences and issuers into apiAuth.config, CA bundles into jwks.caBundle, and sets apiAuth.enabled. apiAuth.permissive without apiAuth.enabled is refused. nvkectl older than the previous step gets 401. Signed-off-by: Abhay Krishna Arunachalam <abhaykrishna@nvidia.com> |
||
|
|
3256d9cae4 |
docs: propose operator-set Kubernetes feature gates (#2095)
* docs: propose operator-set Kubernetes feature gates for workload clusters Add a design and a proposed ADR for letting operators set beta and GA Kubernetes feature gates on a workload cluster's control plane and kubelets, validated in the API request against a catalog generated from Kubernetes' own gate registry, and rechecked on upgrade. Signed-off-by: Carl Danley <cdanley@nvidia.com> * docs: scope the feature gate upgrade guarantee to gates the operator set Signed-off-by: Carl Danley <cdanley@nvidia.com> * docs: replace feature-gates on control-plane upgrade instead of keeping old values Signed-off-by: Carl Danley <cdanley@nvidia.com> * docs: merge NVKE's kubelet gates with the operator's map Signed-off-by: Carl Danley <cdanley@nvidia.com> * docs: update stored control-plane gate maps in the upgrade transaction Signed-off-by: Carl Danley <cdanley@nvidia.com> * docs: align feature gates design with control-plane isolation and review feedback Store the control-plane map in the control-plane configuration snapshot and each pool's map in its node sets, and render every host from its own snapshot or node set, so the design works with today's kubeadm bootstrap and with control-plane isolation. Drop the control-plane kubelet map, add the required-gates list, name every stored gate in a dependency failure, and keep the replaced map for rollback. Put kubelet gates in a JSON patch that replaces what the kubelet-config ConfigMap holds, and reject upgrades of clusters with stored gates until the upgrade recheck lands. Signed-off-by: Carl Danley <cdanley@nvidia.com> * docs: move feature gates to ControlPlaneClass and pass them through unchecked Gates are set per control-plane component on ControlPlaneClass, and the management engine passes them to the NVKE controller as given. The controller no longer validates gates against a per-version catalog or restricts stages; it rejects only values that contradict gates NVKE sets. Gate changes roll the control plane, upgrades carry gates unchanged, and a version check moves to later work. Signed-off-by: Carl Danley <cdanley@nvidia.com> * docs: take control-plane extraArgs per component in the NVKE controller The NVKE controller's API takes extraArgs for kube-apiserver, kube-controller-manager and kube-scheduler instead of feature gate maps, so it carries any flag without a field per feature. ControlPlaneClass keeps a featureGates map per component, and the management engine renders it into a feature-gates flag. Operator arguments can't override flags NVKE sets; feature-gates is merged with NVKE's gates instead. Signed-off-by: Carl Danley <cdanley@nvidia.com> --------- Signed-off-by: Carl Danley <cdanley@nvidia.com> |
||
|
|
299cb39291 |
fix(cluster-service): make mandatory fields mandatory in NodeProfile and ClusterRelease (#2331)
* fix(cluster-service): make mandatory fields mandatory Signed-off-by: Stephanie Liu <stephaliu@nvidia.com> * docs(cluster-service): align NodeProfile references Signed-off-by: Stephanie Liu <stephaliu@nvidia.com> * test(cluster-service): align upstream fixtures with required fields Signed-off-by: Stephanie Liu <stephaliu@nvidia.com> --------- Signed-off-by: Stephanie Liu <stephaliu@nvidia.com> |
||
|
|
405de08095 |
feat(controller)!: reject a node pool Kubernetes version newer than the control plane (#2324)
* feat(controller)!: reject a node pool Kubernetes version newer than the control plane Signed-off-by: Payal Patel <payapatel@nvidia.com> * fix(controller): block a node pool version change while a control-plane upgrade is pending Signed-off-by: Payal Patel <payapatel@nvidia.com> * fix(controller): raise ControlPlaneUpgrading when the control-plane version is stored Signed-off-by: Payal Patel <payapatel@nvidia.com> --------- Signed-off-by: Payal Patel <payapatel@nvidia.com> |
||
|
|
622b4adbdc |
feat(cluster-service): publish versioned deployment artifacts (#2349)
* feat(cluster-service): publish versioned deployment artifacts Build the three runtime images for both supported architectures, verify their provenance before DSX promotion, and package the state-containing chart with matching image digests. Reuse the existing NVCR environment and release digest inventory, with offline validation of package inputs and publication boundaries. Relates to CLI-125 Created with AI assistance Signed-off-by: Mark Stillwell <mstillwell@nvidia.com> * fix(cluster-service): resolve registry settings in publisher steps Read protected environment variables at step execution time and keep artifact paths relative to the checkout. Pass the absolute receipts path when packaging through the module Makefile. Relates to CLI-125 Created with AI assistance Signed-off-by: Mark Stillwell <mstillwell@nvidia.com> * fix(cluster-service): follow existing chart publication conventions Use the shared repository version resolver and root release/beta triggers. Publish the chart through the existing workflow Helm pattern, removing the separate Go packager and archive comparator. Keep beta artifacts out of DSX and document NVCR destinations and GitHub evidence retention. Relates to CLI-125 Created with AI assistance Signed-off-by: Mark Stillwell <mstillwell@nvidia.com> --------- Signed-off-by: Mark Stillwell <mstillwell@nvidia.com> |
||
|
|
115a00db4e |
feat(e2e): install the tenant GPU runtime with AICR on the hardware lane (#2012)
* feat(e2e): give tools on the runner a relayed tenant admin kubeconfig AdminKubeconfig serves the suite's own client, which dials the tenant through the lane's endpoint relay in process. A tool the suite runs as a separate program on the runner, such as helm or aicr, reads a kubeconfig file instead, and the published API server address is not reachable from there. RelayedAdminKubeconfig renders the admin kubeconfig with each cluster's server rewritten to the relay's address and tls-server-name pinned to the published host, so certificate verification still holds. With no relay configured it returns the published kubeconfig unchanged. The token it mints can be given a lifetime, so a long-running install does not outlive its credential. mintJWTAs passes it to spire-server as -ttl; zero keeps the server's default. Signed-off-by: Ron Compos <rcompos@nvidia.com> * build: pin aicr for the Forge lane's tenant GPU runtime aicr renders, installs and validates the GPU runtime on the hardware lane's tenant. It runs on the lane's amd64 runner, so amd64 is the only digest needed. The digest is committed, not read from the release's checksums file, as for every other pinned tool. Signed-off-by: Ron Compos <rcompos@nvidia.com> * feat(e2e): install the tenant GPU runtime with AICR behind -e2e.tenant-gpu-runtime The hardware lane's tenant checks skip the GPU checks (36 and 37) because nothing installs a GPU runtime on the tenant. -e2e.tenant-gpu-runtime, off by default, adds two specs before the tenant checks: one renders AICR's generic Ubuntu training recipe for the run's gpu capability and deploys its bundle through a relayed admin kubeconfig, and one runs AICR's deployment checks and records each result in the spec's report. The tenant checks then expect every worker to advertise nvidia.com/gpu. AICR's catalog has no generic GB200 leaf, so aicr/ carries one as an overlay passed with --data. A run with no gpu, a gpu with no recipe, or an Ubuntu series other than 24.04 gets one skipped spec saying why, and both specs skip once an earlier check on the tenant failed. With the switch off the suite's specs are unchanged. Signed-off-by: Ron Compos <rcompos@nvidia.com> * ci(qualify-e2e): add the opt-in tenant GPU runtime switch A tenant-gpu-runtime dispatch input, or the QUALIFY_E2E_TENANT_GPU_RUNTIME repository variable on non-push runs, passes -e2e.tenant-gpu-runtime to the suite. qualify local takes the same switch as --tenant-gpu-runtime. The run logic is in release/hack/qualify-e2e.sh, so the switch is there too. The script forwards the stream's ubuntu capability, and with the switch on it adds 65 minutes to the suite's timeout, and so to go test's. The matrix carries a second job timeout 65 minutes longer, which the job takes when the switch is on, so the gaps between the three clocks stay the same. The workflow installs the pinned aicr, helm and kubectl when the switch is on, qualify local checks for them, and the run-inputs record lists the switch. Signed-off-by: Ron Compos <rcompos@nvidia.com> * build: pin aicr 1.2.0 for the NVKE recipe 1.2.0 is the first AICR release with an NVKE leaf, gb200-nvke-ubuntu-training. The digest is the linux_amd64 tarball's, checked against the release's aicr_checksums.txt. Signed-off-by: Ron Compos <rcompos@nvidia.com> * feat(e2e): install the tenant GPU runtime from AICR's NVKE recipe without the fabric The install rendered AICR's generic Ubuntu training recipe through a local GB200 overlay, because AICR had no leaf for NVKE. It has one now, and it carries what a generic recipe misses on NVKE: the toolkit reads config.toml directly (RUNTIME_CONFIG_SOURCE=file), without which its drop-in for containerd 2.3's version 3 config stops containerd starting; unprivileged pods cannot claim GPUs through NVIDIA_VISIBLE_DEVICES; and the DRA driver is 0.5.1. The recipe is now rendered with --service nvke. The overlay in aicr/ becomes a child of the NVKE leaf that turns off network-operator, sriov-ib-networks and rdma-modules. The InfiniBand fabric is used by nothing the lane checks, which has one GPU worker and no RDMA checks, and it needs ConnectX-7 firmware and partition membership the lane has not qualified. Turning it off in the recipe rather than at bundle time keeps aicr validate from expecting it. TestAICRRecipeLeavesTheFabricOut renders the recipe offline when aicr is on PATH, so a bump that renames the leaf or a fabric component fails before it reaches hardware. Signed-off-by: Ron Compos <rcompos@nvidia.com> * fix(e2e): satisfy noctx and gofumpt in the AICR recipe test TestAICRRecipeLeavesTheFabricOut runs aicr through exec.CommandContext with the test's context, which the noctx linter requires, and aicrRecipeArgs puts its slice literal's elements on their own lines, as gofumpt does. Signed-off-by: Ron Compos <rcompos@nvidia.com> * fix(qualify): require timeout or gtimeout for the tenant GPU runtime AICR's nvsentinel install will not apply its CRDs without a bounded timeout, and macOS ships neither timeout nor gtimeout. Check for one in the qualify local preflight and document it. Signed-off-by: Ron Compos <rcompos@nvidia.com> * fix(e2e): expect every hardware tenant worker to advertise a GPU The Forge and DSX tenants leave workerPools out of their shape, since their builder makes -e2e.tenant-workers workers. Counting the shape's pools gave 0, so with the GPU runtime installed the GPU node check expected none and failed on the worker that advertised one. Fall back to -e2e.tenant-workers when the shape has no worker pools. Signed-off-by: Ron Compos <rcompos@nvidia.com> * docs(qualification): list timeout or gtimeout for the tenant GPU runtime Signed-off-by: Ron Compos <rcompos@nvidia.com> * fix(e2e): kill an AICR command's whole process group when its spec ends deploy.sh starts helm and kubectl, which hold the command's output pipe. Cancelling killed only bash, so Run waited on them and they kept installing into a tenant being torn down. Run the command in its own process group, kill the group on cancel, and bound the wait for the pipe. Also skip with the real reason when the run's capabilities cannot be read, rather than saying the run asks for no GPU, and test that the script's gpu_runtime_minutes matches the two specs' limits. Signed-off-by: Ron Compos <rcompos@nvidia.com> * fix(e2e): make the GPU runtime unit tests hold where the backend lanes run them The backend E2E lanes run this package as a compiled binary away from the checkout, and go test runs every Test in it. TestGPURuntimeMinutesCoverTheSpecs now skips when qualify-e2e.sh is not beside the binary, as TestUnit_SiteNamespacesCoverTheDeployPath does, and the checkout-based unit lane still compares it. TestAICRCommandCancelKillsItsChildren probed the child by pid. In a container nothing may reap a killed child, and a zombie still answers kill -0, so the check failed though the child was dead. The child now beats into a file, and the test checks that the beats stop. Signed-off-by: Ron Compos <rcompos@nvidia.com> * fix(e2e): stop every AICR descendant on cancel and require a deployment report Canceling an AICR command signaled only its own process group. AICR 1.2.0's CRD installer runs its step under GNU timeout without --foreground, which moves into a group of its own and forwards only signals it receives itself, so that step kept touching the tenant after run.try returned. Cancel now reads the command's process tree first (/proc on Linux, ps elsewhere), sends SIGTERM to every group in it, never the suite's own, and SIGKILL after a 5 second grace. The cancellation test gains a case under GNU timeout, forked rather than exec'd so timeout can leave the group, and skips it where the process list cannot be read. aicr validate exits 0 for a phase with no checks, and the spec checked only the exit status. aicrValidateResult now requires a successful exit and a report listing at least one check, keeping the command's own error. Also, from review: try keeps only the last 64 KiB of output for its failure message; kube.KubeconfigTokenExpiry reads the expiry of the admin token actually written, and the spec warns when it lapses before the spec's deadline; and RelayedAdminKubeconfig's relay failure is tested directly. Signed-off-by: Ron Compos <rcompos@nvidia.com> --------- Signed-off-by: Ron Compos <rcompos@nvidia.com> |
||
|
|
6c1e44f381 |
feat(release): publish the perf stream to its own TestGrid group (#2316)
Every qualification stream publishes under groups/nvke/ in the TestGrid bucket today, so the perf stream's results land in the nvke group next to the hardware streams and DSX TestGrid shows them all under one Project card. After this change a stream can name its own group with the testGridGroup parameter in release/policy.yaml, and the perf stream names nvke-scale. Its results go to groups/nvke-scale/<dashboard>/<tab>/<build>/ with the same dashboard, tab and build names as before, so it gets a Project card of its own. Every other stream names no group and still publishes under groups/nvke/. Why it is safe: only the group segment of the path moves, and only for a stream that sets the parameter. Metadata, release_stream, dashboard, tab and build still come from the subject and the stream as they do now. A group name has to pass the same one path segment check as an environment file name, so it can never be a path. Plans for every other scope render byte for byte as they do on main. Before this merges, the testgrid repo has to allow nvke to write under groups/nvke-scale/ (wif-nvke.tf in https://gitlab-master.nvidia.com/dgxcloud/release-automation/testgrid). Signed-off-by: Ganesh Reddy <gputta@nvidia.com> |
||
|
|
ab9764ca3c |
docs(site-bootstrap): require containerd 2.2 or later on pre-provisioned nodes (#2014)
* docs(site-bootstrap): require containerd 2.1 or later on pre-provisioned nodes The pre-provisioned node guide told operators to keep whatever containerd was already installed. The CAPI SPIFFE exec-auth overlay mounts its plugin as an OCI image volume, which needs containerd 2.1.0 or later; containerd 1.7 fails those pods with 'failed to mkdir ""'. State the 2.1.0 floor as a prerequisite, add a containerd --version check before and after the install, and cite the 2.3.0 pin in the nvke-kubeadm-distro lock for Kubernetes 1.36.3. Fixes #1993 AI assistance was used to write this change. Signed-off-by: Tjark Gunnar Rasche <trasche@nvidia.com> * docs(site-bootstrap): floor the containerd keep-decision at 2.1.1 containerd 2.1.0 exactly is affected by CVE-2025-47290 (GHSA-cm76-qm8v-3j95), fixed in 2.1.1, so the pre-provisioned-nodes guide no longer blesses keeping a pre-installed 2.1.0. All NVKE reference locks already pin containerd 2.1.7 or later, so only externally provisioned nodes are affected. Signed-off-by: Tjark Gunnar Rasche <trasche@nvidia.com> * docs(site-bootstrap): raise the containerd floor to 2.2.0 The CAPI SPIFFE exec-auth overlay mounts its plugin from an image volume with subPath: ko-app. containerd added image volumes in 2.1.0, but its CRI image-mount code has no subPath handling in any 2.1.x tag; it first appears in 2.2.0 (containerd commit cff8184ff, "support image volume sub path"). A 2.1.x node therefore cannot run the overlay, so 2.1.1 was too low a floor. 2.2.0 also excludes 2.1.0, so the CVE-2025-47290 note is no longer needed. While here, say that the 2.3.5 CI version in the init-node prerequisite is nerdctl's, not containerd's, as the review on #1993 asked. Signed-off-by: Tjark Gunnar Rasche <trasche@nvidia.com> --------- Signed-off-by: Tjark Gunnar Rasche <trasche@nvidia.com> |
||
|
|
f41e9b693c |
ci: version and release every component by the bare vX.Y.Z tag (#2164)
* ci: version every artifact by the bare v* describe
Every published artifact is now versioned by
`git describe --tags --always --match 'v*' "${GITHUB_SHA}"`, with no
component prefix, so component versions follow the nvke tag rather than
moving independently. The controller image, chart, provisioned provider
image, agent binaries and packages, nvkectl and the OS image resolve
their version this way, and the version is passed to each build so the
binaries report the same version they are published under.
The release registry describes and resolves components against the
bare v* tags, so a beta qualifies the artifacts its tag published.
Signed-off-by: Alex Pelavin <apelavin@nvidia.com>
* ci: build and publish every component on a bare vX.Y.Z tag
Every component build that a vX.Y.Z-beta.N tag runs now runs on a bare
vX.Y.Z tag too: the controller and provisioned provider images, the
controller chart, the agent binaries and packages, the OS image and
nvkectl. The gates that admitted only beta tags admit any bare v* tag,
and nvkectl is versioned by the bare describe for both.
Beta-only behaviour is unchanged: a beta still skips DSX, stays out of
the apt index and bakes non-FDE images only. A release does all three.
promote-dsx now runs on vX.Y.Z, so it tags DSX with the bare describe
the NVCR copy was published under.
The beta flag in tag-publish.yml is removed, so nvkectl is published to
GHCR for every tag it is built for, betas included. cli-artifact.yml
versions it by the bare describe.
Signed-off-by: Alex Pelavin <apelavin@nvidia.com>
* build: version every module by the bare v* describe
The Makefiles, the root cmd_version and the scripts that derive the
agent version described against component tags (agent/v*, controller/v*,
cli/v*, os-image/v*, cluster-api-provider-provisioned/v*,
management-engine/v*). They now use
`git describe --tags --always --dirty --match 'v*'`, the version the
publish workflows already stamp, so a local or CI build reports the same
version as the artifact published from that commit.
The fallbacks for an untagged checkout and a build outside git are
unchanged, as is the agent's 0.0.0- prefix for an untagged .deb. The
e2e VALIDATE_VERSION now pairs with the nvke-validate image, and the
comments and log lines that named the old describe are updated.
Signed-off-by: Alex Pelavin <apelavin@nvidia.com>
* docs: describe one vX.Y.Z tag releasing every component
Components are no longer tagged on their own. The release docs, the
module AGENTS.md and README files and SECURITY.md now say one signed
vX.Y.Z tag releases the repository and every component built from it,
versioned by `git describe --tags --always --match 'v*'`.
docs/artifact-publication.md lists what each workflow publishes for a
release and for a nightly beta, and that an RC publishes nothing of its
own. The prefixed tag instructions, and the go get example that relied
on them, are removed. Mentions of past component tags that remain true
as history are kept.
The qualification docs and the qualify-e2e resolution input now say a
release, an RC and a beta are all qualified with commitDescribe, which
describes the commit the version marks and so resolves every component
to it. gitTag takes the highest v* tag in the repository and is not for
qualification.
Signed-off-by: Alex Pelavin <apelavin@nvidia.com>
* ci: stop publishing artifacts from component release tags
A component release tag (agent/vX.Y.Z, controller/vX.Y.Z,
cluster-api-provider-provisioned/vX.Y.Z, os-image/vX.Y.Z, cli/vX.Y.Z) no
longer starts a publisher; a release is a bare vX.Y.Z tag. Component
release candidate tags still start the same workflows as before.
Signed-off-by: Alex Pelavin <apelavin@nvidia.com>
* ci: publish every GHCR release artifact on vX.Y.Z
agent-artifact.yml, chart-publish.yml and image-validate-nvcr.yml only ran
on component tags, so a release published none of them. Each now runs on a
bare vX.Y.Z tag and versions by the bare v* describe. The controller and
provider GHCR promotions and the agent .deb GHCR push also run on vX.Y.Z
(not betas), since they were gated on component tags too and the GHCR
chart waits for the controller image there.
Signed-off-by: Alex Pelavin <apelavin@nvidia.com>
* ci: name every tag build by its describe version, not the tag
The publishers versioned the build by the bare v* describe but still took
version aliases, GHCR promotion tags, the agent .deb version, the nvkectl
S3 release path and the os-image version from the tag name. On a component
RC tag the two disagreed, and on a vX.Y.Z tag agent-deb's GHCR push would
have been tagged with the commit SHA. Every one now uses the describe
version, which on the tagged commit is the tag itself.
Signed-off-by: Alex Pelavin <apelavin@nvidia.com>
* ci: pass the describe version to build commands through the environment
The version is git describe output, which a tag name controls. It was
interpolated with ${{ }} into the run script of six build steps, so a tag
containing shell syntax would have run in jobs that hold registry
credentials. Each step now reads it from an environment variable.
Signed-off-by: Alex Pelavin <apelavin@nvidia.com>
* ci: give component RC tags no version alias
A component RC tag still starts the agent and nvkectl publishers, and
they name the build by the bare v* describe. On a commit that already
carries a release tag that is the release's version, so the RC run would
move the release's alias to a new manifest. Only a bare v* tag now adds
the version alias; a component RC tag publishes sha-<commit> only.
Signed-off-by: Alex Pelavin <apelavin@nvidia.com>
* ci: resolve every publisher's version through one checked script
Every publisher resolves its version through
release/hack/describe-version.sh instead of calling git describe itself.
A bare v* tag run is published under its own tag; any other run under
the v* describe. Before anything is pushed, the script refuses:
- a describe that is not a v* release, RC or beta, its describe suffix,
or a bare commit. The describe can name any v* tag on the commit, and
agent/Makefile passes it to the shell inside -ldflags.
- on a v* tag run, a tag that is not a version or does not name the
commit being built.
- on a component tag run, a commit a v* tag already names. Its describe
is that tag, so a component RC there would republish that tag's
.debs, images, charts and nvkectl.
Naming a tag run by its tag rather than the describe matters when the
commit carries several: git describe prefers the annotated release, and
of two lightweight betas the first by name. A beta re-run on a released
commit, or a second beta on one commit, now publishes under its own
version instead of another tag's.
release/hack/test_describe_version.py covers these cases against fixture
repositories, and runs with next-tag-test in the merge gate.
Signed-off-by: Alex Pelavin <apelavin@nvidia.com>
* ci: let only a release version into the apt index and GHCR
agent-deb-publish.yml chose whether to update index.json, and whether to
push the .debs to GHCR, from the ref: anything but a beta tag did both.
An agent/v* RC tag carries no -beta., but its packages are versioned by
the describe, so on a commit past a beta it made that build installable
from apt and pushed it to GHCR.
The build job now reports whether its version is a bare vX.Y.Z, and both
follow that instead. A release enters the index and GHCR; a beta, a
component RC and anything else is uploaded under releases/<version>/ and
pushed to NVCR only.
Signed-off-by: Alex Pelavin <apelavin@nvidia.com>
* ci: stamp the published version into standalone nvkectl builds
A dispatched cli-artifact, cli-artifact-nvcr or cli-s3-publish run with no
dist_artifact builds nvkectl itself. The build took its version from the
Makefile's own git describe, which on a commit with a beta and a signed
release names the release, while the run publishes under the beta it was
dispatched from. Pass the resolved version as NVKECTL_VERSION, as
tag-publish.yml already does, so the binary reports the version it is
published under.
Signed-off-by: Alex Pelavin <apelavin@nvidia.com>
* ci: skip a beta dispatch of the GHCR chart publisher
A beta's controller image is never promoted to GHCR, so a chart-publish.yml
run dispatched from a beta tag waited up to 30 minutes for an image that
would not appear, then failed. Skip beta refs, as the automatic beta trigger
already does.
Signed-off-by: Alex Pelavin <apelavin@nvidia.com>
* test: cover the triggering-tag check and a bare RC in describe-version.sh
Every invalid tag in the existing test was also the commit's describe, so
the describe check refused it before the check on the triggering tag ran,
and disabling that check left every test passing. Tag the bad names beside a
valid signed release, which wins the describe, so only the tag check can
refuse them.
Also pin that the helper names a bare RC run by its tag: the publishers'
tag filters, not the helper, keep an RC from publishing.
Signed-off-by: Alex Pelavin <apelavin@nvidia.com>
* ci: recover a vX.Y.Z agent package release by dispatch
A failed agent/vX.Y.Z publish could be recovered by dispatching Agent Deb
Publish from that tag with ref set to it. Releases are now vX.Y.Z, which the
ref check refused, and a SHA got past it only for every publish job to skip,
since their bare-tag arm requires a push.
Accept a vX.Y.Z ref when the run is dispatched from that same tag, and let
it into the apt intake, GHCR and NVCR jobs. The tag names the run's version,
so the index.json and GHCR gates still admit only a release. A beta is not
admitted, as before.
Signed-off-by: Alex Pelavin <apelavin@nvidia.com>
---------
Signed-off-by: Alex Pelavin <apelavin@nvidia.com>
|
||
|
|
09180ee3a1 |
docs: add a pull request triage process, and require an issue for each pull request (#2240)
* docs: describe how pull requests from outside contributors are vetted docs/issue-triage.md covered issues only, and said pull requests are routed by the labeler and CODEOWNERS. Nothing said who vets a pull request from an untrusted author, what to check before `/ok to test`, or how quickly to answer, so outside pull requests could wait with no owner. Add a section that explains the two waiting labels, names who vets, gives a vetting checklist and a three-business-day response target, and links the queues to sweep. Signed-off-by: dbudris <dbudris@nvidia.com> * docs: cover every pull request, not only outside contributors Routing by the labeler and CODEOWNERS applies to every pull request, and copy-pr-bot holds any head whose author is not on its trusted list, internal or external, first-time or repeat. Retitle the section "Pull requests", say who owns the review for all of them, and tie the vetting step to the trusted list rather than to outside contributors. Signed-off-by: dbudris <dbudris@nvidia.com> * docs: answer pull requests within seven calendar days, like issues Areas sweep weekly, so a three-business-day target could not be met by the sweep alone. Use the seven-calendar-day window issue triage already uses. Signed-off-by: dbudris <dbudris@nvidia.com> * docs: give pull requests their own triage page, and require an issue Review asked for separate processes for issues and pull requests, and for every pull request to link an issue. Move the pull request section out of docs/issue-triage.md into docs/pull-request-triage.md, which now opens with that requirement and checks it first when vetting. Pull requests opened by automation are exempt. CONTRIBUTING.md said small bug fixes and documentation changes need no issue; it now says every PR links one. What makes an issue ready for a pull request is left for a follow-up. Signed-off-by: dbudris <dbudris@nvidia.com> --------- Signed-off-by: dbudris <dbudris@nvidia.com> |
||
|
|
d03bd02584 |
refactor(controller): own the release CRDs in controller/k8s-apis (#2305)
The NVKE controller and nvkectl no longer import MachineImage, ClusterRelease and NodePoolRelease from management-engine. They are defined in a new module, controller/k8s-apis/v1, which generates their CRDs, tests them, and ships them through the nvke-crds chart, so the controller owns its release APIs end to end and no longer depends on management-engine's Go types. The API group is unchanged, so stored objects, RBAC and fixtures keep working. Signed-off-by: Miancheng Lin <mianchengl@nvidia.com> |
||
|
|
c65ced3dca |
chore: remove the in-tree NKTP chart (#2300)
Signed-off-by: Vineeth Bandi <vbandi@nvidia.com> |
||
|
|
3006322294 |
docs: add infrastructure provider and LaunchLayer operator pages (#2314)
* docs: add infrastructure provider and LaunchLayer operator pages Add an overview of how NVKE uses an infrastructure provider, with a sequence diagram of cluster creation, the closed provider set, how a provider is added, and how to see which provider a cluster uses. Add a LaunchLayer page matching the NICo one. Correct the site-bootstrap LaunchLayer table: a wrong attestation method now fails the chart render and controller startup instead of returning 400. Signed-off-by: Meet Vadaria <mvadaria@nvidia.com> * docs: point a wrong attestation method at the install output, not the pod log Signed-off-by: Meet Vadaria <mvadaria@nvidia.com> * docs: render the provider diagram with the site theme Fern cannot pre-render a sequence diagram with autonumber, so it fell back to the default Mermaid theme, which drew white text on the actor boxes. Number the messages in their labels instead. Signed-off-by: Meet Vadaria <mvadaria@nvidia.com> * docs: shorten provider diagram labels so they clear the lifelines Signed-off-by: Meet Vadaria <mvadaria@nvidia.com> --------- Signed-off-by: Meet Vadaria <mvadaria@nvidia.com> |
||
|
|
88081bc8b9 |
test(e2e): check GPU Operator on Mokka's simulated GPUs (#2106)
* test(mokka-demo): add a demo of simulated GPU nodes with Mokka hack/mokka-demo/demo.sh gives an NVKE workload cluster GPU nodes without GPUs and checks the GPU stack on them: a node pool whose nodeLabels select Mokka (nvml-mock), Mokka on that pool only, GPU Operator with values that let Mokka stand in for the driver, and a pod that requests a GPU. It copies an existing worker pool's provider settings, reads the workload cluster's kubeconfig through nvkectl, and prints PASS or FAIL per check. Signed-off-by: Benjamin Kero <bkero@nvidia.com> * test(mokka-demo): let the demo name its Mokka release MOKKA_RELEASE sets the Helm release name for Mokka, so two runs with different GPU profiles and node labels can share a cluster. Signed-off-by: Benjamin Kero <bkero@nvidia.com> * test(mokka-demo): wait for the GPU Operator validator to finish The validator's last step can still be running when a node first advertises its GPUs, which failed the check on a node that passed moments later. Signed-off-by: Benjamin Kero <bkero@nvidia.com> * test(mokka-demo): tighten the validator check and the clean-up steps The validator wait gets its own deadline instead of what the GPU wait left, and passes only when every validator step exits 0: a termination reason such as ContainerStatusUnknown is not success. The README's clean-up now points kubectl and Helm at the workload cluster and uses the configured Mokka release name. Signed-off-by: Benjamin Kero <bkero@nvidia.com> * ci(mokka-demo): run the demo on a CPU runner A new lane, mokka-demo-e2e.yml, runs hack/mokka-demo/demo.sh on a linux-amd64-cpu16 runner, without GPUs. It brings up the CAPD stack with the local entrypoint, which LOCAL_NKE_E2E_DEPLOY_ONLY now stops before its suite, then hack/mokka-demo/ci.sh forwards the NVKE API, points nvkectl at it, creates a CAPD workload cluster from cli/examples/capd-cluster.yaml and runs the demo. Signed-off-by: Benjamin Kero <bkero@nvidia.com> * test(e2e): run the Mokka checks as a CAPD entry Replace the standalone Mokka lane (mokka-demo-e2e.yml, ci.sh and the local entrypoint's LOCAL_NKE_E2E_DEPLOY_ONLY) with a "CAPD Mokka" entry in the tenant table, so the checks run through the existing E2E entrypoints and label filters. The entry has one control-plane node and one worker pool whose node labels select Mokka (nvml-mock). Its mokkaGPU validation installs Mokka and GPU Operator with helm, then asserts the ClusterPolicy is ready, exactly the labeled nodes advertise nvidia.com/gpu, the GPU Operator validator's steps all exit 0 on each, and a pod limited to one GPU lists one. The entry carries the capd label, so full CAPD runs select it, and a mokka label, which the pull-request mirror filter now adds: it costs about six minutes on a CPU runner. CAPD pools can now carry node labels. The GPU Operator values move into the e2e module's testdata so the suite embeds them and demo.sh keeps using the same file. The local entrypoint copies the host's helm into its runner, as the CI entrypoint already does. Signed-off-by: Benjamin Kero <bkero@nvidia.com> * test(e2e): run the Mokka checks on the CAPD core cluster Drop the separate CAPD Mokka entry, which added a second cluster and about six minutes to the pull-request lane. CAPD core's worker now carries the Mokka label, so the checks add only their own two minutes and the lane's label filter is unchanged. Reuse gpuPod and sitePoll, wait at most five minutes per check, fix a double count of the expected nodes after a failed connect, and turn off dcgm-exporter, which nothing reads. Signed-off-by: Benjamin Kero <bkero@nvidia.com> * test(e2e): ignore a validator pod being deleted; keep GPU Operator for other Mokka releases A validator pod that is being deleted could pass the check while its replacement is still running. The demo's clean-up removed GPU Operator first, which takes GPUs away from any other Mokka release on the cluster; it now goes last, with a note to keep it while another release remains. Signed-off-by: Benjamin Kero <bkero@nvidia.com> * test(mokka-demo): ignore a validator pod being deleted As in the e2e check: a validator pod being deleted could pass the demo while its replacement is still running. Signed-off-by: Benjamin Kero <bkero@nvidia.com> --------- Signed-off-by: Benjamin Kero <bkero@nvidia.com> |
||
|
|
4e6b59ff43 |
docs: add a workload cluster Kubernetes upgrade page (#2274)
* docs: add a workload cluster Kubernetes upgrade page Signed-off-by: Payal Patel <payapatel@nvidia.com> * docs: address review on the upgrade page Signed-off-by: Payal Patel <payapatel@nvidia.com> --------- Signed-off-by: Payal Patel <payapatel@nvidia.com> |
||
|
|
f15b07f9af |
docs: add a guide for adding a Kubernetes minor version (#2242)
* docs: add a guide for adding a Kubernetes minor version Signed-off-by: Payal Patel <payapatel@nvidia.com> * docs: address review on the Kubernetes minor version guide Signed-off-by: Payal Patel <payapatel@nvidia.com> * docs: scope the CAPD check to the control plane Signed-off-by: Payal Patel <payapatel@nvidia.com> --------- Signed-off-by: Payal Patel <payapatel@nvidia.com> |
||
|
|
1aaa4e5603 |
ci(validate-image): stop publishing the site validation image (#2142)
* ci(validate-image): stop publishing the site validation image Delete image-validate-nvcr.yml, which built the validation image on every main push and controller tag and pushed it to DSX on nvcr.io. Nothing in this repository pulls it. A site builds the image from its controller's release tag instead, as "Building the image yourself" in controller/test/e2e/README.md describes, so it still runs the tests that shipped with its controller. image.yml's PR build of the image stays: it pushes nothing, and it catches a Dockerfile or .dockerignore mistake, or a build that no longer reproduces, before a site's own build of a release tag does. The README, the Makefile and Dockerfile comments, and docs/artifact-publication.md no longer describe a published image or its attested digest. Signed-off-by: Ron Compos <rcompos@nvidia.com> * docs(e2e): how a site keeps its validation image current With the image no longer published, a site builds one image per controller version it runs. Describe building each controller release tag when it appears, choosing the image by the site's controller version, and setting NVKE_CONTROLLER_EXPECTED_VERSION to the image's tag so a mismatched site fails the version check. Signed-off-by: Ron Compos <rcompos@nvidia.com> * docs(e2e): say what CI checks about the validation image's reproducibility CI builds the image twice on one runner and compares the digests. It does not compare builds across machines or BuildKit versions, so the docs no longer say the digest is the same wherever the image is built. Signed-off-by: Ron Compos <rcompos@nvidia.com> * docs(e2e): build the validation image from v0.3.0 with a docker-container builder The examples built controller/v0.2.0, which predates the Dockerfile; v0.3.0 is the first tag that has it. The two-platform OCI and push builds also need a docker-container buildx builder, which Docker's default driver is not. Signed-off-by: Ron Compos <rcompos@nvidia.com> * docs(e2e): a manifest and steps for running the validation image on a site The README described the runner's RBAC in prose and had no Job to apply. deploy/validate-site.yaml runs the site checks as a Job with exactly that RBAC and keeps the results on a claim; validate-site-token.yaml lets it mint the controller API token where the controller authenticates; validate-site-artifacts.yaml mounts the claim so the reports can be copied out. "Running it on a site" fills in the placeholders from the site, applies the files, and reads the result. Signed-off-by: Ron Compos <rcompos@nvidia.com> * docs(e2e): fix the site run steps from review Take the expected Kubernetes version from what the site is meant to run, not the API server, which check 9 compares with it. Run the steps from the directory holding the checkout rather than a cd that depends on the earlier examples. Take the manifests from main where the release tag predates deploy/, as controller/v0.3.0 does. Apply the token grant when either apiAuth in the controller's settings or an nvke-auth-config ConfigMap turns authentication on. Read the Job's conditions rather than reporting a wait timeout as a failure. Signed-off-by: Ron Compos <rcompos@nvidia.com> * docs(e2e): tighten the site run steps from review Check both the current and older nke- names of the controller's settings and authentication ConfigMaps, and print the whole apiAuth section rather than three lines of it. Say which optional variables need more RBAC than validate-site.yaml grants. Say that a Complete Job can still have skipped specs, and that a Failed one can be a pod or deadline failure rather than a failed spec. Signed-off-by: Ron Compos <rcompos@nvidia.com> * ci(validate-image): push the validation image to a throwaway registry The validate-image job now runs make validate-image-push against a registry it starts on a random loopback port, and checks that the pushed index is the one the OCI builds gave and that its tag resolves to it. Nothing in CI exercised the push target a site uses before this. Signed-off-by: Ron Compos <rcompos@nvidia.com> * docs(e2e): fix the image path, checkouts, auth check and reruns from review - Run and extend <repository>:<tag>, the path validate-image-push writes. - Check out each tag into its own nvke-<version> directory. - Find the controller by its app.kubernetes.io/name label, and pass its Deployment name to the suite as NVKE_CONTROLLER_SERVICE. - Read whether the controller authenticates from its nvke-auth-config volume, which covers a ConfigMap of any name, without hiding errors. - Delete the claim with the Job before a rerun, so no stale report survives. - Quote every placeholder, and keep the artifacts pod up until deleted. Signed-off-by: Ron Compos <rcompos@nvidia.com> --------- Signed-off-by: Ron Compos <rcompos@nvidia.com> |
||
|
|
c8529fb630 |
build: upgrade the Go toolchain to 1.27.4 (#2284)
* build: upgrade the Go toolchain to 1.27.4 Signed-off-by: Ilya Kislenko <ikislenko@nvidia.com> * ci: pin internal-config tools outside Ubuntu mirrors Ubuntu mirror DNS repeatedly prevented the required scanner from running. Extract checksum-pinned ripgrep and current PCRE2 packages from an immutable Debian snapshot, with the library path scoped to the checker step. Preserve the existing scan and merge-gate policy. Signed-off-by: Ilya Kislenko <ikislenko@nvidia.com> * ci: restore the existing Ubuntu package setup Remove the unnecessary custom ripgrep action and Debian snapshot package pins. Restore the original apt installation and keep this pull request focused on the Go 1.27.4 upgrade. Signed-off-by: Ilya Kislenko <ikislenko@nvidia.com> --------- Signed-off-by: Ilya Kislenko <ikislenko@nvidia.com> |
||
|
|
487f51108f |
feat(dev): support Ubuntu on WSL2 in host-up (#2155)
The stock WSL2 kernel is built without CONFIG_TCG_VTPM_PROXY, so host-up could not provide /dev/vtpmx and no package supplies tpm_vtpm_proxy for a Microsoft kernel. ensure-vtpm-proxy.sh now builds the module out of tree from the linux-msft-wsl tag matching uname -r, using the running kernel's /proc/config.gz, installs it under /lib/modules and loads it. The build is cached in /var/cache/nvke-wsl-vtpm, and host-up reinstalls the module from the cache after a WSL restart. Docs gain a WSL2 section, start API Only with capi-core-up so the Cluster API Machine CRD exists, and add the nico-sim console SSH port to the free-port list. Signed-off-by: Eric Staples <estaples@nvidia.com> |
||
|
|
2a12d95f2d |
feat(controller): let a node pool update set its NVLink logical partition (#2147)
* feat(controller): let a node pool update set its NVLink logical partition
PATCH /api/nodePools/{id} now accepts nico.nvLinkLogicalPartitionID. It sets
or replaces the pool's NVLink logical partition; the all-zero UUID is
rejected, so the partition cannot be cleared. Nodes the pool creates after
the update attach to the new partition. A partition change does not create a
new node set, so no existing node is replaced.
A NicoMachine that already exists keeps the partition it was created with
when its create is retried, because CAPNICo rejects a partition change once
the instance exists.
The NICo provider guide shows how to attach a pool's existing nodes by
updating their NICo instances directly.
Signed-off-by: Aaron Patten <apatten@nvidia.com>
* docs(nico): set the NICo token and check each instance after an NVLink update
Read the NICo API path and token from the nico-credentials Secret, list pool
machines that have no instance yet, and add a step that confirms each instance
reports the partition on every GPU.
Signed-off-by: Aaron Patten <apatten@nvidia.com>
* fix(controller): create a node set when a pool's NVLink partition changes
Treat the NVLink logical partition like the other editable node
configuration: a change creates a new current node set, and each node gets
the partition of its own node set instead of the pool's live value. Nodes
created after the change attach to the new partition; existing nodes stay in
the earlier node set until they are replaced or patched in NICo.
A retried create renders from the same node set, so the separate retry guard
is no longer needed and is removed.
Node sets backfilled when the nico payload columns were added never carried
the partition. A migration copies each pool's partition into its node sets
that lack it, so the upgrade creates no node sets and new nodes keep their
partition. Before this change the partition was fixed at creation, so the
pool's value is the one every node set was created with.
The node set API reports the partition, and the NICo provider guide describes
the node set and recycling behavior.
Signed-off-by: Aaron Patten <apatten@nvidia.com>
* test(nico): render a node's NVLink partition from its node set across retries
Signed-off-by: Aaron Patten <apatten@nvidia.com>
* docs(nico): keep the NICo token off the curl command line in the NVLink procedure
Read the Authorization header from a file only the operator can read, build
the request body once and reject a GPU count below 1, print the response body
of a failed update and say which failures a retry can fix.
Signed-off-by: Aaron Patten <apatten@nvidia.com>
* docs: move the NVLink partition procedure to its own operate page
Changing a node pool's NVLink partition and attaching its existing nodes is an
operational task, not part of configuring the NICo provider at install. Give it
a how-to page in the Operate section that also shows the pool update itself,
and link to it from the NICo identifiers table.
Signed-off-by: Aaron Patten <apatten@nvidia.com>
* docs: stop on a failed pool update and skip attached instances
Signed-off-by: Aaron Patten <apatten@nvidia.com>
---------
Signed-off-by: Aaron Patten <apatten@nvidia.com>
|
||
|
|
333c0db74d | ci(qualify): run the perf stream on beta tags on chosen weekdays (#2179) | ||
|
|
d4577508bd |
feat(deploy): install NKTP from NGC (#2237)
* feat(deploy): install NKTP from NGC Signed-off-by: Vineeth Bandi <vbandi@nvidia.com> * fix(deploy): probe NGC egress in check-site Signed-off-by: Vineeth Bandi <vbandi@nvidia.com> * fix(deploy): address coderabbit comments Signed-off-by: Vineeth Bandi <vbandi@nvidia.com> --------- Signed-off-by: Vineeth Bandi <vbandi@nvidia.com> |
||
|
|
142ac43500 |
docs: guide PR test environment selection (#2247)
Signed-off-by: Chao Chen <chaoch@nvidia.com> |
||
|
|
a1de1e878c |
docs: Propose CAPI architecture ADR (#2171)
Signed-off-by: Trey Thomas <treyt@nvidia.com> |
||
|
|
493d419a91 |
fix(controller): include control-plane nodes in node metrics (#2235)
nvke_controller_node_info and nvke_controller_node_condition joined each node through its node set and node pool. Control-plane nodes managed by the control-plane controller have neither, so both metrics left them out, along with their forge_machine_id. Both queries now take the cluster from the node. ListNodeInfo uses LEFT JOINs for the node set and node pool, reads release and config_profile from the node's control-plane configuration when the node has no node set, and exports a new control_plane label. Signed-off-by: dbudris <dbudris@nvidia.com> |
||
|
|
08d0bcd575 |
refactor(helm): extract shared NVKE catalog CRDs (#2166)
Extract the shared MachineImage, ClusterRelease and NodePoolRelease definitions into a catalog chart, preserving the NVKE controller’s default installation and ownership. Reuse canonical definitions across Helm, Kustomize, generation and CLI packaging. Closes #2165 Created with AI assistance Signed-off-by: Mark Stillwell <mstillwell@nvidia.com> |