Skip to content

Latest commit

 

History

History
 
 

giantswarm-aws

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

To Reproduce:

Note: to reproduce you need a Giant Swarm account.

Create cluster

$ gsctl create cluster --owner=myorg

This will report back a cluster ID that you need for the next step.

Get Credentials

$ gsctl create kubeconfig -c <clusterid> --certificate-organizations=system:masters

Run the tests

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

Destroy cluster

$ gsctl delete cluster -c <clusterid>