Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conformance results for v1.32/microk8s #3557

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions v1.32/microk8s/PRODUCT.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
vendor: Canonical Ltd
name: MicroK8s
version: v1.32.0
website_url: https://microk8s.io
documentation_url: https://microk8s.io/docs/
product_logo_url: https://assets.ubuntu.com/v1/9309d097-MicroK8s_SnapStore_icon.svg
type: distribution
description: 'A small, fast, single-package Kubernetes for developers, IoT and edge.'
contact_email_address: [email protected]
48 changes: 48 additions & 0 deletions v1.32/microk8s/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# Reproducing the test results

## Deploy MicroK8s

Follow the instructions at https://microk8s.io to snap install microk8s on two machines.
```sh
$ sudo snap install microk8s --channel 1.32/stable --classic
```

Create a cluster by running on the first machine:
```sh
$ sudo microk8s add-node
```

Use the connection string on the second machine to form the cluster:
```sh
$ sudo microk8s join 10.227.69.102:25000/d35aea1606887db2ea326ed6de93c321/cb463cb3b0e4 --worker
```

## Trigger the tests and get back the results

We follow the [official instructions](https://github.com/cncf/k8s-conformance/blob/master/instructions.md):

## Run Conformance Test

1. Download a [binary release](https://github.com/heptio/sonobuoy/releases) of sonobuoy, or build it yourself by running:
```sh
$ wget https://github.com/vmware-tanzu/sonobuoy/releases/download/v0.57.2/sonobuoy_0.57.2_linux_amd64.tar.gz
$ tar -zxvf ./sonobuoy_0.57.2_linux_amd64.tar.gz
```

2. Run sonobuoy:
```sh
$ sudo ./sonobuoy run \
--mode certified-conformance \
--kubeconfig /var/snap/microk8s/current/credentials/client.config \
--plugin-env=e2e.E2E_EXTRA_ARGS="--non-blocking-taints=node-role.kubernetes.io/controller --ginkgo.v"
```

3. Check the status:
```sh
$ sudo ./sonobuoy status --kubeconfig /var/snap/microk8s/current/credentials/client.config
```

4. Retrieve results and extract
```sh
$ sudo ./sonobuoy retrieve --kubeconfig /var/snap/microk8s/current/credentials/client.config
```
Loading