kubtest

module
v0.5.41 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: MIT

README

██   ██ ██    ██ ██████  ████████ ███████ ███████ ████████ 
██  ██  ██    ██ ██   ██    ██    ██      ██         ██    
█████   ██    ██ ██████     ██    █████   ███████    ██    
██  ██  ██    ██ ██   ██    ██    ██           ██    ██    
██   ██  ██████  ██████     ██    ███████ ███████    ██    
                                 /kʌb tɛst/ by Kubeshop

Welcome to Kubtest - your friendly Kubernetes testing framework!

Kubtest decouples test artefacts and execution from CI/CD tooling; tests are meant to be part of your clusters state and can be executed as needed:

  • Manually via kubectl cli
  • Externally triggered via API (CI, external tooling, etc)
  • Automatically on deployment of annotated/labeled services/pods/etc (WIP)

Main Kubtest components are:

  • kubectl plugin - simple - installed w/o 3rd party repositories (like Krew etc), communicates with
  • API Server - work orchestrator, runs executors, gather execution results
  • CRDs Operator - watch Kubtest CR, handles changes communicates with API Server
  • Executors - runs tests defined for specific runner
  • Results DB - for centralized test results mgmt

Kubtest attempts to:

  • Avoid vendor lock-in for test orchestration and execution in CI/CD pipelines
  • Make it easy to run any kind of tests - functional, load/performance, security, compliance, etc. - in your clusters, without having to wrap them in docker-images or providing network access
  • Make it possible to decouple test execution from build processes; engineers should be able to run specific tests whenever needed
  • Centralize all test results in a consistent format for "actionable QA analytics"
  • Provide a modular architecture for adding new types of test scripts and executors

Getting Started

Check out the Installation and Getting Started guides to set up Kubtest and run your first tests!

Discord

Don't hesitate to say hi to the team and ask questions on our Discord server.

Documentation

Is available at https://kubeshop.github.io/kubtest

Contribution to project

Go to contribution document to read more how can you help us 🔥

Directories

Path Synopsis
cmd
api-server command
kubectl-kubtest command
tools command
internal
pkg
api/v1/kubtest
* Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * kubtest * * Efficient testing of k8s applications mandates a k8s native approach to test mgmt/definition/execution - kubtest provides a “quality control plane” that natively integrates testing activities into k8s development and operational workflows * * API version: 0.0.5 * Contact: api@kubtest.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * kubtest * * Efficient testing of k8s applications mandates a k8s native approach to test mgmt/definition/execution - kubtest provides a “quality control plane” that natively integrates testing activities into k8s development and operational workflows * * API version: 0.0.5 * Contact: api@kubtest.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * kubtest * * Efficient testing of k8s applications mandates a k8s native approach to test mgmt/definition/execution - kubtest provides a “quality control plane” that natively integrates testing activities into k8s development and operational workflows * * API version: 0.0.1 * Contact: api@kubtest.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
* Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * kubtest * * Efficient testing of k8s applications mandates a k8s native approach to test mgmt/definition/execution - kubtest provides a “quality control plane” that natively integrates testing activities into k8s development and operational workflows * * API version: 0.0.5 * Contact: api@kubtest.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * kubtest * * Efficient testing of k8s applications mandates a k8s native approach to test mgmt/definition/execution - kubtest provides a “quality control plane” that natively integrates testing activities into k8s development and operational workflows * * API version: 0.0.5 * Contact: api@kubtest.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * kubtest * * Efficient testing of k8s applications mandates a k8s native approach to test mgmt/definition/execution - kubtest provides a “quality control plane” that natively integrates testing activities into k8s development and operational workflows * * API version: 0.0.1 * Contact: api@kubtest.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git) * Kubtest API * * Kubtest provides a Kubernetes-native framework for test definition, execution and results * * API version: 1.0.0 * Contact: kubtest@kubshop.io * Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
git
TODO consider checkout by some go-git library to limit external deps in docker container in time writing code "github.com/src-d/go-git" didn't have any filter options "github.com/go-git/go-git/v5" also
TODO consider checkout by some go-git library to limit external deps in docker container in time writing code "github.com/src-d/go-git" didn't have any filter options "github.com/go-git/go-git/v5" also
log
tmp
ui
simple ui - TODO use something more sophisticated :)
simple ui - TODO use something more sophisticated :)
test

Jump to

Keyboard shortcuts

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