vmware-tanzu / sonobuoy

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.

Home Page:https://sonobuoy.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Airgap k8s and cleanup

jorisd opened this issue · comments

What steps did you take and what happened:
I downloaded sonobuoy/sonobuoy, k8s.gcr.io/conformance and sonobuoy/systemd-logs to my private registry so I could run sonobuoy e2e and conformance in an airgapped environment.
During the run, I found sonobuoy was looking to download additional images eg.

  • "k8s.gcr.io/e2e-test-images/httpd:2.4.38-2"
  • "k8s.gcr.io/e2e-test-images/agnhost:2.33"

This made the tests fail, because we are running airgapped, and I stopped the run early.

What did you expect to happen:
I also noticed some resources created by sonobouy during the run weren't cleaned up properly.

Anything else you would like to add:

Environment:

  • Sonobuoy version: Sonobuoy Version: v0.56.16
  • Kubernetes version: (use kubectl version): v1.23.4
  • Kubernetes installer & version:
  • Cloud provider or hardware configuration:
  • OS (e.g. from /etc/os-release): RHEL 8.8
  • Sonobuoy tarball (which contains * below)