Kubernetes End-to-End testing
Kubernetes End-to-End testing
Before going into production, you may want to validate all your deployment (services, pods, ingress…)
Detect errors for:
Follow these instructions to get champagne up and running.
$ champagne test
By default, champagne do a basic TCP check on service exposed port.
By default, champagne check HTTP code return by exposed Ingresses
You can customized it with annotations:
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