Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conformance results for v1.32/vmware-vsphere-kubernetes-service #3563

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions v1.32/vmware-vsphere-kubernetes-service/PRODUCT.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
vendor: VMware by Broadcom
name: VMware vSphere Kubernetes Service
version: v1.32.0
website_url: https://www.vmware.com/products/cloud-foundation.html
documentation_url: https://docs.vmware.com/en/VMware-Tanzu-Kubernetes-releases/services/rn/vmware-tanzu-kubernetes-releases-release-notes/index.html
product_logo_url: https://landscape.cncf.io/logos/4680e2d4f0ce002970adb755ce62cd8796b506d347357d43f2d8a651110a8019.svg
type: distribution
description: VMware vSphere Kubernetes Service is VMware's Kubernetes distribution
- built on open source technologies, packaged for enterprise adoption and supported
24x7 by VMware Global Support Services (GSS).
contact_email_address: [email protected]
109 changes: 109 additions & 0 deletions v1.32/vmware-vsphere-kubernetes-service/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
# Conformance testing vSphere Kubernetes Service

## Setup Cluster

Setup cluster according to the [documentation](https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-with-tanzu-tkg/GUID-918803BD-123E-43A5-9843-250F3E20E6F2.html)

* Authenticate with Supervisor using kubectl.
``` shell
kubectl vsphere login --server=SUPERVISOR-CONTROL-PLANE-IP-ADDRESS-or-FQDN --vsphere-username USERNAME
```

