Toolvito

Kubernetes Manifest Editor

Paste or choose your Kubernetes YAML: every document is checked, and each problem names its line. You can also write a Deployment and Service with probes and resources, see what a NetworkPolicy allows, and check a Helm values.yaml against the chart’s values.schema.json. Everything happens in your browser; nothing is sent to a cluster.

Check manifests

Write a Deployment and Service

Check Helm values

How to check your manifests

  1. Paste the YAML (several documents separated by ---) or choose the file.
  2. Press “Check”. Read the problems first; press “line N” to select the line.
  3. Fix the file and check again. Download the findings as CSV if you need them.

What is checked

  • API versions the Kubernetes Deprecated API Migration Guide lists as removed, with the release and the version to use (for example extensions/v1beta1 Ingress, removed in 1.22: use networking.k8s.io/v1).
  • Names: most objects need a DNS subdomain name (lowercase letters, digits, “-” and “.”, at most 253 characters); Service and container names are checked as DNS labels (at most 63, starting with a letter).
  • Labels: keys with an optional DNS-subdomain prefix and a name of up to 63 characters; values of up to 63 characters; the kubernetes.io/ and k8s.io/ prefixes are reserved for Kubernetes core components.
  • Workloads: the selector must match the Pod template’s labels; containers need a name and an image; ports, probes (exactly one of httpGet, tcpSocket, exec or grpc, with a valid port), resource quantities and limits below requests; Jobs and CronJobs need restartPolicy Never or OnFailure; a CronJob schedule has five fields.
  • Services against the Pod templates in the same file (a named targetPort must exist); Ingress pathType and backends; Secret data must be base64 (and is only encoded, not encrypted); ConfigMap data must be text.

NetworkPolicy

  • Each NetworkPolicy is shown as a table: which pods it selects, the policy types, and for each rule the pods, namespaces or address blocks and the ports it allows. A rule list that is empty allows nothing in that direction.

Helm

  • A chart’s values.schema.json is a JSON Schema; the page checks values.yaml against it and names the line of each problem. Helm templates themselves are not rendered here, because that needs the helm program.

Limits you should know

  • The page checks the files, not a cluster: it does not know your Kubernetes version, custom resources or admission rules, and it is not kubeconform or kubectl --dry-run.
  • Fields are not checked against the full OpenAPI schema of each kind.

Related tools