cv, time to rest

This commit is contained in:
Nathan Rashleigh committed 2024-01-20 23:22:20 +11:00
1 parent 862060dcf5
commit 2909a422ce
6 files changed
+156 -24

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ntr-cv
annotations:
cert-manager.io/issuer: "letsencrypt-prod"
spec:
ingressClassName: nginx
tls:
- hosts:
- strix.systems
secretName: strix-systems-tls
rules:
- host: strix.systems
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: ntr-cv
port:
number: 8080
+44
View File
@@ -0,0 +1,44 @@
---
# -----------------------------------------------------------------------
# DEPLOYMENTS
# -----------------------------------------------------------------------
apiVersion: apps/v1
kind: Deployment
metadata:
name: ntr-cv
spec:
replicas: 1
selector:
matchLabels:
app: ntr-cv
template:
metadata:
labels:
app: ntr-cv
spec:
containers:
- name: ntr-cv
image: registry.strix.systems/ntr-cv
imagePullPolicy: IfNotPresent
ports:
- containerPort: 8080
---
# -----------------------------------------------------------------------
# SERVICES
# -----------------------------------------------------------------------
---
apiVersion: v1
kind: Service
metadata:
name: ntr-cv
spec:
selector:
app: ntr-cv
ports:
- port: 8080