Sonobuoy Versions Save

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 and other plugins in an accessible and non-destructive manner.

v0.56.9

1 year ago

Changelog

  • e8648ea7 Add docs for 0.56.9
  • 2b06bc8f Allow users to skip specific preflight checks
  • 94e8236d Fix check for kubectl
  • d125fb9e Refresh e2e data
  • 32c6c69c Allow worker to upload directory instead of file
  • e51d8a32 Add K8s release check workflow
  • e00b9a32 Automate e2e data gathering
  • 684a594e Plugins with manual results process all *.yml and *.yaml files
  • 1ef30df7 Tweak to function to allow multiple args
  • 7f82b6bf Allow postprocessors to modify done file contents
  • d6099e7d Bump a few dep versions
  • 94848503 Change warnings to errors for conflicting flags.
  • c98e4bae Update plugin ordering to latest Sonobuoy version

v0.56.8

1 year ago

Changelog

  • e7097874 Add docs for v0.56.8
  • b18f8058 Simplify logic for status aggregation
  • dd9992f3 Move to registry.k8s.io
  • 9a4dedc2 Fix link to roadmap wiki
  • e14baa4e Update Sonobuoy team
  • a2fdb9c1 Add July drumbeat
  • 706eddec Add command to get worker pod names
  • 7c0e8d3c Adds a simple Makefile with the most commonly used options
  • 24ebb1f3 Add readable mode to results command
  • 1c31007c Updates the lint function to be consistent with CI
  • e36a26ce Update copyright and golden files
  • cb82909f Add flags to allow customizing the service account
  • 33a0568e Download kubectl when testing locally

v0.56.7

1 year ago

