Skip to main content

Kubernetes manifest linter using JSON Schema

Project description

Kubernetes Manifest Linter

Build Status PyPI PyPI - Python Version License

Validate Kubernetes YAML manifests against JSON schema. It will use the Kubernetes v1.17 schemas for validation by default.


pip3 install kube-manifest-lint
kube-manifest-lint my-deployment.yaml

Pre Commit Hook

You can use this tool as a pre-commit in your git repository. Example .pre-commit-config.yaml:

  - repo:
    rev: "0.2.0"
      - id: kube-manifest-lint

Exit Codes

  • 1: file is not a Kubernetes manifests
  • 2: schema for apiVersion/kind was not found
  • 4: schema is deprecated (e.g. using "extensions/v1beta1" instead of "apps/v1")
  • 8: schema validation failed

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for kube-manifest-lint, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size kube_manifest_lint-0.2.0-py3-none-any.whl (1.1 MB) File type Wheel Python version py3 Upload date Hashes View
Filename, size kube-manifest-lint-0.2.0.tar.gz (329.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page