rename ip application name

This commit is contained in:
Mans Ziesel 2024-09-19 20:00:53 +02:00
parent c52798e957
commit f7b1f2f3ac
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: ip-mziesel-nl
spec:
replicas: 3
revisionHistoryLimit: 3
selector:
matchLabels:
app: ip-mziesel-nl
template:
metadata:
labels:
app: ip-mziesel-nl
spec:
containers:
- image: git.mziesel.nl/mans/ip-svc:2024-06-03
name: ip-mziesel-nl
ports:
- containerPort: 8080

View File

@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: ip-mziesel-nl
spec:
type: NodePort
ports:
- port: 8080
targetPort: 8080
nodePort: 31339
selector:
app: ip-mziesel-nl