diff --git a/ip-mziesel-nl/ip-mziesel-nl-deployment.yaml b/ip-mziesel-nl/ip-mziesel-nl-deployment.yaml new file mode 100644 index 0000000..9ef964f --- /dev/null +++ b/ip-mziesel-nl/ip-mziesel-nl-deployment.yaml @@ -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 diff --git a/ip-mziesel-nl/ip-mziesel-nl-svc.yaml b/ip-mziesel-nl/ip-mziesel-nl-svc.yaml new file mode 100644 index 0000000..8d38f03 --- /dev/null +++ b/ip-mziesel-nl/ip-mziesel-nl-svc.yaml @@ -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