Add lingo

This commit is contained in:
Ruben Hensen
2026-02-02 19:26:22 +01:00
parent 41ab5657dc
commit 7217931316
4 changed files with 90 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: lingo
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: https://github.com/rubenhensen/k8scd.git
targetRevision: HEAD
path: lingo
destination:
server: https://kubernetes.default.svc
namespace: lingo
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
selfHeal: true
+32
View File
@@ -0,0 +1,32 @@
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: lingo
name: lingo
spec:
replicas: 1
selector:
matchLabels:
app: lingo
strategy:
type: Recreate
template:
metadata:
labels:
app: lingo
spec:
containers:
- image: rubenhensen/lingo:latest
name: lingo
ports:
- containerPort: 8001
protocol: TCP
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "500m"
restartPolicy: Always
+24
View File
@@ -0,0 +1,24 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: lingo-ingress
annotations:
cert-manager.io/cluster-issuer: prod-cluster-issuer
nginx.ingress.kubernetes.io/ssl-passthrough: "false"
spec:
ingressClassName: nginx
rules:
- host: lingo.hensen.io
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: lingo
port:
number: 8001
tls:
- secretName: letsencrypt-prod
hosts:
- lingo.hensen.io
+13
View File
@@ -0,0 +1,13 @@
apiVersion: v1
kind: Service
metadata:
labels:
app: lingo
name: lingo
spec:
ports:
- name: "8001"
port: 8001
targetPort: 8001
selector:
app: lingo