https://github.com/guilhem/champagne
Kubernetes End-to-End testing
https://github.com/guilhem/champagne
e2e-tests kubernetes testing
Last synced: about 1 year ago
JSON representation
Kubernetes End-to-End testing
- Host: GitHub
- URL: https://github.com/guilhem/champagne
- Owner: guilhem
- Created: 2019-10-22T16:27:15.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-22T16:39:41.000Z (over 6 years ago)
- Last Synced: 2025-04-08T13:51:00.113Z (about 1 year ago)
- Topics: e2e-tests, kubernetes, testing
- Size: 84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Champagne 🍾

Kubernetes End-to-End testing
## Goal
Before going into production, you may want to validate all your deployment (services, pods, ingress…)

## Features
Detect errors for:
- pod
- imagePullError
- too long pending
- restarting too quickly
- Connectivity
- Services
- Ingresses
## Getting started
Follow these instructions to get _champagne_ up and running.
### Prerequisites
- a Kubernetes cluster
- _kubeconfig_ configured
### Example
```
$ champagne test
```
## Configuration
### Services
By default, _champagne_ do a basic TCP check on service exposed port.
### Ingress
By default, _champagne_ check HTTP code return by exposed Ingresses
You can customized it with annotations:
```yaml
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
name: test-ingress
annotations:
champagne.barpilot.io/error-codes: "5xx,404"
champagne.barpilot.io/timeout: 100s
spec:
rules:
- http:
paths:
- path: /testpath
backend:
serviceName: test
servicePort: 80
```