Conformance results for v1.26/k8s-tew (#2603)

Signed-off-by: Darx Kies <darxkies@gmail.com>
This commit is contained in:
Darx Kies 2023-05-15 20:31:16 +02:00 committed by GitHub
parent ab3b123db2
commit 44906b5898
4 changed files with 58527 additions and 0 deletions

View File

@ -0,0 +1,10 @@
vendor: Darx Kies
name: Kubernetes - The Easier Way
version: 2.4.11
website_url: https://github.com/darxkies/k8s-tew
repo_url: https://github.com/darxkies/k8s-tew
documentation_url: https://darxkies.github.io/k8s-tew
product_logo_url: https://raw.githubusercontent.com/darxkies/k8s-tew/master/logo.svg
type: installer
description: 'k8s-tew enables users to create and manage an easily customizable HA Kubernetes cluster with only a couple of commands'
contact_email_address: darxkies@gmail.com

83
v1.26/k8s-tew/README.md Normal file
View File

@ -0,0 +1,83 @@
# Kubernetes - The Easier Way (k8s-tew)
## Prerequisites
- Linux Host OS (preferably Ubuntu 20.04)
- Vagrant: 2.2+
- VirtualBox 6.1+
- User SSH Key (~/.ssh/id_rsa & ~/.ssh/id_rsa.pub)
## Start Virtual Machines
```shell
wget https://raw.githubusercontent.com/darxkies/k8s-tew/2.4.11/Vagrantfile
export IP_PREFIX=192.168.58
export MULTI_NODE=true
export CONTROLLERS=0
export WORKERS=2
vagrant up
```
## Download k8s-tew
```shell
wget https://github.com/darxkies/k8s-tew/releases/download/2.4.11/k8s-tew
chmod u+x k8s-tew
```
## Install Kubernetes
```shell
./k8s-tew initialize
./k8s-tew configure --version-kube-apiserver=k8s.gcr.io/kube-apiserver:v1.26.4
./k8s-tew configure --version-kube-controller-manager=k8s.gcr.io/kube-controller-manager:v1.26.4
./k8s-tew configure --version-kube-proxy=k8s.gcr.io/kube-proxy:v1.26.4
./k8s-tew configure --version-kube-scheduler=k8s.gcr.io/kube-scheduler:v1.26.4
./k8s-tew configure --public-network=$IP_PREFIX.0/24
./k8s-tew configure --resolv-conf=/run/systemd/resolve/resolv.conf
./k8s-tew node-add -n worker00 -i $IP_PREFIX.100 -x 0 -l controller,worker
./k8s-tew node-add -n worker01 -i $IP_PREFIX.101 -x 1 -l worker,storage
./k8s-tew generate
./k8s-tew deploy --skip-backup-setup --skip-logging-setup --skip-monitoring-setup --skip-showcase-setup --skip-ingress-setup --wait=5
```
# Activate Environment
```shell
source <(./k8s-tew environment)
```
# Start Conformance Test
```shell
wget https://github.com/vmware-tanzu/sonobuoy/releases/download/v0.56.16/sonobuoy_0.56.16_linux_amd64.tar.gz
tar xzfv sonobuoy_0.56.16_linux_amd64.tar.gz
./sonobuoy run --mode=certified-conformance --plugin-env=e2e.E2E_EXTRA_ARGS="--ginkgo.v" --kubernetes-version=v1.27.1
```
# Wait for the log message "no-exit was specified, sonobuoy is now blocking"
```shell
./sonobuoy logs -f -p e2e
```
# Download the results
```shell
outfile=$(./sonobuoy retrieve)
```
# Generate Conformance Artefacts
```shell
mkdir conformance-results
tar xzfv $outfile -C /tmp/
cp /tmp/plugins/e2e/results/global/e2e.log conformance-results/
cp /tmp/plugins/e2e/results/global/junit_01.xml conformance-results/
```
# Destroy Virtual Machine
```shell
vagrant destroy -f
```

37935
v1.26/k8s-tew/e2e.log Normal file

File diff suppressed because one or more lines are too long

20499
v1.26/k8s-tew/junit_01.xml Normal file

File diff suppressed because it is too large Load Diff