Skip to content

Commit

Permalink
Conformance results for v1.24/kubeoperator (cncf#2156)
Browse files Browse the repository at this point in the history
Signed-off-by: wanghe-fit2cloud <[email protected]>

Signed-off-by: wanghe-fit2cloud <[email protected]>
Signed-off-by: legacyrj <[email protected]>
  • Loading branch information
wanghe-fit2cloud authored and legacyrj committed Nov 23, 2022
1 parent f819eaf commit 8edbdc1
Show file tree
Hide file tree
Showing 5 changed files with 35,875 additions and 0 deletions.
9 changes: 9 additions & 0 deletions v1.24/kubeoperator/PRODUCT.yaml
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.
78 changes: 78 additions & 0 deletions v1.24/kubeoperator/README.md
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
```
Binary file added v1.24/kubeoperator/cluster.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 8edbdc1

Please sign in to comment.