Compare commits

...

14 Commits

Author SHA1 Message Date
ab a094d3b925 Added Gitea captcha
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 5s
Check with kubeconform / lint (push) Successful in 5s
Auto-update README / Generate README and Create MR (push) Successful in 5s
2026-06-18 02:32:33 +01:00
ab 9508a8483c Added Gitea captcha
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 6s
Check with kubeconform / lint (push) Successful in 5s
Auto-update README / Generate README and Create MR (push) Successful in 5s
2026-06-18 02:30:49 +01:00
ab c5919259f6 Added Gitea captcha
Check with kubeconform / lint (push) Successful in 14s
Auto-update README / Generate README and Create MR (push) Failing after 2m57s
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Failing after 16m35s
2026-06-18 02:27:24 +01:00
Ultradesu 83de150f87 Fix amnezia iptables
Check with kubeconform / lint (push) Successful in 12s
Auto-update README / Generate README and Create MR (push) Failing after 10m47s
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Failing after 13m0s
2026-06-18 00:06:14 +01:00
Ultradesu 70d785769e Update longhorn tolerations
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 13s
Check with kubeconform / lint (push) Successful in 10s
Auto-update README / Generate README and Create MR (push) Successful in 10s
2026-06-17 15:27:17 +01:00
Ultradesu f129977993 Update longhorn
Check with kubeconform / lint (push) Successful in 10s
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Failing after 11m23s
Auto-update README / Generate README and Create MR (push) Failing after 14m14s
2026-06-17 15:02:52 +01:00
Ultradesu cf4c70075c N8N: Disable yacy
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 13s
Auto-update README / Generate README and Create MR (push) Failing after 10m15s
Check with kubeconform / lint (push) Failing after 11m22s
2026-06-17 14:51:47 +01:00
Ultradesu 2b979b5f43 Changed uk-desktop llm context window 2026-06-17 13:18:07 +01:00
Ultradesu dbecdb7069 Changed uk-desktop llama model
Check with kubeconform / lint (push) Successful in 10s
Auto-update README / Generate README and Create MR (push) Failing after 10m34s
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Failing after 12m48s
2026-06-17 13:11:28 +01:00
Ultradesu fb7dfbee57 Changed uk-desktop llama model
Check with kubeconform / lint (push) Failing after 11m16s
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Failing after 12m37s
Auto-update README / Generate README and Create MR (push) Failing after 15m12s
2026-06-17 12:58:09 +01:00
Ultradesu 6b5a0fc31f Added llamacpp for CUDA
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 2m44s
Check with kubeconform / lint (push) Successful in 9s
Auto-update README / Generate README and Create MR (push) Failing after 2m19s
2026-06-17 12:53:43 +01:00
Ultradesu 47adf8e718 Scaled up pasarguard panel
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Failing after 13m12s
Auto-update README / Generate README and Create MR (push) Failing after 13m13s
Check with kubeconform / lint (push) Failing after 16m59s
2026-06-17 10:39:39 +01:00
ab 54980ff18b Added UVICORN_PROXY_HEADERS=true for pasarguard
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 6s
Check with kubeconform / lint (push) Successful in 7s
Auto-update README / Generate README and Create MR (push) Successful in 5s
2026-06-17 01:24:11 +01:00
ab ccfa5df898 Update k8s/apps/pasarguard/deployment.yaml
Update Kubernetes Services Wiki / Generate and Update K8s Wiki (push) Successful in 8s
Check with kubeconform / lint (push) Successful in 7s
Auto-update README / Generate README and Create MR (push) Successful in 8s
2026-06-17 00:10:22 +00:00
11 changed files with 195 additions and 40 deletions
+17
View File
@@ -30,6 +30,21 @@ data:
fi fi
} }
delete_rule() {
local table_args=()
if [ "${1:-}" = "-t" ]; then
table_args=("$1" "$2")
shift 2
fi
local chain="$1"
shift
while iptables "${table_args[@]}" -D "${chain}" "$@" >/dev/null 2>&1; do
true
done
}
ensure_append_rule() { ensure_append_rule() {
local table_args=() local table_args=()
if [ "${1:-}" = "-t" ]; then if [ "${1:-}" = "-t" ]; then
@@ -56,6 +71,7 @@ data:
sysctl -w net.ipv4.ip_forward=1 sysctl -w net.ipv4.ip_forward=1
delete_rule INPUT -i tailscale0 -p udp -m comment --comment amneziawg-block-tailscale -j DROP
ensure_insert_rule INPUT -i "${EXT_IF}" -p udp --dport "${PORT}" -m comment --comment amneziawg-allow-external -j ACCEPT ensure_insert_rule INPUT -i "${EXT_IF}" -p udp --dport "${PORT}" -m comment --comment amneziawg-allow-external -j ACCEPT
ensure_insert_rule INPUT -i tailscale0 -p udp --dport "${PORT}" -m comment --comment amneziawg-block-tailscale -j DROP ensure_insert_rule INPUT -i tailscale0 -p udp --dport "${PORT}" -m comment --comment amneziawg-block-tailscale -j DROP
ensure_append_rule INPUT -i awg0 -m comment --comment amneziawg-awg-input -j ACCEPT ensure_append_rule INPUT -i awg0 -m comment --comment amneziawg-awg-input -j ACCEPT
@@ -100,6 +116,7 @@ data:
fi fi
delete_rule INPUT -i tailscale0 -p udp --dport "${PORT}" -m comment --comment amneziawg-block-tailscale -j DROP delete_rule INPUT -i tailscale0 -p udp --dport "${PORT}" -m comment --comment amneziawg-block-tailscale -j DROP
delete_rule INPUT -i tailscale0 -p udp -m comment --comment amneziawg-block-tailscale -j DROP
delete_rule INPUT -i awg0 -m comment --comment amneziawg-awg-input -j ACCEPT delete_rule INPUT -i awg0 -m comment --comment amneziawg-awg-input -j ACCEPT
delete_rule FORWARD -i awg0 -m comment --comment amneziawg-forward-in -j ACCEPT delete_rule FORWARD -i awg0 -m comment --comment amneziawg-forward-in -j ACCEPT
delete_rule FORWARD -o awg0 -m comment --comment amneziawg-forward-out -j ACCEPT delete_rule FORWARD -o awg0 -m comment --comment amneziawg-forward-out -j ACCEPT
+4 -4
View File
@@ -41,18 +41,18 @@ spec:
- name: GITEA__service__REGISTER_MANUAL_CONFIRM - name: GITEA__service__REGISTER_MANUAL_CONFIRM
value: "true" value: "true"
- name: GITEA__service__ENABLE_CAPTCHA - name: GITEA__service__ENABLE_CAPTCHA
value: "false"
- name: GITEA__service__REQUIRE_CAPTCHA_FOR_LOGIN
value: "true" value: "true"
- name: GITEA__service__REQUIRE_CAPTCHA_FOR_LOGIN
value: "false"
- name: GITEA__service__REQUIRE_EXTERNAL_REGISTRATION_CAPTCHA - name: GITEA__service__REQUIRE_EXTERNAL_REGISTRATION_CAPTCHA
value: "true" value: "true"
- name: GITEA__service__CAPTCHA_TYPE - name: GITEA__service__CAPTCHA_TYPE
value: "hcaptcha" value: "cfturnstile"
- name: GITEA__webhook__ALLOWED_HOST_LIST - name: GITEA__webhook__ALLOWED_HOST_LIST
value: "*" value: "*"
envFrom: envFrom:
- secretRef: - secretRef:
name: gitea-recapcha-creds name: gitea-runner-act-runner-secrets
ports: ports:
- name: http - name: http
containerPort: 3000 containerPort: 3000
+10 -25
View File
@@ -13,6 +13,10 @@ spec:
data: data:
token: |- token: |-
{{ .password }} {{ .password }}
GITEA__service__CF_TURNSTILE_SITEKEY: |-
{{ .CF_TURNSTILE_SITEKEY }}
GITEA__service__CF_TURNSTILE_SECRET: |-
{{ .CF_TURNSTILE_SECRET }}
data: data:
- secretKey: password - secretKey: password
sourceRef: sourceRef:
@@ -22,38 +26,19 @@ spec:
remoteRef: remoteRef:
key: e475b5ab-ea3c-48a5-bb4c-a6bc552fc064 key: e475b5ab-ea3c-48a5-bb4c-a6bc552fc064
property: login.password property: login.password
- secretKey: CF_TURNSTILE_SITEKEY
---
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: gitea-recapcha-creds
spec:
refreshInterval: 1m
target:
name: gitea-recapcha-creds
deletionPolicy: Delete
template:
type: Opaque
data:
GITEA__service__HCAPTCHA_SITEKEY: |-
{{ .HCAPTCHA_SITEKEY }}
GITEA__service__HCAPTCHA_SECRET: |-
{{ .HCAPTCHA_SECRET }}
data:
- secretKey: HCAPTCHA_SITEKEY
sourceRef: sourceRef:
storeRef: storeRef:
name: vaultwarden-login name: vaultwarden-login
kind: ClusterSecretStore kind: ClusterSecretStore
remoteRef: remoteRef:
key: 89c8d8d2-6b53-42c5-805f-38a341ef163e key: e475b5ab-ea3c-48a5-bb4c-a6bc552fc064
property: login.username property: fields[0].value
- secretKey: HCAPTCHA_SECRET - secretKey: CF_TURNSTILE_SECRET
sourceRef: sourceRef:
storeRef: storeRef:
name: vaultwarden-login name: vaultwarden-login
kind: ClusterSecretStore kind: ClusterSecretStore
remoteRef: remoteRef:
key: 89c8d8d2-6b53-42c5-805f-38a341ef163e key: e475b5ab-ea3c-48a5-bb4c-a6bc552fc064
property: login.password property: fields[1].value
+12
View File
@@ -0,0 +1,12 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: llamacpp-cuda-config
data:
LLAMA_CACHE: /models
LLAMA_ARG_HOST: 0.0.0.0
LLAMA_ARG_PORT: "8080"
LLAMA_ARG_HF_REPO: "unsloth/gemma-4-12b-it-GGUF:Q6_K"
LLAMA_ARG_CTX_SIZE: "128000"
LLAMA_ARG_FLASH_ATTN: auto
LLAMA_ARG_FIT: "on"
+72
View File
@@ -0,0 +1,72 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: llamacpp-cuda
annotations:
reloader.stakater.com/auto: "true"
labels:
app: llamacpp-cuda
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: llamacpp-cuda
template:
metadata:
labels:
app: llamacpp-cuda
spec:
dnsPolicy: Default
runtimeClassName: nvidia
nodeSelector:
kubernetes.io/hostname: uk-desktop.tail2fe2d.ts.net
tolerations:
- key: workload
operator: Equal
value: desktop
effect: NoSchedule
containers:
- name: llamacpp
image: ghcr.io/ggml-org/llama.cpp:server-cuda-b9501
imagePullPolicy: IfNotPresent
envFrom:
- configMapRef:
name: llamacpp-cuda-config
env:
- name: HF_TOKEN
valueFrom:
secretKeyRef:
name: llamacpp-hf-token
key: token
optional: true
ports:
- name: http
containerPort: 8080
protocol: TCP
resources:
limits:
nvidia.com/gpu: 1
startupProbe:
httpGet:
path: /health
port: http
failureThreshold: 180
periodSeconds: 10
timeoutSeconds: 5
readinessProbe:
httpGet:
path: /health
port: http
failureThreshold: 3
periodSeconds: 10
timeoutSeconds: 5
volumeMounts:
- name: models
mountPath: /models
volumes:
- name: models
hostPath:
path: /data/llama.cpp/models
type: DirectoryOrCreate
+3
View File
@@ -3,6 +3,9 @@ kind: Kustomization
resources: resources:
- app.yaml - app.yaml
- configmap-cuda.yaml
- configmap.yaml - configmap.yaml
- deployment-cuda.yaml
- deployment.yaml - deployment.yaml
- service-cuda.yaml
- service.yaml - service.yaml
+15
View File
@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: llamacpp-cuda
labels:
app: llamacpp-cuda
spec:
type: ClusterIP
selector:
app: llamacpp-cuda
ports:
- name: http
port: 8080
targetPort: http
protocol: TCP
+8 -8
View File
@@ -15,14 +15,14 @@ resources:
- service.yaml - service.yaml
- ingress.yaml - ingress.yaml
helmCharts: # helmCharts:
- name: yacy # - name: yacy
repo: https://gt.hexor.cy/api/packages/ab/helm # repo: https://gt.hexor.cy/api/packages/ab/helm
version: 0.1.2 # version: 0.1.2
releaseName: yacy # releaseName: yacy
namespace: n8n # namespace: n8n
valuesFile: values-yacy.yaml # valuesFile: values-yacy.yaml
includeCRDs: true # includeCRDs: true
commonLabels: commonLabels:
app.kubernetes.io/name: n8n app.kubernetes.io/name: n8n
+6 -2
View File
@@ -11,7 +11,7 @@ spec:
selector: selector:
matchLabels: matchLabels:
app: pasarguard app: pasarguard
replicas: 1 replicas: 2
strategy: strategy:
type: RollingUpdate type: RollingUpdate
template: template:
@@ -34,7 +34,7 @@ spec:
mountPath: /templates/subscription mountPath: /templates/subscription
containers: containers:
- name: pasarguard-web - name: pasarguard-web
image: pasarguard/panel:v5.0.1 image: pasarguard/panel:v5.0.3
imagePullPolicy: Always imagePullPolicy: Always
envFrom: envFrom:
- secretRef: - secretRef:
@@ -50,6 +50,10 @@ spec:
value: "/app/tls/tls.crt" value: "/app/tls/tls.crt"
- name: UVICORN_SSL_KEYFILE - name: UVICORN_SSL_KEYFILE
value: "/app/tls/tls.key" value: "/app/tls/tls.key"
- name: UVICORN_PROXY_HEADERS
value: "true"
- name: FORWARDED_ALLOW_IPS
value: "*"
- name: CUSTOM_TEMPLATES_DIRECTORY - name: CUSTOM_TEMPLATES_DIRECTORY
value: "/code/app/templates/" value: "/code/app/templates/"
- name: SUBSCRIPTION_PAGE_TEMPLATE - name: SUBSCRIPTION_PAGE_TEMPLATE
+1 -1
View File
@@ -7,7 +7,7 @@ kind: Kustomization
helmCharts: helmCharts:
- name: longhorn - name: longhorn
repo: https://charts.longhorn.io repo: https://charts.longhorn.io
version: 1.11.2 version: 1.12.0
releaseName: longhorn releaseName: longhorn
namespace: longhorn namespace: longhorn
valuesFile: values.yaml valuesFile: values.yaml
+47
View File
@@ -1,7 +1,54 @@
global:
tolerations:
- key: "workload"
operator: "Exists"
effect: "NoSchedule"
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoSchedule"
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoExecute"
longhornManager:
tolerations:
- key: "workload"
operator: "Exists"
effect: "NoSchedule"
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoSchedule"
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoExecute"
longhornDriver:
tolerations:
- key: "workload"
operator: "Exists"
effect: "NoSchedule"
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoSchedule"
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoExecute"
longhornUI: longhornUI:
replicas: 1 replicas: 1
tolerations:
- key: "workload"
operator: "Exists"
effect: "NoSchedule"
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoSchedule"
- key: "node.kubernetes.io/unreachable"
operator: "Exists"
effect: "NoExecute"
defaultSettings: defaultSettings:
taintToleration: "workload=ai:NoSchedule; workload=desktop:NoSchedule; node.kubernetes.io/unreachable:NoSchedule; node.kubernetes.io/unreachable:NoExecute"
# Keep new instance-manager pods schedulable on nodes with high CPU requests. # Keep new instance-manager pods schedulable on nodes with high CPU requests.
guaranteedInstanceManagerCPU: '{"v1":"6","v2":"6"}' guaranteedInstanceManagerCPU: '{"v1":"6","v2":"6"}'