Skip to content

Instantly share code, notes, and snippets.

@flrichar
Last active October 6, 2025 13:58
Show Gist options
  • Select an option

  • Save flrichar/e29fea604637cf128af122a60de43bea to your computer and use it in GitHub Desktop.

Select an option

Save flrichar/e29fea604637cf128af122a60de43bea to your computer and use it in GitHub Desktop.
Lint Fleet Bundles

Lint Fleet.yaml Bundle Definitions

  • nctl command is a local alias for nervctl with options/flags
nctl run -v $(pwd):/tmp/pwd --rm rancher/fleet:v0.11.9 -- /usr/bin/fleet apply BUNDLE100 /tmp/pwd/ -o -

### or ...

podman run -v $(pwd):/tmp/pwd --rm docker.io/rancher/fleet:v0.11.9 /usr/bin/fleet apply BUNDLE100 /tmp/pwd/ -o -

@flrichar
Copy link
Author

flrichar commented Oct 6, 2025

The fleet apply command is only one in the Bundle lifecycle, there is also fleet target and fleet deploy. See docs https://fleet.rancher.io/ref-bundle-stages for more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment