Compare commits
43
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f1118fa735 | ||
|
|
99da6a94da | ||
|
|
5b8167d568 | ||
|
|
b0263911f9 | ||
|
|
909de955c6 | ||
|
|
6f5f2c997e | ||
|
|
422c275b62 | ||
|
|
2700c47e1f | ||
|
|
60572f9f52 | ||
|
|
4dad44b146 | ||
|
|
03f60acceb | ||
|
|
34ad0c754a | ||
|
|
463e0c78c0 | ||
|
|
21fa72e26a | ||
|
|
e92bfb1086 | ||
|
|
ed5ddbe532 | ||
|
|
2bcc221584 | ||
|
|
febc2ebace | ||
|
|
089b89dbbe | ||
|
|
d3e473e81d | ||
|
|
8d2665f312 | ||
|
|
5d07bf59b3 | ||
|
|
2ec6e58065 | ||
|
|
4703cbcbf4 | ||
|
|
bfc5513a40 | ||
|
|
ad7e75c017 | ||
|
|
c9a7a8a7d1 | ||
|
|
038cc4ae6f | ||
|
|
cef891d4c1 | ||
|
|
721d9c5198
|
||
|
|
867370aaac
|
||
|
|
85838093eb
|
||
|
|
b29a34008f
|
||
|
|
0fcd9d60b6
|
||
|
|
3435e8dfc0
|
||
|
|
20aeaf3f44
|
||
|
|
bb7ebb00d6
|
||
|
|
9bf10d8fdd | ||
|
|
6e944e191e | ||
|
|
b4fd2eeec6 | ||
|
|
8a3b4712ce | ||
|
|
5f275f32c1 | ||
|
|
8c318060ec |
@@ -0,0 +1,25 @@
|
|||||||
|
apiVersion: argoproj.io/v1alpha1
|
||||||
|
kind: Application
|
||||||
|
metadata:
|
||||||
|
name: airtrail
|
||||||
|
namespace: argocd
|
||||||
|
finalizers:
|
||||||
|
- resources-finalizer.argocd.argoproj.io
|
||||||
|
spec:
|
||||||
|
project: cluster.fun
|
||||||
|
destination:
|
||||||
|
namespace: airtrail
|
||||||
|
name: cluster-fun (v2)
|
||||||
|
source:
|
||||||
|
path: manifests/airtrail
|
||||||
|
repoURL: "https://git.cluster.fun/AverageMarcus/cluster.fun.git"
|
||||||
|
targetRevision: HEAD
|
||||||
|
syncPolicy:
|
||||||
|
automated: {}
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
ignoreDifferences:
|
||||||
|
- kind: Secret
|
||||||
|
jsonPointers:
|
||||||
|
- /data
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@ spec:
|
|||||||
name: cluster-fun (v2)
|
name: cluster-fun (v2)
|
||||||
source:
|
source:
|
||||||
repoURL: 'https://charts.jetstack.io'
|
repoURL: 'https://charts.jetstack.io'
|
||||||
targetRevision: v1.20.3
|
targetRevision: v1.21.0
|
||||||
chart: cert-manager
|
chart: cert-manager
|
||||||
helm:
|
helm:
|
||||||
version: v3
|
version: v3
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ spec:
|
|||||||
name: cluster-fun (v2)
|
name: cluster-fun (v2)
|
||||||
source:
|
source:
|
||||||
repoURL: 'https://stakater.github.io/stakater-charts'
|
repoURL: 'https://stakater.github.io/stakater-charts'
|
||||||
targetRevision: 2.2.12
|
targetRevision: 2.2.14
|
||||||
chart: reloader
|
chart: reloader
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated: {}
|
automated: {}
|
||||||
|
|||||||
@@ -0,0 +1,145 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Secret
|
||||||
|
metadata:
|
||||||
|
name: airtrail
|
||||||
|
namespace: airtrail
|
||||||
|
labels:
|
||||||
|
app: airtrail
|
||||||
|
app.kubernetes.io/name: airtrail
|
||||||
|
annotations:
|
||||||
|
kube-1password: 2322tcm3p5v6ql7oy2efrn4jse
|
||||||
|
kube-1password/vault: Kubernetes
|
||||||
|
kube-1password/secret-text-parse: "true"
|
||||||
|
type: Opaque
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: airtrail
|
||||||
|
namespace: airtrail
|
||||||
|
labels:
|
||||||
|
app: airtrail
|
||||||
|
app.kubernetes.io/name: airtrail
|
||||||
|
annotations:
|
||||||
|
reloader.stakater.com/match: "true"
|
||||||
|
data:
|
||||||
|
ORIGIN: https://airtrail.cluster.fun
|
||||||
|
UPLOAD_LOCATION: /app/uploads
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: airtrail
|
||||||
|
namespace: airtrail
|
||||||
|
labels:
|
||||||
|
app: airtrail
|
||||||
|
app.kubernetes.io/name: airtrail
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
strategy:
|
||||||
|
type: Recreate
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: airtrail
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: airtrail
|
||||||
|
app.kubernetes.io/name: airtrail
|
||||||
|
spec:
|
||||||
|
securityContext:
|
||||||
|
runAsUser: 1000
|
||||||
|
runAsGroup: 1000
|
||||||
|
fsGroup: 1000
|
||||||
|
containers:
|
||||||
|
- name: airtrail
|
||||||
|
image: johly/airtrail:v3.11.1
|
||||||
|
imagePullPolicy: IfNotPresent
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: airtrail
|
||||||
|
- secretRef:
|
||||||
|
name: airtrail
|
||||||
|
ports:
|
||||||
|
- containerPort: 3000
|
||||||
|
name: web
|
||||||
|
volumeMounts:
|
||||||
|
- mountPath: /app/uploads
|
||||||
|
name: uploads
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /api/ping
|
||||||
|
port: 3000
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
periodSeconds: 30
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /api/ping
|
||||||
|
port: 3000
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
periodSeconds: 10
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
cpu: 100m
|
||||||
|
memory: 150Mi
|
||||||
|
limits:
|
||||||
|
cpu: 200m
|
||||||
|
memory: 300Mi
|
||||||
|
volumes:
|
||||||
|
- name: uploads
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: airtrail-uploads
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: airtrail
|
||||||
|
namespace: airtrail
|
||||||
|
labels:
|
||||||
|
app: airtrail
|
||||||
|
app.kubernetes.io/name: airtrail
|
||||||
|
spec:
|
||||||
|
type: ClusterIP
|
||||||
|
ports:
|
||||||
|
- port: 80
|
||||||
|
targetPort: web
|
||||||
|
name: web
|
||||||
|
selector:
|
||||||
|
app: airtrail
|
||||||
|
---
|
||||||
|
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: airtrail
|
||||||
|
namespace: airtrail
|
||||||
|
labels:
|
||||||
|
app: airtrail
|
||||||
|
app.kubernetes.io/name: airtrail
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt
|
||||||
|
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
||||||
|
nginx.ingress.kubernetes.io/client-body-buffer-size: 25m
|
||||||
|
nginx.ingress.kubernetes.io/proxy-connect-timeout: "300"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "300"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "300"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-next-upstream: "300"
|
||||||
|
nginx.ingress.kubernetes.io/proxy-next-upstream-timeout: "300"
|
||||||
|
spec:
|
||||||
|
ingressClassName: nginx
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- airtrail.cluster.fun
|
||||||
|
secretName: airtrail-ingress
|
||||||
|
rules:
|
||||||
|
- host: airtrail.cluster.fun
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: ImplementationSpecific
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: airtrail
|
||||||
|
port:
|
||||||
|
name: web
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
kind: PersistentVolumeClaim
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: airtrail-uploads
|
||||||
|
namespace: airtrail
|
||||||
|
spec:
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
storageClassName: sbs-default-retain
|
||||||
|
---
|
||||||
@@ -100,3 +100,20 @@ spec:
|
|||||||
app: internal-proxy
|
app: internal-proxy
|
||||||
type: ClusterIP
|
type: ClusterIP
|
||||||
---
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: ollama
|
||||||
|
namespace: auth-proxy
|
||||||
|
labels:
|
||||||
|
app: internal-proxy
|
||||||
|
spec:
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
port: 80
|
||||||
|
protocol: TCP
|
||||||
|
targetPort: 8080
|
||||||
|
selector:
|
||||||
|
app: internal-proxy
|
||||||
|
type: ClusterIP
|
||||||
|
---
|
||||||
|
|||||||
@@ -15,7 +15,9 @@ data:
|
|||||||
"loki-distributed.auth-proxy.svc": "loki-loki.cluster.local",
|
"loki-distributed.auth-proxy.svc": "loki-loki.cluster.local",
|
||||||
"loki-distributed.auth-proxy.svc:80": "loki-loki.cluster.local",
|
"loki-distributed.auth-proxy.svc:80": "loki-loki.cluster.local",
|
||||||
"hermes.auth-proxy.svc": "hermes.cluster.local",
|
"hermes.auth-proxy.svc": "hermes.cluster.local",
|
||||||
"hermes.auth-proxy.svc:80": "hermes.cluster.local"
|
"hermes.auth-proxy.svc:80": "hermes.cluster.local",
|
||||||
|
"ollama.auth-proxy.svc": "ollama.cluster.local",
|
||||||
|
"ollama.auth-proxy.svc:11434": "ollama.cluster.local"
|
||||||
}
|
}
|
||||||
---
|
---
|
||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
|
|||||||
@@ -27,6 +27,15 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: blog
|
app: blog
|
||||||
spec:
|
spec:
|
||||||
|
affinity:
|
||||||
|
podAntiAffinity:
|
||||||
|
preferredDuringSchedulingIgnoredDuringExecution:
|
||||||
|
- weight: 100
|
||||||
|
podAffinityTerm:
|
||||||
|
labelSelector:
|
||||||
|
matchLabels:
|
||||||
|
app: blog
|
||||||
|
topologyKey: kubernetes.io/hostname
|
||||||
containers:
|
containers:
|
||||||
- name: web
|
- name: web
|
||||||
image: rg.fr-par.scw.cloud/averagemarcus/blog:latest
|
image: rg.fr-par.scw.cloud/averagemarcus/blog:latest
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ spec:
|
|||||||
priorityClassName: critical
|
priorityClassName: critical
|
||||||
containers:
|
containers:
|
||||||
- name: git
|
- name: git
|
||||||
image: gitea/gitea:1.26.4
|
image: gitea/gitea:1.27.0
|
||||||
env:
|
env:
|
||||||
- name: APP_NAME
|
- name: APP_NAME
|
||||||
value: "Git"
|
value: "Git"
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ spec:
|
|||||||
operator: "Exists"
|
operator: "Exists"
|
||||||
automountServiceAccountToken: false
|
automountServiceAccountToken: false
|
||||||
containers:
|
containers:
|
||||||
- image: ghcr.io/google/cadvisor:v0.60.3
|
- image: ghcr.io/google/cadvisor:v0.60.5
|
||||||
name: cadvisor
|
name: cadvisor
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
|
|||||||
@@ -78,7 +78,7 @@ spec:
|
|||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
containers:
|
containers:
|
||||||
- name: metrics
|
- name: metrics
|
||||||
image: ghcr.io/jmcgrath207/k8s-ephemeral-storage-metrics:1.19.2
|
image: ghcr.io/jmcgrath207/k8s-ephemeral-storage-metrics:1.21.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
ports:
|
ports:
|
||||||
- name: metrics
|
- name: metrics
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ spec:
|
|||||||
serviceAccountName: prometheus-node-exporter
|
serviceAccountName: prometheus-node-exporter
|
||||||
containers:
|
containers:
|
||||||
- name: prometheus-node-exporter
|
- name: prometheus-node-exporter
|
||||||
image: "prom/node-exporter:v1.11.1"
|
image: "prom/node-exporter:v1.12.1"
|
||||||
imagePullPolicy: "IfNotPresent"
|
imagePullPolicy: "IfNotPresent"
|
||||||
args:
|
args:
|
||||||
- --path.procfs=/host/proc
|
- --path.procfs=/host/proc
|
||||||
|
|||||||
@@ -217,7 +217,7 @@ spec:
|
|||||||
serviceAccountName: prometheus-server
|
serviceAccountName: prometheus-server
|
||||||
containers:
|
containers:
|
||||||
- name: vmagent
|
- name: vmagent
|
||||||
image: "victoriametrics/vmagent:v1.146.0"
|
image: "victoriametrics/vmagent:v1.147.0"
|
||||||
imagePullPolicy: "IfNotPresent"
|
imagePullPolicy: "IfNotPresent"
|
||||||
args:
|
args:
|
||||||
- -remoteWrite.url=http://vmcluster.auth-proxy.svc/insert/0/prometheus/
|
- -remoteWrite.url=http://vmcluster.auth-proxy.svc/insert/0/prometheus/
|
||||||
|
|||||||
@@ -206,7 +206,7 @@ spec:
|
|||||||
priorityClassName: critical
|
priorityClassName: critical
|
||||||
containers:
|
containers:
|
||||||
- name: nextcloud
|
- name: nextcloud
|
||||||
image: "nextcloud:34.0.0-apache"
|
image: "nextcloud:34.0.1-apache"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: SQLITE_DATABASE
|
- name: SQLITE_DATABASE
|
||||||
@@ -340,7 +340,7 @@ spec:
|
|||||||
mountPath: /var/www/html/config/smtp.config.php
|
mountPath: /var/www/html/config/smtp.config.php
|
||||||
subPath: smtp.config.php
|
subPath: smtp.config.php
|
||||||
- name: cron
|
- name: cron
|
||||||
image: "nextcloud:34.0.0-apache"
|
image: "nextcloud:34.0.1-apache"
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command:
|
command:
|
||||||
- /cron.sh
|
- /cron.sh
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ spec:
|
|||||||
priorityClassName: critical
|
priorityClassName: critical
|
||||||
containers:
|
containers:
|
||||||
- name: outline
|
- name: outline
|
||||||
image: outlinewiki/outline:1.8.1
|
image: outlinewiki/outline:1.9.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
env:
|
env:
|
||||||
- name: ALLOWED_DOMAINS
|
- name: ALLOWED_DOMAINS
|
||||||
|
|||||||
@@ -45,7 +45,7 @@ spec:
|
|||||||
- --entrypoints.websecure.http.tls=true
|
- --entrypoints.websecure.http.tls=true
|
||||||
- --entrypoints.web.http.redirections.entrypoint.to=websecure
|
- --entrypoints.web.http.redirections.entrypoint.to=websecure
|
||||||
- --entrypoints.web.http.redirections.entrypoint.scheme=https
|
- --entrypoints.web.http.redirections.entrypoint.scheme=https
|
||||||
image: rancher/mirrored-library-traefik:2.11.42
|
image: rancher/mirrored-library-traefik:2.11.50
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
failureThreshold: 3
|
failureThreshold: 3
|
||||||
|
|||||||
@@ -58,7 +58,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: trek
|
- name: trek
|
||||||
image: mauriceboe/trek:3.1.3
|
image: mauriceboe/trek:3.3.0
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
envFrom:
|
envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
@@ -87,11 +87,11 @@ spec:
|
|||||||
periodSeconds: 10
|
periodSeconds: 10
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 100m
|
cpu: 300m
|
||||||
memory: 256Mi
|
memory: 400Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 500m
|
cpu: 700m
|
||||||
memory: 512Mi
|
memory: 800Mi
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: data
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
|
|||||||
Reference in New Issue
Block a user