mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-31 18:36:13 -05:00
83f09e1058
* implement e2e test lb * add lb e2e test to weekly schedule Signed-off-by: Fabian Kammel <fk@edgeless.systems>
38 lines
548 B
YAML
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
|