mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-10-01 01:36:09 -04:00
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
|