Skip to content

Commit 5d42517

Browse files
committed
Conformance results for v1.32/ck8s
Signed-off-by: rapour <reza.abbasalipour@canonical.com>
1 parent 937ae46 commit 5d42517

File tree

4 files changed

+64375
-0
lines changed

4 files changed

+64375
-0
lines changed

v1.32/ck8s/PRODUCT.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
vendor: Canonical
2+
name: Canonical Kubernetes
3+
version: v1.32.10
4+
website_url: https://ubuntu.com/kubernetes
5+
documentation_url: https://documentation.ubuntu.com/canonical-kubernetes/latest/
6+
product_logo_url: https://assets.ubuntu.com/v1/563c0d9b-Canonical.svg
7+
type: distribution
8+
description: 'Performant and easy to deploy Kubernetes cluster with a zero-ops experience and everything needed for a fully functioning cluster (e.g. DNS, gateway, networking).'
9+
contact_email_address: daniel.neuberger@canonical.com

v1.32/ck8s/README.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Reproducing the test results
2+
3+
## Deploy Canonical Kubernetes
4+
5+
Follow the instructions at https://documentation.ubuntu.com/canonical-kubernetes/release-1.32/snap/tutorial/add-remove-nodes/ to install Canonical Kubernetes on two machines.
6+
7+
Create a cluster by running on the first machine:
8+
```sh
9+
$ sudo snap install k8s --channel 1.32-classic/stable --classic
10+
$ sudo k8s bootstrap
11+
```
12+
13+
Get a join token for the second node to join the cluster:
14+
```sh
15+
$ sudo k8s get-join-token <second-node-hostname> --worker
16+
```
17+
18+
Use the join token on the second machine to form the cluster:
19+
```sh
20+
$ sudo snap install k8s --channel 1.32-classic/stable --classic
21+
$ sudo k8s join-cluster <join-token>
22+
```
23+
24+
## Trigger the tests and get back the results
25+
26+
We follow the [official instructions](https://github.com/cncf/k8s-conformance/blob/master/instructions.md):
27+
28+
## Run Conformance Test
29+
30+
1. Download a [binary release](https://github.com/heptio/sonobuoy/releases) of sonobuoy, or build it yourself by running:
31+
```sh
32+
$ wget https://github.com/vmware-tanzu/sonobuoy/releases/download/v0.57.2/sonobuoy_0.57.2_linux_amd64.tar.gz
33+
$ tar -zxvf ./sonobuoy_0.57.2_linux_amd64.tar.gz
34+
```
35+
36+
2. Run sonobuoy:
37+
```sh
38+
$ sudo ./sonobuoy run \
39+
--plugin e2e
40+
--plugin-env=e2e.E2E_EXTRA_ARGS="--ginkgo.v"
41+
--mode certified-conformance \
42+
--kubeconfig /etc/kubernetes/admin.conf
43+
```
44+
45+
3. Check the status:
46+
```sh
47+
$ sudo ./sonobuoy status --kubeconfig /etc/kubernetes/admin.conf
48+
```
49+
50+
4. Retrieve results and extract
51+
```sh
52+
$ sudo ./sonobuoy retrieve --kubeconfig /etc/kubernetes/admin.conf
53+
```

0 commit comments

Comments
 (0)