Note: to reproduce you need a Giant Swarm account.
$ gsctl create cluster --owner=myorg
This will report back a cluster ID that you need for the next step.
$ gsctl create kubeconfig -c <clusterid> --certificate-organizations=system:masters
Wait a bit for the cluster to come up (depending on the underlying infrastructure this might take a few minutes).
We follow the official instructions:
$ go get -u -v github.com/vmware-tanzu/sonobuoy
Deploy a Sonobuoy pod to your cluster with:
$ sonobuoy run --mode=certified-conformance --plugin-env e2e.E2E_SKIP
View actively running pods:
$ sonobuoy status
To inspect the logs:
$ sonobuoy logs
Once sonobuoy status
shows the run as completed
, copy the output directory from the main Sonobuoy pod to
a local directory:
outfile=$(sonobuoy retrieve)
This copies a single .tar.gz
snapshot from the Sonobuoy pod into your local
.
directory. Extract the contents into ./results
with:
mkdir ./results; tar xzf $outfile -C ./results
$ gsctl delete cluster -c <clusterid>