kubeval
kubernetes-json-schema
kubeval | kubernetes-json-schema | |
---|---|---|
7 | 4 | |
3,166 | 304 | |
0.3% | 0.0% | |
0.0 | 0.0 | |
over 1 year ago | over 1 year ago | |
Go | ||
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
kubeval
- Is OPA Gatekeeper the best solution for writing policies for k8s clusters?
-
How do you take care of your manifests?
I don't use it myself, but it seems what are you looking for. https://github.com/instrumenta/kubeval
-
All about Komodor :- A Kubernetes Troubleshooting Platform and more
1. Validate Using ValidKube, you can Validate your YAML files. It can help you fix the indentation also add, remove and rearrange things according to the actual YAML and Kubernetes schema. It is available as a open source repository as Kubeval . https://github.com/instrumenta/kubeval
-
[open-source] Validkube - Validate, Clean and Secure your K8s YAML
The idea behind Validkube is to fuse together the capabilities of three other popular open-source projects (kubeval, kubectl-neat & trivy) and present them in a single view, providing users with a way to ensure YAML code hygiene and security, in one place, with just a few clicks of the button.
- 27 open-source tools that can make your Kubernetes workflow easier 🚀🥳
-
SilverSurfer - An OpenSource project to check ApiVersion Status and provide Migration path for Kubernetes objects when upgrading Kubernetes to 1.22 or any other.
Kubeval - Well known, It only validates against the given Kubernetes Version but doesn’t provide a migration path
-
A Deep Dive Into Kubernetes Schema Validation
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.
kubernetes-json-schema
-
WebAssembly: Docker Without Containers
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
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
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
Kubeval - instrumenta/kubernetes-json-schema (last commit: 133f848 on April 29, 2020)
What are some alternatives?
kubeconform - A FAST Kubernetes manifests validator, with support for Custom Resources!
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.
enhancements - Enhancements tracking repo for Kubernetes
kubetail - Bash script to tail Kubernetes logs from multiple pods at the same time
lens-resource-map-extension - Lens - The Kubernetes IDE extension that displays Kubernetes resources and their relations as a force graph.
kubepug - Kubernetes PreUpGrade (Checker)
kubernetes-schema-validation - resources for the blog post about Kubernetes schema validation
silver-surfer - Kubernetes objects api-version compatibility checker and provides migration path for K8s objects and prepare it for cluster upgrades
kubernetes-json-schema - JSON Schemas for every version of every object in every version of Kubernetes
helm - The Kubernetes Package Manager
mermaid - Generation of diagrams like flowcharts or sequence diagrams from text in a similar manner as markdown