constellation/.github/actions/e2e_lb/lb.yml
Fabian Kammel 83f09e1058
implement e2e test lb (#815)
* implement e2e test lb
* add lb e2e test to weekly schedule
Signed-off-by: Fabian Kammel <fk@edgeless.systems>
2022-12-21 10:49:21 +01:00

38 lines
548 B
YAML

apiVersion: v1
kind: Service
metadata:
name: whoami
namespace: lb-test
spec:
selector:
app: whoami
ports:
- port: 8080
targetPort: 80
type: LoadBalancer
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: whoami
namespace: lb-test
labels:
app: whoami
spec:
replicas: 3
selector:
matchLabels:
app: whoami
template:
metadata:
labels:
app: whoami
spec:
containers:
- name: whoami
image: traefik/whoami:v1.8.7
ports:
- containerPort: 80