Changelog

  • 41f20819 Add docs for v0.56.7
  • c1568607 Add clusterRead to aggregator permissions help
  • 6ef1eaec Refactor feature gates into its own package
  • 3d5fd5b3 Link to roadmap in main readme.
  • 092122ac Fix skopeo login for image push issue
  • 5482d228 Add CLI docs to the site
  • 35589fa0 Parse user-provided ConfigMap YAML
  • c4593e0b Include Image name in image pull error message (#1718)

v0.56.6

1 year ago

Changelog

  • 87e26ab7 Add docs for v0.56.6 (#1710)
  • 68117267 Reconcile results directory and mount on server (#1709)
  • 65426781 Remove empty resources from gen plugin (#1708)
  • 021b7a56 remove unnecessary volume from gen plugin command (#1703)
  • 692522de Only apply imagePullPolicy to plugins if instructed (#1705)
  • b293bf06 Fix typo in pluginDefinitionFilename (#1672)
  • 216bda44 Fix bug where 'retrieve' fails if filepath diectories DNE (#1690)

v0.56.5

1 year ago

Changelog

  • 4fd38746 Add docs for v0.56.5 (#1702)
  • 4fe34cb4 Add new e2e data for k8s versions (#1701)
  • 02cc2317 Always upload artifacts to github actions (#1699)
  • 4598995b Moved the logic for gathering logs to before plugin cleanup (#1693)
  • 7b3375ca FailNow if Must... fails as expected (#1697)
  • 8690c6cb Remove -r option from mv command (#1696)
  • be9293df add url flag to set url for plugin (#1694)
  • 8336e02b add description flag and function to set description (#1673)
  • 12ebf3fb Fix aggregator to wait forever when timeout is zero. (#1681)
  • 6d36456d Update Build with golang:1.18 (#1674)
  • bbc49da2 Have 'images' commands respect env vars (#1679)
  • 9294926a Add drumbeat blog (#1670)

v0.56.4

2 years ago

Changelog

  • 51c79060 Add docs for v0.56.4 (#1668)
  • 24480fa6 Fix mount for sidecars (#1667)
  • 0151ee80 Export functions to enable postprocessing of files (#1666)
  • c12595f1 Add configmaps to sidecars (#1665)
  • 2fb43738 Add function for walking item tree (#1658)
  • 8988672e Update linter and fix staticcheck issues (#1659)
  • e09387ce Add governance document and design folder (#1642)

v0.56.3

2 years ago

Changelog

  • 1005bee8 Docs for v0.56.3 (#1645)
  • 1409358f Better debug messages when aggregator is starting up (#1638)
  • e8507f24 Add sonobuoy images list command (#1639)
  • b8eb8010 Update e2e with more tags
  • 0138be03 Modify reader code to work on unzipped results as well

v0.56.2

2 years ago

Overview

A tiny, weekly release but with new information from the results tarball via 65a726ab

Changelog

  • 6cf75197 Bump docs and version for v0.56.2
  • 458c06aa Tweak docs for release and dryrun test lists
  • 65a726ab Added health summary with basic log scanning
  • 13af7b1f Add extra steps for release
  • f5af7695 Fix release doc and update_docs script

v0.56.1

2 years ago

Overview

A small release as we try and get into the habit of weekly releases.

  • New darwin/arm64 binary in release artifacts
  • Improvements to behavior when plugins have other sidecars
  • Improved output for progress updates

Changelog

  • eedd1ecb Version and docs for v0.56.1
  • d79aeaf8 Add darwin/arm64 binary to release
  • 91f9c2af Improve version subcommand
  • 3fce5279 Update kind images
  • ddda7b1f Issue1595: deal with plugins with unknown total tests count
  • c7e914ce Worker sidecars get plugin env vars
  • d60bd545 Add a delay before consuming done file for postprocessing window
  • ea063042 Add workflows for automated release and blog issues
  • 5200a142 Change the link "custom plugin"

v0.56.0

2 years ago

Overview

This release found a surprisingly large amount of new features and improvements including: The common theme in these features is that they are about making what you might already do, better:

  • Cut down on CI time with the new --mode=conformance-lite option
  • Better understand and plan which tests and tags to run with sonobuoy e2e without having to launch a single pod
  • Gather API data and logs from the CLI without launching pods
  • Run Sonobuoy with reduced permissions more easily and reliably (--aggregator-permissions)

See details for these and other improvements below.

New Features

Sonobuoy Modes and 'conformance-lite'

  • 0e4a1c59 Add sonobuoy modes command
  • f105e680 Add conformance-lite mode

Sonobuoy has a new command sonobuoy modes which lists the what each of the various --mode options means for the E2E plugin. This allows users to choose the appropriate mode without even having to navigate to the web documentation. Instead, sonobuoy modes shows the the name of the mode, its purpose, and its focus/skip/parallel values.

A new option for --mode was added: conformance-lite which runs the fastest tests from the conformance suite (~80%) in parallel. This allows running of hundreds of tests in just minutes which can cut down CI and debugging times.

E2E Improvements: Built in E2E Dry-run and Airgapped Simplification

  • 90dd4c15 Add e2e command for dry-run help
  • 7af4fe25 Support KUBE_TEST_REPO

We still get numerous questions regarding what tests from the E2E conformance suite can/should be run or what tags are available. Built into the conformance tests is a "dry-run" feature which allows you to try out regular expressions and filter the tests without running them. However, doing this still requires you launch Sonobuoy and e2e pods, gather results, and inspect them. The new sonobuoy e2e command will allow you to try out focus/skip values and immediately get the resulting test list. Not only that, but by editing the output --mode, you can print only the test tags with or without their respective frequency counts.

Sonobuoy Queries from the CLI

  • 5577b2df Refactor query logic and add to CLI

Sonobuoy gathers lots of data from the API in order to aid in debugging. If you want that information without bothering with launching any pods at all, just run sonobuoy query. All the query logic has been extracted and made available on the CLI for faster, easier access.

More Permissions Options For Sonobuoy

  • a4ca834b Add namespaced permissions with cluster read

The --aggregator-permissions options have expanded to include:

  • clusterRead which is namespace admin permissions with added read-only permissions at the cluster level
  • namespaceAdmin which has no cluster permissions, only namespaced ones
  • the default clusterAdmin

In most cases the default is a good choice, but in production clusters where access is more carefully monitored, the other options may be a better fit.

Improvements and Bug Fixes

  • aea30a00 Adjust progress messages to allow for appending data

    • Plugins can now report progress updates in more piecemeal fashion and the aggregator will combine the results. This fixes a bug where the e2e plugin couldn't report progress when in parallel mode. The fix will be in Sonobuoy, but the upstream fix will get put into releases going forward.
  • 94b6f18f Allow setting aggregator env vars via CLI

    • Sonobuoy now allows you to set environment variables on the aggregator from the CLI via the existing --plugin-env flag using the reserved plugin name sonobuoy. For instance, --plugin-env sonobuoy.KEY=val.
  • 9ba34dc2 Modify entrypoint for getting e2e test images

    • Fixed a bug which caused sonobuoy images to fail for Kubernetes v1.22+
  • c7c47dcd Roles and bindings should have namespace label for deltion

    • Fixed a bug which caused cluster roles and bindings to not be deleted. Modified the behavior of sonobuoy delete --all to include deleting all cluster roles related to any Sonobuoy run, regardless of namespace. Added back a "namespace" label for ClusterRoles and ClusterRoleBindings in order to properly associate them with their Sonobuoy run.
  • ec3df495 Continue with run even if unable to query nodes

    • Fixed a bug which caused the new --aggregator-permissions=namespaceAdmin option to fail due to the inability to query cluster nodes.

Complete Changelog

  • 0665cd32 Add docs for v0.56.0 and bump version
  • 7c8e495e Fix calculation for appending failures
  • aea30a00 Adjust progress messages to allow for appending data
  • f105e680 Add conformance-lite mode
  • 5bec08cd Add test lists for recent k8s versions
  • 90dd4c15 Add e2e command for dry-run help
  • 78712976 added aggregator permissions doc
  • d831a213 Add POC doc for upcoming feature
  • 94b6f18f Allow setting aggregator env vars via CLI
  • 928b7b43 Fix spacing for headers in strategy doc
  • a265fc08 Add strategy doc
  • d98b1feb New document for sonobuoy query
  • 0e4a1c59 Add sonobuoy modes command
  • 7af4fe25 Support KUBE_TEST_REPO
  • a4ca834b Add namespaced permissions with cluster read
  • ec3df495 Continue with run even if unable to query nodes
  • b47d9829 Adjust cluster suggestions for starting with Sonobuoy
  • 85b1f221 Add docs for result type gojson
  • e679e44c Add links to top of plugins page
  • 5577b2df Refactor query logic and add to CLI
  • c7c47dcd Roles and bindings should have namespace label for deltion
  • 9ba34dc2 Modify entrypoint for getting e2e test images
  • ae75211b Remove template and convert to code
  • 9506d948 Fix template for namespaced permissions