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.
Merge pull request #2 from cncf/master
Merge upstream
- Loading branch information
Showing
137 changed files
with
261,884 additions
and
12,407 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: Appscode | ||
name: Pharmer by Appscode | ||
version: 0.1.0-rc.1 | ||
website_url: https://appscode.com/products/pharmer | ||
documentation_url: https://appscode.com/products/pharmer/docs | ||
product_logo_url: https://appscode.com/images/logo-color.svg |
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,29 @@ | ||
To reproduce. | ||
|
||
```console | ||
$ pharmer create credential do1 | ||
$ pharmer create cluster con110 \ | ||
--provider=digitalocean \ | ||
--zone=nyc3 \ | ||
--nodes=2gb=1 | ||
--credential-uid=do1 \ | ||
--kubernetes-version=v1.10.2 | ||
|
||
$ pharmer apply con110 --v=3 | ||
|
||
# wait for completion the process. | ||
$ pharmer use cluster con110 | ||
|
||
$ curl -L https://raw.githubusercontent.com/cncf/k8s-conformance/master/sonobuoy-conformance.yaml | kubectl apply -f - | ||
|
||
$ kubectl logs -f -n sonobuoy sonobuoy | ||
|
||
# wait for completion, signified by | ||
# no-exit was specified, sonobuoy is now blocking | ||
|
||
$ kubectl cp sonobuoy/sonobuoy:/tmp/sonobuoy ./results --namespace=sonobuoy | ||
$ tar xfz results/*.tar.gz | ||
``` | ||
|
||
Then grab `plugins/e2e/results/{e2e.log,junit_01.xml,version.txt}` and add them to this PR. |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,2 @@ | ||
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.2", GitCommit:"81753b10df112992bf51bbc2c2f85208aad78335", GitTreeState:"clean", BuildDate:"2018-04-27T09:22:21Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"} | ||
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.2", GitCommit:"81753b10df112992bf51bbc2c2f85208aad78335", GitTreeState:"clean", BuildDate:"2018-04-27T09:10:24Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"} |
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,7 @@ | ||
vendor: Caicloud | ||
name: Compass | ||
version: v1.10.1 | ||
website_url: https://caicloud.io/products/compass | ||
documentation_url: https://docs.caicloud.io/compass/ | ||
product_logo_url: https://caicloud.io/_static/caicloud_logo.svg | ||
type: distribution |
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 @@ | ||
To reproduce: | ||
|
||
After installing Caicloud Compass, you can create a new kubernetes cluster following the docs [create-cluster](https://docs.caicloud.io/compass/clusters/create-cluster.html). Once the cluster is ready, ssh into master and run: | ||
|
||
`curl -L https://raw.githubusercontent.com/cncf/k8s-conformance/master/sonobuoy-conformance.yaml | kubectl apply -f -`. | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,2 @@ | ||
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.1", GitCommit:"d4ab47518836c750f9949b9e0d387f20fb92260b", GitTreeState:"clean", BuildDate:"2018-04-12T14:26:04Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"} | ||
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.1", GitCommit:"d4ab47518836c750f9949b9e0d387f20fb92260b", GitTreeState:"clean", BuildDate:"2018-04-12T14:14:26Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"} |
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,8 @@ | ||
vendor: Containership | ||
name: Containership Kubernetes Engine (CKE) | ||
version: v3.0.0 | ||
website_url: https://containership.io | ||
documentation_url: https://docs.containership.io | ||
product_logo_url: https://cdn.containership.io/logos/containership/cs-vertical.svg | ||
type: distribution | ||
description: 'Containership Kubernetes Engine (CKE) is a multi-cloud provisioning tool that provides a simple to use UI and API for Kubernetes cluster lifecycle management in the cloud or on-premises.' |
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,20 @@ | ||
# To reproduce | ||
|
||
## Create cluster | ||
|
||
Log in to https://cloud.containership.io. From the create menu, choose "Cluster". In the creation wizard, choose "Digital Ocean" for provider, and "CKE" for engine. Complete the remaining required steps in the wizard. Once the cluster has completed provisioning, click on the cluster from the cluster list view, and copy the kubectl connection info. | ||
|
||
## Run the conformance test | ||
|
||
``` | ||
$ curl -L https://raw.githubusercontent.com/cncf/k8s-conformance/master/sonobuoy-conformance.yaml | kubectl apply -f - | ||
$ kubectl logs -f -n sonobuoy sonobuoy | ||
$ kubectl cp sonobuoy/sonobuoy:/tmp/sonobuoy ./results | ||
$ untar the tarball, then add plugins/e2e/results/{e2e.log,junit_01.xml} | ||
``` | ||
|
||
## Clean up | ||
From the cluster list, select the cluster used for conformance testing, and select "Delete" from the side navigation. |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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,2 @@ | ||
Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.2", GitCommit:"81753b10df112992bf51bbc2c2f85208aad78335", GitTreeState:"clean", BuildDate:"2018-05-12T04:12:47Z", GoVersion:"go1.9.6", Compiler:"gc", Platform:"darwin/amd64"} | ||
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.1", GitCommit:"d4ab47518836c750f9949b9e0d387f20fb92260b", GitTreeState:"clean", BuildDate:"2018-04-12T14:14:26Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"} |
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,7 @@ | ||
vendor: eBaoTech | ||
name: eBaoCloud Platform | ||
version: v1.0.0 | ||
website_url: https://sg.ebaocloud.com/ | ||
documentation_url: https://sg.ebaocloud.com/ | ||
type: distribution | ||
product_logo_url: https://enablement.ebaocloud.com/staticfile/img/ebaotech.svg |
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,27 @@ | ||
1. Start the conformance tests: | ||
```shell | ||
curl -L https://raw.githubusercontent.com/cncf/k8s-conformance/master/sonobuoy-conformance.yaml | kubectl apply -f - | ||
``` | ||
|
||
2. Check logs and wait for the follow line to show up. | ||
Run | ||
|
||
```shell | ||
kubectl logs -f -n sonobuoy sonobuoy | ||
``` | ||
and wait for line `no-exit was specified, sonobuoy is now blocking`. | ||
|
||
3. copy the results to the working directory. | ||
```shell | ||
kubectl cp sonobuoy/sonobuoy:/tmp/sonobuoy/<result archive> ./resuts.tar.gz | ||
``` | ||
|
||
4. unarchive the tarball,then grab `plugins/e2e/results/{e2e.log,junit_01.xml}`. | ||
|
||
|
||
5. Clean-up. | ||
|
||
```shell | ||
curl -L https://raw.githubusercontent.com/cncf/k8s-conformance/master/sonobuoy-conformance.yaml | kubectl delete -f - | ||
``` | ||
|
Oops, something went wrong.