forked from cncf/k8s-conformance
-
Notifications
You must be signed in to change notification settings - Fork 0
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.13/dce (cncf#418)
* Conformance results for v1.13/dce * Conformance results for v1.13/dce
- Loading branch information
OwenYang
authored and
Tony Norlin
committed
Oct 25, 2024
1 parent
341e0aa
commit edb1ef4
Showing
5 changed files
with
15,612 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,6 @@ | ||
vendor: DaoCloud | ||
name: DaoCloud Enterprise | ||
version: v3.0.3 | ||
website_url: http://www.daocloud.io/dce | ||
documentation_url: http://guide.daocloud.io/dce-v3.0 | ||
product_logo_url: http://guide.daocloud.io/download/attachments/524290/global.logo?version=2&modificationDate=1469173304363&api=v2 |
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,69 @@ | ||
# DaoCloud Enterprise | ||
|
||
DaoCloud Enterprise is a platform based on Kubernetes which developed by [DaoCloud](https://www.daocloud.io). | ||
|
||
## Setup DCE Cluster | ||
|
||
First install DaoCloud Enterprise 3.0.3, which is based on Kubernetes 1.13.1. | ||
To install DaoCloud Enterprise, run the following commands on CentOS 7.4 System: | ||
``` | ||
export VERSION=3.0.3 | ||
curl -L https://dce.daocloud.io/DaoCloud_Enterprise/$VERSION/os-requirements > /usr/local/bin/os-requirements | ||
chmod +x /usr/local/bin/os-requirements | ||
/usr/local/bin/os-requirements | ||
bash -c "$(docker run -i --rm daocloud.io/daocloud/dce:$VERSION install)" | ||
``` | ||
To add more nodes to the cluster, the user need log into DaoCloud Enterprise control panel and follow instructions under node management section. | ||
|
||
After the installation, run ```docker exec -it `docker ps | grep dce-kube-controller | awk '{print$1}'` bash``` to enter the DaoCloud Enterprise Kubernetes controller container. | ||
|
||
## Run conformance tests | ||
|
||
The standard tool for running these tests is | ||
[Sonobuoy](https://github.com/heptio/sonobuoy). | ||
|
||
Download a [binary release](https://github.com/heptio/sonobuoy/releases) of the CLI, or build it yourself 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 | ||
``` |
Oops, something went wrong.