Dealing with Yaml files

This page summarizes the projects mentioned and recommended in the original post on /r/kubernetes

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • kube-linter

    KubeLinter is a static analysis tool that checks Kubernetes YAML files and Helm charts to ensure the applications represented in them adhere to best practices.

  • Kube linter would be a first citizen for your need https://github.com/stackrox/kube-linter. If you use Helm would be Helm linter as well. Kube score is another interesting tool offering you best practices patterns. I usually develop with vscode and have a Yaml + Kubernetes extension. These could be enough to help you get through. Nevertheless, consider adopting a skaffold with a k3s for a faster feedback on the local dev lifecycle.

  • yaml-grammar

  • I second that. YAML is a terrible format, to the point that the official repository says it's almost impossible to parse (see for yourself: https://github.com/yaml/yaml-grammar).

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • cue

    The home of the CUE language! Validate and define text-based and dynamic configuration

  • Worth checking out CUE as well. Allows config sharing without inheritance. Made by a person who used to be on the Borg config team at Google.

  • kubeconform

    A FAST Kubernetes manifests validator, with support for Custom Resources!

  • If you want to validate your resources against the schema of the resources (mind you also crds) you can use kubeconform.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts