Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

tazuna apply

Reflects the Manifests declared in tazuna.yaml into the cluster. The central command of Tazuna.

tazuna apply [-f tazuna.yaml] [--tags ...] [--no-cache | --offline]

Behavior

The execution order is as follows. Cluster access happens from step 5 onward.

  1. Load and validate tazuna.yaml.
  2. If spec.context_matches is set, match against the current-context. Abort immediately on mismatch.
  3. Filter by --tags.
  4. Walk manifests[] in declaration order.
  5. Hand each Manifest to its corresponding Manager and apply it to the cluster.
  6. Execute each Manifest’s tests.
  7. After all Manifests are applied, execute spec.tests (overall Tests).

Flag

In addition to global flags, the following are accepted.

FlagAliasTypeDefaultDescription
--tags-t[]string[]Limits the processing target to Manifests with at least one of the specified tags (OR evaluation).
--no-cache-boolfalseFor type: oras Manifests, always refetch from the registry without using the cache.
--offline-boolfalseFor type: oras Manifests, forbid access to the registry. If the cache misses, it is an error.

--no-cache and --offline cannot be specified together.

Examples

tazuna apply -f tazuna.yaml
tazuna apply -f tazuna.yaml --tags web,batch
tazuna apply -f tazuna.yaml --log-level debug