Deploy a bundle in Next mode
Use bundle dev deploy for a definition and bundle deploy for a created artifact.
What you’ll accomplish
Section titled “What you’ll accomplish”- Deploy from a bundle definition.
- Deploy a local or OCI artifact.
- Select packages for an intentional partial deployment.
Prerequisites
Section titled “Prerequisites”- UDS CLI installed
- A directory containing
bundle.uds.hcl, or a created.tar.zstartifact - A matching bundle public key or keyless certificate constraints for signed artifact examples
- Access to the target Kubernetes cluster
- OCI access to each package source when deploying from a definition
- Registry access when deploying an OCI artifact
-
Deploy from the definition
Use
bundle dev deploywhile authoring a bundle:Terminal window CLI_FEATURES=NextMode=true uds bundle dev deploy ./my-bundleThe directory must contain
bundle.uds.hcl. Direct deployment does not create an artifact or verify the bundle signature.Use these options when needed:
Terminal window # Enable an interactive confirmation promptCLI_FEATURES=NextMode=true uds bundle dev deploy ./my-bundle --prompt# Deploy seriallyCLI_FEATURES=NextMode=true uds bundle dev deploy ./my-bundle --concurrency 1# Supply deploy-time variables and optionsCLI_FEATURES=NextMode=true uds bundle dev deploy ./my-bundle --config ./config.uds.hcl# Deploy selected packagesCLI_FEATURES=NextMode=true uds bundle dev deploy ./my-bundle --packages api,databaseThe
--configexample expects a file with the following shape:config.uds.hcl variables = {environment = "development"} -
Deploy an artifact
Use
bundle deployfor a created local artifact or an OCI reference:Terminal window # Local artifactCLI_FEATURES=NextMode=true uds bundle deploy ./uds-bundle-my-app-amd64-1.0.0.tar.zst --public-key ./cosign.pub# OCI artifactCLI_FEATURES=NextMode=true uds bundle deploy oci://registry.example.com/my-org/my-app:1.0.0 --public-key ./cosign.pubThe command verifies artifact integrity before deployment. Provide
--public-keyor the keyless certificate and issuer flags when the trust policy is not embedded in the command configuration.For an intentionally unsigned local alpha artifact, explicitly bypass verification:
Terminal window CLI_FEATURES=NextMode=true uds bundle deploy ./unsigned-bundle.tar.zst --skip-signature-verificationDo not use
--skip-signature-verificationfor signed release or registry artifacts. -
Select packages
Deploy all packages by default, or select a subset:
Terminal window CLI_FEATURES=NextMode=true uds bundle deploy ./my-bundle.tar.zst --packages api,databaseReplace the artifact path and package IDs with values from your bundle.
The command rejects a selection that omits its dependencies. Use
--forceonly when intentionally deploying out of dependency order.
Verification
Section titled “Verification”Confirm that the deployed packages are ready:
CLI_FEATURES=NextMode=true uds zarf tools kubectl get pods -ATroubleshooting
Section titled “Troubleshooting”Problem: The deployment rejects a selected package
Section titled “Problem: The deployment rejects a selected package”Symptom: The command reports that a selected package depends on a package that was not selected.
Solution: Include the dependency in --packages. Use --force only when you intentionally accept the dependency-order risk.
Related documentation
Section titled “Related documentation”- Create a bundle in Next mode - Define and package a bundle artifact.
- Publish and pull a bundle in Next mode - Move artifacts through an OCI registry.
- Inspect and verify a bundle in Next mode - Inspect metadata and verify bundle signatures.