kubernetes-json-schema VS kubeconform

Compare kubernetes-json-schema vs kubeconform and see what are their differences.

kubernetes-json-schema

Schemas for every version of every object in every version of Kubernetes (by instrumenta)

kubeconform

A FAST Kubernetes manifests validator, with support for Custom Resources! (by yannh)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
kubernetes-json-schema kubeconform
4 4
292 1,923
1.0% -
0.0 6.0
9 months ago 27 days ago
Go
GNU General Public License v3.0 or later Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

kubernetes-json-schema

Posts with mentions or reviews of kubernetes-json-schema. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-21.
  • WebAssembly: Docker Without Containers
    9 projects | news.ycombinator.com | 21 Dec 2022
    Hey, so I thought I remembered your username. This isn’t the first interaction we’ve had, or I’ve seen you have, that follows this similar pattern. In fact it’s the third example from you under this post!

    It’s not a particularly pleasant experience to discuss anything with you, as after you make a particularly vapid and usually ice-cold take that is rebuffed, you seem to just try to make snarky replies rather than engage.

    Understand that if you post your takes here they may be discussed and challenged, and if you don’t want this then I would refrain from initially commenting.

    In response to your comment: They do. All Kubernetes resources are typed with JSON-schema definitions. Because of course they are, how else would kubernetes validate anything. https://kubernetesjsonschema.dev/

    Anyone who’s used k8s at all knows this, if only from the error messages. From this you get autocompletion and a wide ecosystem of gui configuration tools. I like lens (https://k8slens.dev/).

  • Data and System Visualization Tools That Will Boost Your Productivity
    15 projects | dev.to | 13 Jun 2022
    To avoid spending unreasonable amount of time trying to find that one wrong indent, I recommend you use schema validation and let your IDE do all the work. You can use validation schemas from https://schemastore.org/json or custom schemas such as these for Kubernetes to validate your files. These will work both with JetBrains products (e.g. Pycharm, IntelliJ) as well as VSCode (see this guide)
  • Test manifest compatibility against version
    2 projects | /r/kubernetes | 13 Jun 2021
    Seems like they haven't generated v1.20+ schema. It might work if you generate the schema yourself and feed it to KUBEVAL_SCHEMA_LOCATION
  • A Deep Dive Into Kubernetes Schema Validation
    7 projects | dev.to | 1 Jun 2021
    Kubeval - instrumenta/kubernetes-json-schema (last commit: 133f848 on April 29, 2020)

kubeconform

Posts with mentions or reviews of kubeconform. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-05.
  • Dealing with Yaml files
    4 projects | /r/kubernetes | 5 Jul 2023
    If you want to validate your resources against the schema of the resources (mind you also crds) you can use kubeconform.
  • [Show] Detecting YAML Issues Early
    3 projects | /r/kubernetes | 25 Oct 2022
    How is it different from https://github.com/yannh/kubeconform?
  • Securing Kubernetes Deployments
    4 projects | dev.to | 8 Nov 2021
    wget https://github.com/yannh/kubeconform/releases/download/v0.4.12/kubeconform-linux-amd64.tar.gz tar xf kubeconform-linux-amd64.tar.gz sudo cp kubeconform /usr/local/bin checkout kubeconform --summary deployment.yml
  • A Deep Dive Into Kubernetes Schema Validation
    7 projects | dev.to | 1 Jun 2021
    Kubeval and kubeconform are command-line tools that were developed with the intent to validate Kubernetes manifests without the requirement of having a running Kubernetes environment. Because kubeconform is based on kubeval, they operate similarly — verification is performed against pre-generated JSON schemas that are created from the OpenAPI specifications (swagger.json) for each particular Kubernetes version. All that remains to run the schema validation tests is to point the tool executable to a single manifest, directory or pattern.

What are some alternatives?

When comparing kubernetes-json-schema and kubeconform you can also consider the following projects:

enhancements - Enhancements tracking repo for Kubernetes

kubeval - Validate your Kubernetes configuration files, supports multiple Kubernetes versions

kubernetes-schema-validation - resources for the blog post about Kubernetes schema validation

lens-resource-map-extension - Lens - The Kubernetes IDE extension that displays Kubernetes resources and their relations as a force graph.

kube-score - Kubernetes object analysis with recommendations for improved reliability and security. kube-score actively prevents downtime and bugs in your Kubernetes YAML and Charts. Static code analysis for Kubernetes.

kubernetes-json-schema - JSON Schemas for every version of every object in every version of Kubernetes

mermaid - Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown

kpt - Automate Kubernetes Configuration Editing

hyperfine - A command-line benchmarking tool