| name | k8s-launch-kit-pipeline |
| version | 1.1.1 |
| description | Use this skill when the user wants to run the full k8s-launch-kit (l8k) pipeline end-to-end: discover cluster hardware, select a profile, generate manifests, and deploy them all in one command. Also activate for CI/CD integration, automation pipelines, 'one-liner', 'complete workflow', or end-to-end NVIDIA networking deployment. |
| metadata | {"requires":{"skills":["k8s-launch-kit-shared"]}} |
l8k: Full Pipeline
PREREQUISITE: Read ../k8s-launch-kit-shared/SKILL.md for install paths, global flags, and output modes.
Run discovery + generation + deployment as a single command.
The pipeline operates on the default host target. Omitting --target keeps
the established behavior; --target host is equivalent. Do not select dpf
until l8k schema reports all required DPF phases as available.
The root command snapshots its arguments and runs the complete concrete Host
pipeline as one bound target operation.
Usage
The root command chains all phases in one invocation:
l8k --discover-cluster-config [--kubeconfig <PATH>] \
--fabric <FABRIC> --deployment-type <TYPE> \
--save-deployment-files <DIR> --deploy
Or use subcommands for a two-step approach:
l8k discover --save-cluster-config ./cluster-config.yaml && \
l8k generate --user-config ./cluster-config.yaml \
--save-deployment-files <DIR> --deploy
The subcommand flow does not need to repeat profile flags: discovery resolves
and persists them. Pass profile flags to either command only as explicit
overrides.
Examples
l8k --discover-cluster-config \
--kubeconfig ~/.kube/config \
--fabric ethernet --deployment-type sriov \
--save-deployment-files ./output --deploy
l8k --discover-cluster-config \
--kubeconfig ~/.kube/config \
--spectrum-x RA2.2 --multiplane-mode hwplb --number-of-planes 4 \
--save-deployment-files ./output --deploy
l8k --discover-cluster-config \
--kubeconfig ~/.kube/config \
--network-operator-namespace network-operator \
--fabric ethernet --deployment-type sriov \
--save-deployment-files ./output --deploy
l8k --discover-cluster-config \
--kubeconfig ~/.kube/config \
--fabric ethernet --deployment-type sriov \
--save-deployment-files ./output --deploy \
--output json --yes 2>/dev/null
l8k --discover-cluster-config \
--kubeconfig ~/.kube/config \
--fabric ethernet --deployment-type sriov \
--save-deployment-files ./output --deploy --dry-run
l8k discover --kubeconfig ~/.kube/config \
--fabric ethernet --deployment-type sriov \
--save-cluster-config ./cluster-config.yaml && \
l8k generate --user-config ./cluster-config.yaml \
--save-deployment-files ./output --deploy
l8k generate --user-config ./cluster-config.yaml \
--for ThinkSystem-SR680a-V3 \
--node-selector "nvidia.com/gpu.product=NVIDIA-H200" \
--fabric ethernet --deployment-type sriov \
--save-deployment-files ./output --deploy \
--kubeconfig ~/.kube/config
Common Variations
| Use Case | Command |
|---|
| Discovery only | l8k discover --save-cluster-config <PATH> |
| Generate only | l8k generate --user-config <CONFIG> --save-deployment-files <DIR> |
| Generate + deploy | l8k generate ... --deploy |
| Full pipeline (root) | l8k --discover-cluster-config ... --deploy |
| Full pipeline (subcommands) | l8k discover ... && l8k generate ... --deploy |
| Full pipeline dry-run | l8k --discover-cluster-config ... --deploy --dry-run |
Note: The root command's strength is chaining all phases — it runs discover, generate, and deploy in a single invocation. Use subcommands when you need intermediate inspection or different flags per phase.
Phase Order
- Discover — Probe hardware, resolve profile settings, and persist both
- Generate — Match profile, render templates, write YAMLs
- Deploy — Apply resources in dependency order
If any phase fails, subsequent phases are skipped. The JSON output includes which phase failed.
[!CAUTION]
The full pipeline includes deployment — confirm with the user before running on production. Use --dry-run to preview first.
See Also