kubernetes-validate
validates kubernetes resource definitions against schemas
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, installs cleanly with minimal dependencies, and solves a concrete problem for anyone managing Kubernetes infrastructure. Use it if you validate Kubernetes manifests in automation or want to catch configuration errors early.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.7.
- Low install friction with a pure-Python wheel and six stable runtime dependencies.
- Last release 88 days ago; repository is active and not archived.
License · maintenance · safety
Apache (permissive) — Licensed under Apache (permissive), allowing commercial and private use with minimal restrictions.
last release 2026-05-18 (88 days) · last repo commit 2026-05-18 · 51 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 136,457 downloads/mo, #11,395 on PyPI
Alternatives
Verify before relying
pip install kubernetes-validate
from kubernetes_validate import validate
data = {'apiVersion': 'v1', 'kind': 'Pod', 'metadata': {'name': 'test'}}
validate(data, '1.22', strict=True)- Whether the embedded Kubernetes schemas cover all API versions and custom resource definitions in your environment.
- Performance characteristics when validating large numbers of resources or very large manifests.
- Whether strict mode validation aligns with your deployment pipeline's tolerance for unknown fields.
What it is and what it does
kubernetes-validate is a schema validator for Kubernetes resource definitions. It takes manifests and checks them against official Kubernetes JSON schemas, catching type mismatches, missing required fields, and (optionally) unexpected properties. The package includes pre-built schemas for multiple Kubernetes versions, reducing library size by including only .0 patch versions per release.
You can use it as a command-line tool to validate files before deployment, or import it as a Python library to integrate validation into automation scripts, CI/CD pipelines, or deployment tooling. It supports both permissive and strict validation modes, and lets you target specific Kubernetes versions (defaulting to the version of kubernetes-validate itself).
Use it for
- Validate Kubernetes manifests in CI/CD pipelines before applying them to clusters.
- Catch configuration errors in resource definitions during development or code review.
- Enforce strict schema compliance by rejecting manifests with unknown or extra properties.
- Validate manifests against a specific Kubernetes version to catch API compatibility issues.
- Integrate validation into deployment automation to prevent invalid resources from being submitted.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, installs cleanly with minimal dependencies, and solves a concrete problem for anyone managing Kubernetes infrastructure. Use it if you validate Kubernetes manifests in automation or want to catch configuration errors early.
Install
kubernetes-validate on PyPI
Before you install
Low install friction with a pure-Python wheel and six stable runtime dependencies. Last release 88 days ago; repository is active and not archived.
Requires Python >=3.7.
License in practice
Licensed under Apache (permissive), allowing commercial and private use with minimal restrictions.
Quickstart
pip install kubernetes-validate
from kubernetes_validate import validate
data = {'apiVersion': 'v1', 'kind': 'Pod', 'metadata': {'name': 'test'}}
validate(data, '1.22', strict=True)
Verify before relying
- Whether the embedded Kubernetes schemas cover all API versions and custom resource definitions in your environment.
- Performance characteristics when validating large numbers of resources or very large manifests.
- Whether strict mode validation aligns with your deployment pipeline's tolerance for unknown fields.
Package facts
| License | Apache permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesPyYAMLjsonschematyping-extensionsimportlib-resourcespackagingreferencing |
| Maintenance | Actively maintained 88 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 136,457 / month, #11,395 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: kubernetes_validate-1.36.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “kubernetes yaml validation”
- kubernetes-validateValidates Kubernetes resource definitions against official Kubernetes…
- yamaleYamale validates YAML files against a schema you define, catching…
- heraHera is a Python SDK that turns Python functions into Argo Workflows…
Give your agent the search over MCP, or paste the wish link into any chat.
More Quality Assurance packages
Coverage.py measures which lines of Python code are executed during test runs, reporting coverage percentages and identifying untested code paths.
Install it if you want to measure test completeness or enforce coverage thresholds in your project.
Ruff is a Python linter and code formatter written in Rust that combines linting, formatting, and code fixing into a single tool, replacing Flake8, Black, isort, and related utilities.
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
Black reformats Python source code to a consistent style by parsing entire files and rewriting them according to an opinionated, deterministic set of rules, eliminating manual formatting decisions.
pytest-xdist distributes pytest tests across multiple CPU cores or machines to speed up test execution, with the simplest usage being `pytest -n auto` to spawn workers equal to available CPUs.
Install it if your test suite takes long enough that parallelization would save meaningful time.
Validates AWS CloudFormation templates in YAML or JSON format against resource provider schemas and best practices, checking property values and configuration correctness.
Install it if you work with CloudFormation templates.
See also check-jsonschema · kcidb-io · yamale · lazr.config · eido · lightkube-models · cfgv · swagger-spec-validator · fastjsonschema · openapi-schema-validator