Install a Typhoon Kubernetes v1.11.0 cluster on bare-metal, AWS, or Google Cloud. You may pick any OS + platform combination marked stable.
Define a cluster at v1.11.0 and terraform apply
. Example:
module "google-cloud-yavin" {
source = "git::https://github.com/poseidon/typhoon//google-cloud/container-linux/kubernetes?ref=v1.11.0"
providers = {
google = "google.default"
local = "local.default"
null = "null.default"
template = "template.default"
tls = "tls.default"
}
# Google Cloud
cluster_name = "yavin"
region = "us-central1"
dns_zone = "example.com"
dns_zone_name = "example-zone"
# configuration
ssh_authorized_key = "ssh-rsa AAAAB3Nz..."
asset_dir = "/home/user/.secrets/clusters/yavin"
# optional
worker_count = 2
}
Use the generated kubeconfig
from ASSETS_DIR/auth/kubeconfig
.
$ export KUBECONFIG=/home/user/.secrets/clusters/yavin/auth/kubeconfig
$ kubectl get nodes
NAME STATUS AGE VERSION
yavin-controller-0.c.example-com.internal Ready 6m v1.11.0
yavin-worker-jrbf.c.example-com.internal Ready 5m v1.11.0
yavin-worker-mzdm.c.example-com.internal Ready 5m v1.11.0
Run the sonobuoy conformance tests using curl piped to kubectl.
curl -L https://github.com/cncf/k8s-conformance/blob/master/sonobuoy-conformance.yaml
Follow the instructions to kubectl cp
results from plugins/e2e/results{e2e.log,junit.xml}
.
Alternately, use the sonobuoy
command line tool (requires Go).
go get -u -v github.com/heptio/sonobuoy
sonobuoy run
sonobuoy status
sonobuoy retrieve .
mkdir ./results; tar xzf *.tar.gz -C ./results
Inspect the results in plugins/e2e/results/{e2e.log,junit.xml}
.