From 8f0b12acdb45c37986b929bf15f992cfa199a639 Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Fri, 22 Dec 2023 19:54:59 -0700 Subject: [PATCH] add mandelmap application --- 30-applications/mandelmap.yaml | 60 ++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 30-applications/mandelmap.yaml diff --git a/30-applications/mandelmap.yaml b/30-applications/mandelmap.yaml new file mode 100644 index 0000000..45f4d03 --- /dev/null +++ b/30-applications/mandelmap.yaml @@ -0,0 +1,60 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app: mandelmapper + name: mandelmapper +spec: + replicas: 3 + selector: + matchLabels: + app: mandelmapper + strategy: {} + template: + metadata: + labels: + app: mandelmapper + spec: + containers: + - image: registry.deadbeef.codes/mandelmapper + name: mandelmapper + resources: + requests: + memory: "24Mi" + cpu: "50m" +status: {} +--- +apiVersion: v1 +kind: Service +metadata: + labels: + app: mandelmapper + name: mandelmapper +spec: + type: NodePort + ports: + - port: 6161 + protocol: TCP + targetPort: 6161 + selector: + app: mandelmapper +status: + loadBalancer: {} +--- +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: ingress-mandelmapper +spec: + ingressClassName: nginx + rules: + - host: mandelmap.home.stevenpolley.net + http: + paths: + - path: / + pathType: Prefix + backend: + service: + name: mandelmapper + port: + number: 6161 \ No newline at end of file