add mandelmap application
This commit is contained in:
parent
3cae5e3b6d
commit
8f0b12acdb
60
30-applications/mandelmap.yaml
Normal file
60
30-applications/mandelmap.yaml
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user