9 Commits

7 changed files with 210 additions and 3 deletions
+25
View File
@@ -0,0 +1,25 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: pairdrop
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: cluster.fun
destination:
namespace: pairdrop
name: cluster-fun (v2)
source:
path: manifests/pairdrop
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
targetRevision: HEAD
syncPolicy:
automated: {}
syncOptions:
- CreateNamespace=true
ignoreDifferences:
- kind: Secret
jsonPointers:
- /data
+25
View File
@@ -0,0 +1,25 @@
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: vert
namespace: argocd
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: cluster.fun
destination:
namespace: vert
name: cluster-fun (v2)
source:
path: manifests/vert
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
targetRevision: HEAD
syncPolicy:
automated: {}
syncOptions:
- CreateNamespace=true
ignoreDifferences:
- kind: Secret
jsonPointers:
- /data
+1 -1
View File
@@ -38,7 +38,7 @@ spec:
operator: "Exists"
automountServiceAccountToken: false
containers:
- image: ghcr.io/google/cadvisor:0.56.2
- image: ghcr.io/google/cadvisor:v0.57.0
name: cadvisor
ports:
- containerPort: 8080
+1 -1
View File
@@ -216,7 +216,7 @@ spec:
serviceAccountName: promtail
containers:
- name: promtail
image: "grafana/promtail:2.9.17"
image: "grafana/promtail:3.6.11"
imagePullPolicy: IfNotPresent
args:
- "-config.file=/etc/promtail/promtail.yaml"
+1 -1
View File
@@ -217,7 +217,7 @@ spec:
serviceAccountName: prometheus-server
containers:
- name: vmagent
image: "victoriametrics/vmagent:v1.142.0"
image: "victoriametrics/vmagent:v1.143.0"
imagePullPolicy: "IfNotPresent"
args:
- -remoteWrite.url=http://vmcluster.auth-proxy.svc/insert/0/prometheus/
+88
View File
@@ -0,0 +1,88 @@
apiVersion: v1
kind: Service
metadata:
name: pairdrop
namespace: pairdrop
spec:
type: ClusterIP
ports:
- port: 80
targetPort: web
name: web
selector:
app: pairdrop
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: pairdrop
namespace: pairdrop
spec:
replicas: 1
selector:
matchLabels:
app: pairdrop
template:
metadata:
labels:
app: pairdrop
spec:
imagePullSecrets:
- name: docker-config
priorityClassName: low
containers:
- name: web
image: ghcr.io/schlagmichdoch/pairdrop:v1.11.2
imagePullPolicy: IfNotPresent
ports:
- containerPort: 3000
name: web
env:
- name: RATE_LIMIT
value: "1"
- name: DONATION_BUTTON_ACTIVE
value: "false"
- name: TWITTER_BUTTON_ACTIVE
value: "false"
- name: MASTODON_BUTTON_ACTIVE
value: "false"
- name: BLUESKY_BUTTON_ACTIVE
value: "false"
- name: PRIVACYPOLICY_BUTTON_ACTIVE
value: "false"
resources:
limits:
memory: 100Mi
requests:
memory: 100Mi
livenessProbe:
httpGet:
path: /
port: web
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: pairdrop
namespace: pairdrop
annotations:
cert-manager.io/cluster-issuer: letsencrypt
ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
ingressClassName: nginx
tls:
- hosts:
- drop.cluster.fun
secretName: pairdrop-ingress
rules:
- host: drop.cluster.fun
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: pairdrop
port:
number: 80
+69
View File
@@ -0,0 +1,69 @@
apiVersion: v1
kind: Service
metadata:
name: vert
namespace: vert
spec:
type: ClusterIP
ports:
- port: 80
targetPort: web
name: web
selector:
app: vert
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: vert
namespace: vert
spec:
replicas: 1
selector:
matchLabels:
app: vert
template:
metadata:
labels:
app: vert
spec:
containers:
- name: web
image: ghcr.io/vert-sh/vert:sha-438f91a
imagePullPolicy: IfNotPresent
ports:
- containerPort: 80
name: web
resources:
limits:
memory: 200Mi
requests:
memory: 200Mi
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: vert
namespace: vert
annotations:
cert-manager.io/cluster-issuer: letsencrypt
ingress.kubernetes.io/ssl-redirect: "true"
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
ingressClassName: nginx
tls:
- hosts:
- vert.cluster.fun
secretName: vert-ingress
rules:
- host: vert.cluster.fun
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: vert
port:
number: 80