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.24/kubeoperator (cncf#2156)
Signed-off-by: wanghe-fit2cloud <[email protected]> Signed-off-by: wanghe-fit2cloud <[email protected]> Signed-off-by: legacyrj <[email protected]>
- Loading branch information
1 parent
f819eaf
commit 8edbdc1
Showing
5 changed files
with
35,875 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,9 @@ | ||
vendor: Hangzhou FIT2CLOUD Information Technology Co., Ltd. | ||
name: KubeOperator | ||
version: v3.16.2 | ||
website_url: https://www.kubeoperator.io/ | ||
repo_url: https://github.com/KubeOperator/KubeOperator | ||
documentation_url: https://kubeoperator.io/docs/ | ||
product_logo_url: https://raw.githubusercontent.com/KubeOperator/KubeOperator/master/kubeoperator-logo.svg?sanitize=true | ||
type: Installer | ||
description: KubeOperator is an open-source light-weighted Kubernetes distribution that focuses on helping enterprises plan, deploy, and operate production-grade Kubernetes clusters in an offline network environment. It has a graphic Web UI that fasten up the process of software lifecycle in this current rapid cloud age. |
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,78 @@ | ||
# Conformance tests for KubeOperator v3.16.2 | ||
|
||
## Install KubeOperator v3.16.2 | ||
|
||
Follow the [installation](https://kubeoperator.io/docs/installation/install/) to install KubeOperator. | ||
|
||
```bash | ||
$ curl -sSL https://github.com/KubeOperator/KubeOperator/releases/latest/download/quick_start.sh | sh | ||
``` | ||
|
||
Wait until service running successfully. | ||
|
||
## Deploy Kubernetes | ||
|
||
Deploy Kubernetes according to the [documentation](https://kubeoperator.io/docs/quick_start/cluster_planning/manual/). | ||
|
||
1. System Settings | ||
- Before using the KubeOperator, you must set the necessary parameters for the KubeOperator. These system parameters will affect the installation of the Kubernetes cluster and access to related services. | ||
|
||
2. Prepare The Servers | ||
- We will prepare to add three servers, one master and two workers. | ||
|
||
3. Host Authorization | ||
- Authorize the host to the project. | ||
|
||
4. Deploy Cluster | ||
- Enter the project menu and click the "Add" button on the "Cluster" page to create the cluster. | ||
![](cluster.png) | ||
|
||
## Run Conformance Test | ||
|
||
The standard tool for running these tests is | ||
[Sonobuoy](https://github.com/heptio/sonobuoy). Sonobuoy is | ||
regularly built and kept up to date to execute against all | ||
currently supported versions of kubernetes. | ||
|
||
Download a [binary release](https://github.com/heptio/sonobuoy/releases) of the CLI | ||
|
||
Deploy a Sonobuoy pod to your cluster with: | ||
|
||
``` | ||
$ sonobuoy run --mode=certified-conformance | ||
``` | ||
|
||
**NOTE:** You can run the command synchronously by adding the flag `--wait` but be aware that running the Conformance tests can take an hour or more. | ||
|
||
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: | ||
|
||
``` | ||
$ outfile=$(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 $outfile -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 | ||
``` |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.