Skip to content

Commit

Permalink
Conformance results for v1.25/microk8s (#2198)
Browse files Browse the repository at this point in the history
Signed-off-by: Konstantinos Tsakalozos <[email protected]>

Signed-off-by: Konstantinos Tsakalozos <[email protected]>
  • Loading branch information
ktsakalozos authored Sep 30, 2022
1 parent b057322 commit 92373d6
Show file tree
Hide file tree
Showing 4 changed files with 66,863 additions and 0 deletions.
8 changes: 8 additions & 0 deletions v1.25/microk8s/PRODUCT.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
vendor: Canonical Ltd
name: MicroK8s
version: v1.25.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.'
35 changes: 35 additions & 0 deletions v1.25/microk8s/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Reproducing the test results

## Deploy MicroK8s

Follow the instructions at https://microk8s.io to snap install microk8s on two machines.
```console
% sudo snap install microk8s --channel 1.25/stable --classic
```

Create a cluster by running on the first machine:
```console
% sudo microk8s.add-node
```

Use the connection string on the second machine to form the cluster:
```console
% sudo microk8s join 172.31.1.94:25000/e6ffa50103758cf48b68692abca7b28c/e2d8c739ac8f
```

On the first machine that acts as the master enable DNS:
```console
% sudo microk8s.enable dns
```

## Trigger the tests and get back the results

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

```console
% wget https://github.com/vmware-tanzu/sonobuoy/releases/download/v0.56.10/sonobuoy_0.56.10_linux_amd64.tar.gz
% tar -zxvf ./sonobuoy_0.56.10_linux_amd64.tar.gz
% sudo ./sonobuoy run --mode certified-conformance --kubeconfig /var/snap/microk8s/current/credentials/client.config --kube-conformance-image k8s.gcr.io/conformance:v1.25.0
% sudo ./sonobuoy status --kubeconfig /var/snap/microk8s/current/credentials/client.config
% sudo ./sonobuoy retrieve --kubeconfig /var/snap/microk8s/current/credentials/client.config
```
Loading

0 comments on commit 92373d6

Please sign in to comment.