coreos/ktestutil

Name: ktestutil

Owner: CoreOS

Description: Utilities for testing Kubernetes installations

Created: 2017-06-16 21:59:27.0

Updated: 2018-03-20 16:04:52.0

Pushed: 2018-01-16 16:31:44.0

Homepage:

Size: 62

Language: Go

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Kubernetes test utilities (aka ktestutil)

Motivation

CoreOS develops a lot of Kubernetes related projects, including bootkube, installer, operators, check pointers.

These projects needs to be tested (or checked) against the Kubernetes API. For example, bootkube needs to verify the Kubernetes cluster is bootstrapped as expected by checking control panel pod manifests; etcd operators needs to verify the etcd clustered it creates are deployed correctly as Kubernetes pods. Some of the projects need to be tested against a faulty Kubernetes cluster. For example, bootkube wants to ensure the multi-node cluster it creates can tolerate a minor disaster; etcd-operator wants to ensure it can handle pod failures. When test fails, we also want to have a easy way to retrieve all relevant logs. We want to ship the plain logs to a cloud storage, so that we can analysis the failure afterwards.

Assumptions

We make some assumptions on the environment to make it easier for the testing utilities to interact with Kubernetes clusters and the machines? OS.

Environment
Feature Requirements

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.