ModeratorElection App added to deployment

This commit is contained in:
Mirco 2024-06-26 12:14:14 +02:00
parent e7c85e2bb0
commit aec1e41b98
2 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,23 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: meapp-fullstack
name: meapp-fullstack
spec:
strategy:
type: Recreate
selector:
matchLabels:
app: meapp-fullstack
template:
metadata:
labels:
app: meapp-fullstack
spec:
containers:
- name: meapp-fullstack
image: domaindrivenarchitecture/moderator-election-vaadin_fullstack
env:
- name: MEMBERNAMES
value: Micha,Ansgar,Clemens,Mattis,Eric,Mirco

View file

@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
labels:
service: meapp-fullstack
name: meapp-fullstack
spec:
ports:
- name: meapp-fullstack
port: 8080
targetPort: 80
selector:
app: meapp-fullstack