Documentation

vpctl manifest commands

Initialize, validate, and inspect the vpctl manifest schema
Read time 1 minuteLast updated 8 hours ago

The
manifest
command group manages the
manifest.yaml
file. For the field reference and annotated example, see Manifest reference.

init

Generate a new manifest interactively:
vpctl manifest init
This walks you through platform, release version, registry, namespace, autoscaling, monitoring, and ingress settings. Parameters:
  • --output
    : Output path (default:
    ./manifest.yaml
    )

validate

Validate an existing manifest against the embedded CUE schema:
vpctl manifest validatevpctl manifest validate --file path/to/manifest.yaml
Catches missing required fields, disallowed values, and cross-field rules, for example,
maxReplicas >= minReplicas
, TLS certificate required when TLS is enabled.
Parameters:
  • --file
    : Path to the manifest to validate (default: auto-discover)

schema

Display the embedded CUE schema:
vpctl manifest schema
Export the CUE schema for standalone validation outside vpctl:
vpctl manifest schema --export manifest.cue
After exporting, validate any manifest against it with the
cue
CLI:
cue vet manifest.cue manifest.yaml -d '#Manifest'