konstraint
kubeval
konstraint | kubeval | |
---|---|---|
3 | 7 | |
373 | 3,142 | |
-0.8% | 0.2% | |
8.1 | 0.0 | |
7 days ago | 9 months ago | |
Go | Go | |
MIT License | 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.
konstraint
- Is OPA Gatekeeper the best solution for writing policies for k8s clusters?
- OPA Rego is ridiculously confusing - best way to learn it?
-
How would you write policies in .rego file and use them in OPA-Gatekeeper?
The konstraint tool is quite popular for this use case: https://github.com/plexsystems/konstraint
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.
What are some alternatives?
k-rail - Kubernetes security tool for policy enforcement
kubeconform - A FAST Kubernetes manifests validator, with support for Custom Resources!
jspolicy - jsPolicy - Easier & Faster Kubernetes Policies using JavaScript or TypeScript
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.
bridgekeeper - Kubernetes policy enforcement using python
kubetail - Bash script to tail Kubernetes logs from multiple pods at the same time
docker-security-checker - Dockerfile Security Checker using OPA Rego policies with Conftest
helm - The Kubernetes Package Manager
policy-as-code-war - OPA Gatekeeper vs Kyverno
kubepug - Kubernetes PreUpGrade (Checker)
regal - Regal is a linter for Rego, with the goal of making your Rego magnificent!
silver-surfer - Kubernetes objects api-version compatibility checker and provides migration path for K8s objects and prepare it for cluster upgrades