kubetest2-dkp-aws

command module
v0.0.0-...-dbe1d01 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

README

kubetest2-dkp-aws

kubetest2-dkp-aws is a proof of concept to execute Kubernetes Conformance tests on AWS clusters deployed using DKP. It implements a kubetest2-DEPLOYER to manage the lifecycle of a Kubernetes cluster for tests.

Requirements

  • dkp CLI
  • Configured AWS credentials

Install

go install sigs.k8s.io/kubetest2/...@latest
go install sigs.k8s.io/kubetest2/kubetest2-tester-ginkgo@latest
go install github.com/rodrigodelmonte/kubetest2-dkp-aws@latest

Running Kubernetes Conformance Tests

CLUSTER_NAME=kubetest2-rhel-88
AMI_ID=ami-05729346d7b1ecXXX # Built with https://github.com/mesosphere/konvoy-image-builder/
KUBERNETES_VERSION=1.27.5
kubetest2 dkp-aws \
    --up \
    --down \
    --cluster-name=${CLUSTER_NAME} \
    --ami=${AMI_ID} \
    --kubernetes-version=${KUBERNETES_VERSION} \
    --test=ginkgo \
    --  \
    --parallel 8 \
    --flake-attempts 2 \
    --test-package-version v${KUBERNETES_VERSION} \
    --focus-regex='\[Conformance\]' | tee e2e.log

References

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
pkg
deployer
Package deployer implements the kubetest2 kind deployer
Package deployer implements the kubetest2 kind deployer

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL