Install and Deploy UDS (15m)
Getting Started with UDS Bundles
UDS Core provides published bundles that serve multiple purposes: you can utilize them for experimenting with UDS Core or for UDS Package development when you only require specific components of UDS Core. These bundles leverage UDS K3d to establish a local k3d cluster.
UDS Bundles deployed for development and testing purposes are comprised of a shared configuration that equips users with essential tools, emulating a development environment for convenience. If deploying to a production environment, users have the ability to modify variables and configurations to best fit specific mission needs by creating their own bundle.
For additional information on UDS Bundles, please see the UDS Bundles page.
Deploy UDS Core
In this section, you will deploy UDS Core for the first time.
Step 1: Install the UDS CLI
The very first step is installation of the UDS CLI. Having installed Homebrew previously, you can do so with the following command:
Step 2: Deploy the UDS Bundle
The UDS Bundle being deployed in this example is the
k3d-core-demo
bundle, which
creates a local k3d cluster with UDS Core installed.
To deploy this bundle, run the uds deploy k3d-core-demo:X.X.X
command in the terminal, replacing the “X” with the
current release.
For example, if the current release is 0.26.0
:
Optional:
Use the following command to visualize resources in the cluster via k9s:
Step 3: Clean Up
Use the following command to tear down the k3d cluster:
If you opted to use Colima, use the following command to tear down the virtual machine that the cluster was running on:
UDS Bundle Development
In addition to the demo bundle, there is also a
k3d-slim-dev bundle
designed specifically
for working with UDS Core with only Istio, Keycloak, and Pepr installed. To use it, execute the following command:
Developing UDS Core
UDS Core development leverages the uds zarf dev deploy
command. To simplify the setup process, a dedicated UDS Task is available. Please ensure you have NodeJS version 20 or later installed before proceeding.
Below is an example of the workflow developing the metrics-server package:
Testing UDS Core
You can perform a complete test of UDS Core by running the following command:
This command initiates the creation of a local k3d cluster, installs UDS Core, and executes a set of tests identical to those performed in CI. If you wish to run tests targeting a specific package, you can utilize the PKG
environment variable.
The example below runs tests against the metrics-server package: