Linters

In the previous section, we were talking about missing components that can't be pre-validated by Kubernetes, but which we can look for ourselves. Three projects that are related to validation are kubeval, kube-lint, and kubetest, described here:

kubeval was created by Gareth Rushgrove to validate manifests and configuration files before attempting to apply them. This tool can be extremely handy in double-checking your work when you're creating manifests from your own code or using another project. It can't check everything, but it makes an excellent first pass check.

Created by Vic Iglesias, kube-lint is more of an early experiment ...

Get Kubernetes for Developers now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.