* Set the current context to target vSphere Namespace by using
```kubectl config use-context cluster-namespace```.
* List the virtual machine class bindings that are available in the target vSphere Namespace.
```kubectl get virtualmachineclassbindings``` If you do not see any VM classes, [refer to the documentation](https://docs.vmware.com/en/VMware-vSphere/8.0/vsphere-with-tanzu-tkg/GUID-1F93941C-75CF-4522-94B4-64B96962CDAA.html#associate-vm-classes-with-the-vsphere-namespace-4) to add default VM classes to vSphere Namespace.
* List the active tkr versions using `kubectl get tkr`.
* Use the below as a reference to deploy a Kubernetes cluster in your vSphere environment and store it as `cluster.yaml`.
```yaml
apiVersion: cluster.x-k8s.io/v1beta1
kind: Cluster
#define the cluster
metadata:
#user-defined name of the cluster; string
name: vks-conformance
#kubernetes namespace for the cluster; string
namespace: vks-cluster-ns
#define the desired state of cluster
spec:
#specify the cluster network; required, there is no default
clusterNetwork:
#network ranges from which service VIPs are allocated
services:
#ranges of network addresses; string array
#CAUTION: must not overlap with Supervisor
cidrBlocks: ["198.51.100.0/12"]
#network ranges from which Pod networks are allocated
pods:
#ranges of network addresses; string array
#CAUTION: must not overlap with Supervisor
cidrBlocks: ["192.0.2.0/16"]
#domain name for services; string
serviceDomain: "cluster.local"
#specify the topology for the cluster
topology:
#name of the ClusterClass object to derive the topology
class: builtin-generic-v3.3.0
#kubernetes version of the cluster
version: v1.32.0---vmware.2-fips-vkr.1
#describe the cluster control plane
controlPlane:
#number of control plane nodes
#integer value 1 or 3
#NOTE: Production clusters require 3 control plane nodes
replicas: 3
#describe the cluster worker nodes
workers:
#specifies parameters for a set of worker nodes in the topology
machineDeployments:
#node pool class used to create the set of worker nodes
- class: node-pool
#user-defined name of the node pool; string
name: node-pool-1
#number of worker nodes in this pool; integer 0 or more
replicas: 6
#customize the cluster
variables:
#virtual machine class type and size for cluster nodes
- name: vmClass
value: guaranteed-medium
#persistent storage class for cluster nodes
- name: storageClass
value: vks-storage-policy
# default storageclass for control plane and worker node pools
- name: defaultStorageClass
value: vks-storage-policy
```
* Provision the cluster by running the following command
``kubectl apply -f cluster.yaml``.
* Monitor the provisioning of the cluster.
```shell
$ kubectl get cluster -n vks-cluster-ns
NAMESPACE NAME CLUSTERCLASS PHASE AGE VERSION
vks-cluster-ns vks-conformance builtin-generic-v3.3.0 Provisioned 13m v1.32.0+vmware.2-fips
```
* When the cluster Phase changes to Provisioned state, log in to the cluster using the vSphere Plugin for kubectl.
```shell
kubectl vsphere login --server=SUPERVISOR-CONTROL-PLANE-IP-ADDRESS-or-FQDN \
--vsphere-username USERNAME \
--tanzu-kubernetes-cluster-name vks-conformance\
--tanzu-kubernetes-cluster-namespace vks-cluster-ns
```
* Switch to the newly created cluster context.
``kubectl config use-context vks-conformance``.


## Deploy Sonobuoy Conformance test

[Download](https://github.com/vmware-tanzu/sonobuoy) Sonobuoy binary release and follow the conformance suite instructions to run sonobuoy test.


### Run Sonobuoy e2e
```
./sonobuoy run --mode=certified-conformance
results=$(./sonobuoy retrieve)
mkdir ./results
tar xzf $results -C ./results
./sonobuoy e2e ${results}
```
Result are available in `results/plugins/e2e/results/global` directory.
14 changes: 14 additions & 0 deletions v1.32/vmware-vsphere-kubernetes-service/e2e.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
I0111 14:33:03.295061 25 e2e.go:109] Starting e2e run "5ef89b5d-7c8f-48a8-97ab-5808d9b59577" on Ginkgo node 1
Running Suite: Kubernetes e2e suite - /usr/local/bin
====================================================
Random Seed: 1736605982 - will randomize all specs

Will run 411 of 6622 specs
SSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSS•SS•SSSSSSSSSSSSSSSSSSSSS•S•SSSSSSSSS••SSSS•SSSS•SSS•SSSSSSSS•SSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSS•SSSSSSSSSSSSSSSSS•SSSSSSSSSSSS•SSSSSSSSSSSSS•SSSSSS••SSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSS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SSSSSS•S•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SS••SSSSSSSSSSSSSS•SSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSS•SSSSSSS•SSSSSSSSSSSSSS•SSSSSSSSSSS•SSSSSSSSSSSSS•SSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSS•SSSSSSSSSSS•SSS•SSSS•SSS•SSSSSSS•SSSS•SSSSS•SSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSS•SSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSS•SSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SS••SSSSSSSSSSSSSS•SSSSSS•SSSSS•S•SSSSSSSSSSS•SSS•SSSSS•SSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSS•SSSSSSSSSSSSSSSSS•••SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSS•SS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSS•SSS•SSSSSSSSSS•SS•SSS•SSS•SSSSSS•SSSSSSSSSSSSS•SS•SSSSSSSSSSSSSSSSSSSSSSSSS•SSSSS•SS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSS•SSSSSSSSS•SSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSS•SSSS•SSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSS•SSSSSS•SSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSS•SSS•SSSS•SSSSSSSSSSS•SSSSS•SSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSS•SSSSSSSSSSSSS•SSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSS•SSSSSSSSS•SSSSSSSSS•SSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSS•SSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSS•SSS•SSSSSSSSSSSSSSSS•SSSSS•SSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSS•SSSSSSS•S•SSSSS•SSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSS•S•SSSSSSSSSSSSSS•SSSSSSSSSSSS•S•SS•S•SSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSS••SSS•SSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSS••SSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSS••SSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SS•SSSSSSSSSS•SSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSS•SSSSSSSSSSSS•SSS•SSSSSSSSSSSSS•SSSSSSSS•SSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSS•SSSSSSSSS•SSSSSS•SSSSS•SS••SSSSSSSSSS•SS•SSSSSSSSSSSSSSSSSSSSS•SSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSS•SSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSS•SSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSS•SS•SSSS•SSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSS•SSSSSSSSSSSS•SSSSSSSSSSSS•SSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSS•SSSSSSSSSSSS•SSSSSSS•SS•SSSSSSSSSSSSS••SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSS•SSSSSSSS•SSSSSSSSSSS•SSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSS•SSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSS•S•SSS•SSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSS•SSSSSSS•SSS•SSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSS•SS•SSS•S•SSSSS•S•SSSSSSSSSSSSSSSSSS•SS•SSSSSSSSSSSSS•SSS•SSSSS•SSSSSSSSSSSSSSSSSSSSSSS•SS•SSSSS•SSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSS•S••SS••SSSSSSSSSS•SSSSSS•S•SSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSS•SSS•SSS•SSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSS•S•S•SS•SSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSS•SSSSSS•SSS•SSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSS•SSSSSSSS•S•SSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSS•SSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSS•SSS•SSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSS•S•SSSSSSSSSS•S•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS••SSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSS•SSSSSSSSSSSSSSSSSSS•SSSSS•SSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSS•SSSSS•SSSSSSSS•SSSSSSSSSSSSSS•SSSSSSS•SSSSSSSSSSSSSSSS•SSSSSSSSSSSS•SSSSSSSS•SSSSSS•SSSSSSS•S••SSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSS•SSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSS•SSS•SSSSSSSSSSSSS•SSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSS•SSSSS••S•SSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSS••SSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSS•SSS•SSSSSSSS•SSSSSSSSSSSSSS•SSS•SSSS•SSSS•SSSSSS•SSSSSSSSSSS•SSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSS•SSSSSSSSSSSSSSSS•SSSSSSSSSSS•SSS•SSS•SSSS•SSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS•SSSSSSSSSSSSS•SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS

Ran 411 of 6622 Specs in 6471.284 seconds
SUCCESS! -- 411 Passed | 0 Failed | 0 Pending | 6211 Skipped
PASS

Ginkgo ran 1 suite in 1h47m52.596795055s
Test Suite Passed
Loading