-
Notifications
You must be signed in to change notification settings - Fork 921
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conformance results for v1.25/microk8s (#2198)
Signed-off-by: Konstantinos Tsakalozos <[email protected]> Signed-off-by: Konstantinos Tsakalozos <[email protected]>
- Loading branch information
1 parent
b057322
commit 92373d6
Showing
4 changed files
with
66,863 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
Oops, something went wrong.