Currently, there are about 70+ distributions of Kubernetes available, would it be good if there are a set of conformance tests to make sure that a Kubernetes cluster meets the minimal set of features? Sonobuoy is a diagnostic tool that makes it easier to understand the state of a Kubernetes cluster by running a set of Kubernetes conformance tests in an accessible and non-destructive manner. It is a customizable, extendable, and cluster-agnostic way to generate clear, informative reports about your cluster.
To get a basic understanding of Kubernetes concepts, please refer to earlier posts for understanding on Kubernetes & how to create, deploy & rollout updates to the cluster.
In addition to conformance testing, Sonobuoy also supports a plugin model. In this model, worker pods are dispatched into the cluster to collect data from each node and use an aggregation URL to submit their results back to a waiting aggregation pod. This enables you to integrate conformance test results into your reporting.
Sonobuoy leverages Kubernetes end-to-end testing plugin (the e2e plugin) to run conformance tests that are maintained by the Kubernetes community. Before we get into conformance testing, let’s look at the prerequisites
KUBECONFIG
environment variable setDownload the latest release for your platform
Extract the tarball
Move the extracted sonobuoy
executable to /usr/local/bin
Use the sonobuoy run
command to start conformance testing.It creates a few resources in order to run and expects to run within its own namespace.
You can also run with option --mode quick
to quickly run the conformance tests
Export the results using the command export results=$(sonobuoy retrieve)
Use the sonobuoy delete
command to remove its namespace as well as a few cluster scoped resources.
For detailed information about the conformance tests, plugins, and snapshots, check out the documentation here.
Like this post? Don’t forget to share it!
There are few things as valuable to a business as well-designed software. Organizations today rely…
The cryptocurrency industry is being reshaped by the fusion of blockchain technology and artificial intelligence…
Introduction Artificial Intelligence (AI) has also found its relevance in graphic design and is quickly…
Imagine a world where the brilliance of Artificial Intelligence (AI) meets the unbreakable security of…
In today’s fast-paced digital landscape, automation is not just a luxury but a necessity for…
The world of casino gaming has leveraged the emerging technology advancements to create immersive and…
This website uses cookies.