Files
oam/knowledge base/kubernetes/kubeval.md
2023-05-24 20:41:27 +02:00

921 B

Kubeval

Validates one or more Kubernetes configuration files.

Table of contents

  1. TL;DR
  2. Further readings
  3. Sources

TL;DR

$ kubeval 'my-invalid-rc.yaml' || echo "Validation failed" >&2
WARN - my-invalid-rc.yaml contains an invalid ReplicationController - spec.replicas: Invalid type. Expected: integer, given: string
Validation failed

Further readings

Sources

All the references in the further readings section, plus the following: