vpctl manifest commands
Initialize, validate, and inspect the vpctl manifest schema
阅读时间1 分钟最后更新于 14 天前
The command group manages the file. For the field reference and annotated example, see Manifest reference.
manifestmanifest.yamlinit
Generate a new manifest interactively:
vpctl manifest init
This walks you through platform, release version, registry, namespace, autoscaling, monitoring, and ingress settings.
Parameters:
- : Output path (default:
--output)./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, , TLS certificate required when TLS is enabled.
maxReplicas >= minReplicasParameters:
- : Path to the manifest to validate (default: auto-discover)
--file
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 CLI:
cuecue vet manifest.cue manifest.yaml -d '#Manifest'