Skip to content

Latest commit

 

History

History
 
 

WiseCloud

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Conformance tests for WiseCloud v1.13.0 Kubernetes

Install WiseCloud Server v1.13.0 (base on Kubernetes v1.19.4)

Provision 6+ nodes for your WiseCloud cluster. (RHEL/CentOS 7.4/7.5/7.6/7.7/7.8 and Ubuntu 16/18 are supported)

1 deploy node

1 harbor node

3 wise-controllers nodes

3 loadbalancer nodes (LB services can be deployed on 3 wise-controller nodes or 3 dedicated lb servers for HA purpose)

2+ worker nodes

Install WiseUp on the deploy node

(1) Install docker and docker-compose

(2) Download the WiesCloud yaml file

(3) execute the command:

```    
docker-compose up -d
```

(4) Open the browser to access the WiseUp page

(5) Add nodes and set up WiseCloud components (K8s 1.19.4, wisecloud-core-1.13.0, mysql, nats, redis, prometheus, istio)

(6) Install the cluster

(7) Login to the WiseCloud dashboard and confirm all componentes are running normally

Run Conformance Test

The standard tool for running these tests is Sonobuoy. Sonobuoy is regularly built and kept up to date to execute against all currently supported versions of kubernetes, and can be obtained here.

Download the CLI by running:

$ go get -u -v github.com/heptio/sonobuoy

Deploy a Sonobuoy pod to your cluster with:

$ sonobuoy run

View actively running pods:

$ sonobuoy status 

To inspect the logs:

$ sonobuoy logs

Once sonobuoy status shows the run as completed, copy the output directory from the main Sonobuoy pod to a local directory:

$ sonobuoy retrieve .

This copies a single .tar.gz snapshot from the Sonobuoy pod into your local . directory. Extract the contents into ./results with:

mkdir ./results; tar xzf *.tar.gz -C ./results

NOTE: The two files required for submission are located in the tarball under plugins/e2e/results/{e2e.log,junit.xml}.

To clean up Kubernetes objects created by Sonobuoy, run:

sonobuoy delete