|
| 1 | +# TenxCloud Container Service |
| 2 | +Cloud native PaaS based on Kubernetes. |
| 3 | + |
| 4 | +## Setup a Kubernetes cluster using TenxCloud Deployment Engine (tde) |
| 5 | + |
| 6 | +1. SSH to the node that will be the K8s master: |
| 7 | +``` |
| 8 | +$ sudo bash -c "$(docker run --rm -v /tmp:/tmp index.tenxcloud.com/tenx_containers/tde:v5.6.0 --registry index.tenxcloud.com Init)" |
| 9 | +
|
| 10 | +# wait for the process to be completed. |
| 11 | +``` |
| 12 | + |
| 13 | +2. You'll see the prompted messages at the bottom about how to add woker nodes: |
| 14 | +``` |
| 15 | +Your Kubernetes control-plane has initialized successfully! |
| 16 | +
|
| 17 | +Then you can join any number of worker nodes by running the following on each as root: |
| 18 | +
|
| 19 | +sudo bash -c "$(docker run --rm -v /tmp:/tmp index.tenxcloud.com/system_containers/tde:v5.6.0 --registry index.tenxcloud.com --token <bootstrap_token> --ca-cert-hash <ca-cert-hash> Join <master>)" |
| 20 | +
|
| 21 | +Kubernetes Enterprise Edition cluster deployed successfully |
| 22 | +``` |
| 23 | + |
| 24 | +3. Then SSH to the nodes that will be the K8s nodes, run the command below on each one: |
| 25 | +``` |
| 26 | +$ sudo bash -c "$(docker run --rm -v /tmp:/tmp index.tenxcloud.com/tenx_containers/tde:v5.6.0 --token <bootstrap_token> --ca-cert-hash <ca-cert-hash> Join <master>)" |
| 27 | +
|
| 28 | +# wait for the process to be completed. |
| 29 | +``` |
| 30 | +Then you'll have a Kubernetes cluster ready for conformance test. |
| 31 | + |
| 32 | +## Run the conformance test following the official guide |
| 33 | + |
| 34 | +Download a binary release of the sonobuoy CLI from https://github.com/heptio/sonobuoy/releases : |
| 35 | +``` |
| 36 | +$ sonobuoy run --mode=certified-conformance |
| 37 | +
|
| 38 | +$ sonobuoy logs -f |
| 39 | +
|
| 40 | +# wait for the message below in the log |
| 41 | +# no-exit was specified, sonobuoy is now blocking |
| 42 | +``` |
| 43 | + |
| 44 | +Get the results: |
| 45 | +``` |
| 46 | +$ outfile=$(sonobuoy retrieve) |
| 47 | +$ mkdir ./results; tar xzf $outfile -C ./results |
| 48 | +``` |
| 49 | + |
| 50 | +Then grab `plugins/e2e/results/global/{e2e.log,junit_01.xml}` from results folder, add them to this PR. |
0 commit comments