Skip to content

Latest commit

 

History

History

kubernetes

Testing Kubernetes YAML Definitions

kubeval

# see https://www.kubeval.com

$ kubeval nginx-deployment.yaml

kube-score

# see https://www.kubeval.com

$ kubectl score nginx-deployment.yaml
$ kubectl score nginx-deployment.yaml --exit-one-on-warning
$ kubectl score nginx-deployment.yaml --output-format ci

Polaris

# see https://polaris.docs.fairwinds.com/infrastructure-as-code/#install-the-cli

$ polaris audit --audit-path . --format=pretty
$ polaris audit --audit-path .
$ polaris audit --audit-path . --set-exit-code-on-danger --set-exit-code-below-score 90

Snyk

# see https://docs.snyk.io/snyk-cli/install-the-snyk-cli
$ snyk iac test nginx-deployment.yaml

Terratest

# see https://terratest.gruntwork.io/docs/getting-started/quick-start/#example-4-kubernetes
$ make cluster
$ go test
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy