Signed-off-by: Sachin Kumar Singh <sachin.singh@canonical.com> Signed-off-by: Sachin Kumar Singh <sachin.singh@canonical.com> |
||
---|---|---|
.. | ||
PRODUCT.yaml | ||
README.md | ||
e2e.log | ||
junit_01.xml |
README.md
Reproducing the test results
Deploy MicroK8s
Follow the instructions at https://microk8s.io to snap install microk8s on two machines.
% sudo snap install microk8s --channel 1.26/stable --classic
Create a cluster by running on the first machine:
% sudo microk8s.add-node
Use the connection string on the second machine to form the cluster:
% sudo microk8s join 172.31.1.94:25000/e6ffa50103758cf48b68692abca7b28c/e2d8c739ac8f
On the first machine that acts as the master enable DNS:
% sudo microk8s.enable dns
Trigger the tests and get back the results
We follow the official instructions:
% 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.26.0
% sudo ./sonobuoy status --kubeconfig /var/snap/microk8s/current/credentials/client.config
% sudo ./sonobuoy retrieve --kubeconfig /var/snap/microk8s/current/credentials/client.config