Compare commits
83 Commits
renovate/r
...
6c5ce67961
| Author | SHA1 | Date | |
|---|---|---|---|
| 6c5ce67961 | |||
| b1f3337c98 | |||
| e610e96d80 | |||
| c9997fb8a7 | |||
| b9cc44d7e8 | |||
| be884d07c6 | |||
| 2875d84f33 | |||
| 573601a7ec | |||
| fb60744c5a | |||
| 52ca68c4ce | |||
| 0934a1130a | |||
| 3d28650c1b | |||
| 15063c9885 | |||
| ba3cb2571c | |||
| 5edaeb123c | |||
| 0dc37f69cb | |||
| 777239ccb5 | |||
| 352af6f386 | |||
| 230197e3c6 | |||
| 0c5e22f538 | |||
| e79386b4a5 | |||
| 8f4932132a | |||
| bb6272b16e | |||
| 3a71410c19 | |||
| e5af5c3945 | |||
| 6de56bfd10 | |||
| d70a704f89 | |||
| 5df94c4656 | |||
| a6772893d0 | |||
| ba31945337 | |||
| fcaa28c95a | |||
| a40f9a046a | |||
| 80ed3358e8 | |||
| eae4ff426c | |||
| 0fadd95386 | |||
| 29e06c60eb | |||
| 27ae162886 | |||
| d96344b310 | |||
| e3483fcfe3 | |||
| 784b335f65 | |||
| 9300e327df | |||
| 90fb555dc2 | |||
| 78b3b6b400 | |||
| 90897daa27 | |||
| 0368252850 | |||
| 1503c57fbe | |||
| 0f12840b35 | |||
| 87a071925c | |||
| b6efe42dc2 | |||
| d2cfd7b73d | |||
| bf1cae3fc7 | |||
| 6712e94237 | |||
| 6f8e10f3fc | |||
| 3c04fd6b10 | |||
| ef353d635a | |||
| 0097d057d5 | |||
| b454fc606f | |||
| 7feb19b7fc | |||
| b21f8e402b | |||
| 68f51b26b0 | |||
| 1095d7ef4d | |||
| 8d83c6dc83 | |||
| 65e75a4d39 | |||
| 6c7457d095 | |||
| 9b556e98a9 | |||
| 202ebc7b86 | |||
| ec61023f74 | |||
| 05d3493bb7 | |||
| 2a9f8c3092 | |||
| 226ee59fa6 | |||
| c8f34c45ac | |||
| c0fa400159 | |||
| 6ccb00e86e | |||
| 7b8fb8d8bb | |||
| 0ae3181267 | |||
| c0d83249b9 | |||
| 974d70a39e | |||
| 4518fc674a | |||
| c3912af26b | |||
| 797b97496e | |||
| 29457af188 | |||
| 2a8e56824e | |||
| f71794de4d |
12
.envrc
Normal file
12
.envrc
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
export DIRENV_WARN_TIMEOUT=20s
|
||||||
|
|
||||||
|
eval "$(devenv direnvrc)"
|
||||||
|
|
||||||
|
# `use devenv` supports the same options as the `devenv shell` command.
|
||||||
|
#
|
||||||
|
# To silence all output, use `--quiet`.
|
||||||
|
#
|
||||||
|
# Example usage: use devenv --quiet --impure --option services.postgres.enable:bool true
|
||||||
|
use devenv
|
||||||
10
.gitignore
vendored
10
.gitignore
vendored
@@ -1,2 +1,12 @@
|
|||||||
secrets.yaml
|
secrets.yaml
|
||||||
talos/generated
|
talos/generated
|
||||||
|
# Devenv
|
||||||
|
.devenv*
|
||||||
|
devenv.local.nix
|
||||||
|
devenv.local.yaml
|
||||||
|
|
||||||
|
# direnv
|
||||||
|
.direnv
|
||||||
|
|
||||||
|
# pre-commit
|
||||||
|
.pre-commit-config.yaml
|
||||||
|
|||||||
4
.vscode/extensions.json
vendored
4
.vscode/extensions.json
vendored
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
"arrterian.nix-env-selector",
|
|
||||||
"jnoortheen.nix-ide",
|
"jnoortheen.nix-ide",
|
||||||
"detachhead.basedpyright"
|
"detachhead.basedpyright",
|
||||||
|
"mkhl.direnv"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
9
.vscode/settings.json
vendored
9
.vscode/settings.json
vendored
@@ -1,13 +1,4 @@
|
|||||||
{
|
{
|
||||||
"nixEnvSelector.nixFile": "${workspaceFolder}/shell.nix",
|
|
||||||
"terminal.integrated.profiles.linux": {
|
|
||||||
"Nix Shell": {
|
|
||||||
"path": "nix",
|
|
||||||
"args": ["develop"],
|
|
||||||
"icon": "terminal-linux"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"terminal.integrated.defaultProfile.linux": "Nix Shell",
|
|
||||||
"ansible.python.interpreterPath": "/bin/python",
|
"ansible.python.interpreterPath": "/bin/python",
|
||||||
"python.defaultInterpreterPath": "${env:PYTHON_BIN}"
|
"python.defaultInterpreterPath": "${env:PYTHON_BIN}"
|
||||||
}
|
}
|
||||||
|
|||||||
49
apps/frigate/config-pvc.yaml
Normal file
49
apps/frigate/config-pvc.yaml
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
apiVersion: local.openebs.io/v1alpha1
|
||||||
|
kind: LVMVolume
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
kubernetes.io/nodename: anapistula-delrosalae
|
||||||
|
name: frigate-config
|
||||||
|
namespace: openebs
|
||||||
|
spec:
|
||||||
|
capacity: 5Gi
|
||||||
|
ownerNodeID: anapistula-delrosalae
|
||||||
|
shared: "yes"
|
||||||
|
thinProvision: "no"
|
||||||
|
vgPattern: ^openebs-hdd$
|
||||||
|
volGroup: openebs-hdd
|
||||||
|
---
|
||||||
|
kind: PersistentVolume
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: frigate-config
|
||||||
|
spec:
|
||||||
|
capacity:
|
||||||
|
storage: 5Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
persistentVolumeReclaimPolicy: Retain
|
||||||
|
storageClassName: openebs-lvmpv
|
||||||
|
volumeMode: Filesystem
|
||||||
|
csi:
|
||||||
|
driver: local.csi.openebs.io
|
||||||
|
volumeHandle: frigate-config
|
||||||
|
claimRef:
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
namespace: frigate
|
||||||
|
name: frigate-config
|
||||||
|
---
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: frigate-config
|
||||||
|
namespace: frigate
|
||||||
|
spec:
|
||||||
|
storageClassName: openebs-lvmpv
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 5Gi
|
||||||
|
volumeName: frigate-config
|
||||||
@@ -3,5 +3,7 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- secret.yaml
|
- secret.yaml
|
||||||
|
- config-pvc.yaml
|
||||||
|
- media-pvc.yaml
|
||||||
- release.yaml
|
- release.yaml
|
||||||
- webrtc-svc.yaml
|
- webrtc-svc.yaml
|
||||||
|
|||||||
49
apps/frigate/media-pvc.yaml
Normal file
49
apps/frigate/media-pvc.yaml
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
apiVersion: local.openebs.io/v1alpha1
|
||||||
|
kind: LVMVolume
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
kubernetes.io/nodename: anapistula-delrosalae
|
||||||
|
name: frigate-media
|
||||||
|
namespace: openebs
|
||||||
|
spec:
|
||||||
|
capacity: 500Gi
|
||||||
|
ownerNodeID: anapistula-delrosalae
|
||||||
|
shared: "yes"
|
||||||
|
thinProvision: "no"
|
||||||
|
vgPattern: ^openebs-hdd$
|
||||||
|
volGroup: openebs-hdd
|
||||||
|
---
|
||||||
|
kind: PersistentVolume
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: frigate-media
|
||||||
|
spec:
|
||||||
|
capacity:
|
||||||
|
storage: 500Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
persistentVolumeReclaimPolicy: Retain
|
||||||
|
storageClassName: openebs-lvmpv
|
||||||
|
volumeMode: Filesystem
|
||||||
|
csi:
|
||||||
|
driver: local.csi.openebs.io
|
||||||
|
volumeHandle: frigate-media
|
||||||
|
claimRef:
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
namespace: frigate
|
||||||
|
name: frigate-media
|
||||||
|
---
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: frigate-media
|
||||||
|
namespace: frigate
|
||||||
|
spec:
|
||||||
|
storageClassName: openebs-lvmpv
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 500Gi
|
||||||
|
volumeName: frigate-media
|
||||||
@@ -36,6 +36,8 @@ spec:
|
|||||||
cookie_secure: True
|
cookie_secure: True
|
||||||
|
|
||||||
record:
|
record:
|
||||||
|
expire_interval: 1440 # 24h
|
||||||
|
sync_recordings: True
|
||||||
enabled: True
|
enabled: True
|
||||||
retain:
|
retain:
|
||||||
days: 90
|
days: 90
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
|
- postgres-volume.yaml
|
||||||
- postgres-cluster.yaml
|
- postgres-cluster.yaml
|
||||||
- release.yaml
|
- release.yaml
|
||||||
- secret.yaml
|
- secret.yaml
|
||||||
|
|||||||
@@ -10,3 +10,7 @@ spec:
|
|||||||
storage:
|
storage:
|
||||||
size: 10Gi
|
size: 10Gi
|
||||||
storageClass: mayastor-single-hdd
|
storageClass: mayastor-single-hdd
|
||||||
|
|
||||||
|
backup:
|
||||||
|
volumeSnapshot:
|
||||||
|
className: csi-mayastor-snapshotclass
|
||||||
|
|||||||
32
apps/gitea/postgres-volume.yaml
Normal file
32
apps/gitea/postgres-volume.yaml
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
apiVersion: local.openebs.io/v1alpha1
|
||||||
|
kind: LVMVolume
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
kubernetes.io/nodename: anapistula-delrosalae
|
||||||
|
name: gitea-postgresql-cluster-lvmhdd-1
|
||||||
|
namespace: openebs
|
||||||
|
spec:
|
||||||
|
capacity: 20Gi
|
||||||
|
ownerNodeID: anapistula-delrosalae
|
||||||
|
shared: "yes"
|
||||||
|
thinProvision: "no"
|
||||||
|
vgPattern: ^openebs-hdd$
|
||||||
|
volGroup: openebs-hdd
|
||||||
|
---
|
||||||
|
kind: PersistentVolume
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: gitea-postgresql-cluster-lvmhdd-1
|
||||||
|
spec:
|
||||||
|
capacity:
|
||||||
|
storage: 20Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
persistentVolumeReclaimPolicy: Retain
|
||||||
|
storageClassName: openebs-lvmpv
|
||||||
|
volumeMode: Filesystem
|
||||||
|
csi:
|
||||||
|
driver: local.csi.openebs.io
|
||||||
|
volumeHandle: gitea-postgresql-cluster-lvmhdd-1
|
||||||
|
---
|
||||||
|
# PVCs are dynamically created by the Postgres operator
|
||||||
@@ -17,7 +17,7 @@ spec:
|
|||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: gitea
|
chart: gitea
|
||||||
version: 12.4.0
|
version: 12.5.0
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: gitea-charts
|
name: gitea-charts
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ spec:
|
|||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: redis
|
chart: redis
|
||||||
version: 23.1.3
|
version: 24.1.3
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: bitnami
|
name: bitnami
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ spec:
|
|||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: immich
|
chart: immich
|
||||||
version: 1.0.2
|
version: 1.0.12
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: secustor
|
name: secustor
|
||||||
|
|||||||
7
apps/ispeak3/kustomization.yaml
Normal file
7
apps/ispeak3/kustomization.yaml
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- namespace.yaml
|
||||||
|
- pvc.yaml
|
||||||
|
- statefulset.yaml
|
||||||
|
- service.yaml
|
||||||
4
apps/ispeak3/namespace.yaml
Normal file
4
apps/ispeak3/namespace.yaml
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Namespace
|
||||||
|
metadata:
|
||||||
|
name: ispeak3
|
||||||
49
apps/ispeak3/pvc.yaml
Normal file
49
apps/ispeak3/pvc.yaml
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
apiVersion: local.openebs.io/v1alpha1
|
||||||
|
kind: LVMVolume
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
kubernetes.io/nodename: anapistula-delrosalae
|
||||||
|
name: ispeak3-ts3-data
|
||||||
|
namespace: openebs
|
||||||
|
spec:
|
||||||
|
capacity: 1Gi
|
||||||
|
ownerNodeID: anapistula-delrosalae
|
||||||
|
shared: "yes"
|
||||||
|
thinProvision: "no"
|
||||||
|
vgPattern: ^openebs-hdd$
|
||||||
|
volGroup: openebs-hdd
|
||||||
|
---
|
||||||
|
kind: PersistentVolume
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: ispeak3-ts3-data
|
||||||
|
spec:
|
||||||
|
capacity:
|
||||||
|
storage: 1Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
persistentVolumeReclaimPolicy: Delete
|
||||||
|
storageClassName: openebs-lvmpv
|
||||||
|
volumeMode: Filesystem
|
||||||
|
csi:
|
||||||
|
driver: local.csi.openebs.io
|
||||||
|
volumeHandle: ispeak3-ts3-data
|
||||||
|
claimRef:
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
namespace: ispeak3
|
||||||
|
name: ispeak3-ts3-data
|
||||||
|
---
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: ispeak3-ts3-data
|
||||||
|
namespace: ispeak3
|
||||||
|
spec:
|
||||||
|
storageClassName: openebs-lvmpv
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 1Gi
|
||||||
|
volumeName: ispeak3-ts3-data
|
||||||
20
apps/ispeak3/service.yaml
Normal file
20
apps/ispeak3/service.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: teamspeak3
|
||||||
|
namespace: ispeak3
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: teamspeak3
|
||||||
|
ports:
|
||||||
|
- name: voice
|
||||||
|
protocol: UDP
|
||||||
|
port: 9987
|
||||||
|
targetPort: 9987
|
||||||
|
- name: filetransfer
|
||||||
|
protocol: TCP
|
||||||
|
port: 30033
|
||||||
|
targetPort: 30033
|
||||||
|
type: LoadBalancer
|
||||||
|
externalTrafficPolicy: Local
|
||||||
|
ipFamilyPolicy: PreferDualStack
|
||||||
34
apps/ispeak3/statefulset.yaml
Normal file
34
apps/ispeak3/statefulset.yaml
Normal file
@@ -0,0 +1,34 @@
|
|||||||
|
apiVersion: apps/v1
|
||||||
|
kind: StatefulSet
|
||||||
|
metadata:
|
||||||
|
name: teamspeak3-server
|
||||||
|
namespace: ispeak3
|
||||||
|
spec:
|
||||||
|
serviceName: "teamspeak3"
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: teamspeak3
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: teamspeak3
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: teamspeak3
|
||||||
|
image: teamspeak:3.13.7
|
||||||
|
ports:
|
||||||
|
- containerPort: 9987
|
||||||
|
name: voice
|
||||||
|
protocol: UDP
|
||||||
|
- containerPort: 10011
|
||||||
|
name: query
|
||||||
|
- containerPort: 30033
|
||||||
|
name: filetransfer
|
||||||
|
volumeMounts:
|
||||||
|
- name: ts3-data
|
||||||
|
mountPath: /var/ts3server/
|
||||||
|
volumes:
|
||||||
|
- name: ts3-data
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: ispeak3-ts3-data
|
||||||
@@ -10,3 +10,4 @@ resources:
|
|||||||
- immich
|
- immich
|
||||||
- nas
|
- nas
|
||||||
- searxng
|
- searxng
|
||||||
|
- ispeak3
|
||||||
|
|||||||
@@ -8,92 +8,113 @@ spec:
|
|||||||
interval: 24h
|
interval: 24h
|
||||||
url: https://dynomite567.github.io/helm-charts/
|
url: https://dynomite567.github.io/helm-charts/
|
||||||
---
|
---
|
||||||
apiVersion: helm.toolkit.fluxcd.io/v2
|
# apiVersion: helm.toolkit.fluxcd.io/v2
|
||||||
kind: HelmRelease
|
# kind: HelmRelease
|
||||||
metadata:
|
# metadata:
|
||||||
name: librechat
|
# name: librechat
|
||||||
namespace: librechat
|
# namespace: librechat
|
||||||
spec:
|
# spec:
|
||||||
interval: 30m
|
# interval: 30m
|
||||||
chart:
|
# chart:
|
||||||
spec:
|
# spec:
|
||||||
chart: librechat
|
# chart: librechat
|
||||||
version: 1.9.1
|
# version: 1.9.1
|
||||||
sourceRef:
|
# sourceRef:
|
||||||
kind: HelmRepository
|
# kind: HelmRepository
|
||||||
name: dynomite567-charts
|
# name: dynomite567-charts
|
||||||
values:
|
# values:
|
||||||
global:
|
# global:
|
||||||
librechat:
|
# librechat:
|
||||||
existingSecretName: librechat
|
# existingSecretName: librechat
|
||||||
librechat:
|
# librechat:
|
||||||
configEnv:
|
# configEnv:
|
||||||
PLUGIN_MODELS: null
|
# PLUGIN_MODELS: null
|
||||||
ALLOW_REGISTRATION: "false"
|
# ALLOW_REGISTRATION: "false"
|
||||||
TRUST_PROXY: "1"
|
# TRUST_PROXY: "1"
|
||||||
DOMAIN_CLIENT: https://librechat.lumpiasty.xyz
|
# DOMAIN_CLIENT: https://librechat.lumpiasty.xyz
|
||||||
SEARCH: "true"
|
# SEARCH: "true"
|
||||||
existingSecretName: librechat
|
# existingSecretName: librechat
|
||||||
configYamlContent: |
|
# configYamlContent: |
|
||||||
version: 1.0.3
|
# version: 1.0.3
|
||||||
|
|
||||||
endpoints:
|
# endpoints:
|
||||||
custom:
|
# custom:
|
||||||
- name: "Llama.cpp"
|
# - name: "Llama.cpp"
|
||||||
apiKey: "llama"
|
# apiKey: "llama"
|
||||||
baseURL: "http://llama.llama.svc.cluster.local:11434/v1"
|
# baseURL: "http://llama.llama.svc.cluster.local:11434/v1"
|
||||||
models:
|
# models:
|
||||||
default: [
|
# default: [
|
||||||
"DeepSeek-R1-0528-Qwen3-8B-GGUF",
|
# "DeepSeek-R1-0528-Qwen3-8B-GGUF",
|
||||||
"Qwen3-8B-GGUF",
|
# "Qwen3-8B-GGUF",
|
||||||
"Qwen3-8B-GGUF-no-thinking",
|
# "Qwen3-8B-GGUF-no-thinking",
|
||||||
"gemma3n-e4b",
|
# "gemma3n-e4b",
|
||||||
"gemma3-12b",
|
# "gemma3-12b",
|
||||||
"gemma3-12b-q2",
|
# "gemma3-12b-q2",
|
||||||
"gemma3-12b-novision",
|
# "gemma3-12b-novision",
|
||||||
"gemma3-4b",
|
# "gemma3-4b",
|
||||||
"gemma3-4b-novision",
|
# "gemma3-4b-novision",
|
||||||
"Qwen3-4B-Thinking-2507",
|
# "Qwen3-4B-Thinking-2507",
|
||||||
"Qwen3-4B-Thinking-2507-long-ctx",
|
# "Qwen3-4B-Thinking-2507-long-ctx",
|
||||||
"Qwen2.5-VL-7B-Instruct-GGUF",
|
# "Qwen2.5-VL-7B-Instruct-GGUF",
|
||||||
"Qwen2.5-VL-32B-Instruct-GGUF-IQ1_S",
|
# "Qwen2.5-VL-32B-Instruct-GGUF-IQ1_S",
|
||||||
"Qwen2.5-VL-32B-Instruct-GGUF-Q2_K_L"
|
# "Qwen2.5-VL-32B-Instruct-GGUF-Q2_K_L",
|
||||||
]
|
# "Qwen3-VL-2B-Instruct-GGUF",
|
||||||
titleConvo: true
|
# "Qwen3-VL-2B-Instruct-GGUF-unslothish",
|
||||||
titleModel: "gemma3-4b-novision"
|
# "Qwen3-VL-2B-Thinking-GGUF",
|
||||||
summarize: false
|
# "Qwen3-VL-4B-Instruct-GGUF",
|
||||||
summaryModel: "gemma3-4b-novision"
|
# "Qwen3-VL-4B-Instruct-GGUF-unslothish",
|
||||||
forcePrompt: false
|
# "Qwen3-VL-4B-Thinking-GGUF",
|
||||||
modelDisplayLabel: "Llama.cpp"
|
# "Qwen3-VL-8B-Instruct-GGUF",
|
||||||
imageVolume:
|
# "Qwen3-VL-8B-Instruct-GGUF-unslothish",
|
||||||
enabled: true
|
# "Qwen3-VL-8B-Thinking-GGUF",
|
||||||
size: 10G
|
# "Huihui-Qwen3-VL-8B-Instruct-abliterated-GGUF",
|
||||||
accessModes: ReadWriteOnce
|
# "Huihui-Qwen3-VL-8B-Thinking-abliterated-GGUF"
|
||||||
storageClassName: mayastor-single-hdd
|
# ]
|
||||||
ingress:
|
# titleConvo: true
|
||||||
enabled: true
|
# titleModel: "gemma3-4b-novision"
|
||||||
className: nginx-ingress
|
# summarize: false
|
||||||
annotations:
|
# summaryModel: "gemma3-4b-novision"
|
||||||
cert-manager.io/cluster-issuer: letsencrypt
|
# forcePrompt: false
|
||||||
nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
# modelDisplayLabel: "Llama.cpp"
|
||||||
nginx.ingress.kubernetes.io/proxy-buffering: "false"
|
|
||||||
nginx.ingress.kubernetes.io/proxy-read-timeout: 30m
|
|
||||||
hosts:
|
|
||||||
- host: librechat.lumpiasty.xyz
|
|
||||||
paths:
|
|
||||||
- path: /
|
|
||||||
pathType: ImplementationSpecific
|
|
||||||
tls:
|
|
||||||
- hosts:
|
|
||||||
- librechat.lumpiasty.xyz
|
|
||||||
secretName: librechat-ingress
|
|
||||||
|
|
||||||
mongodb:
|
# # ✨ IMPORTANT: let llama-swap/llama-server own all these
|
||||||
persistence:
|
# dropParams:
|
||||||
storageClass: mayastor-single-hdd
|
# - "temperature"
|
||||||
|
# - "top_p"
|
||||||
|
# - "top_k"
|
||||||
|
# - "presence_penalty"
|
||||||
|
# - "frequency_penalty"
|
||||||
|
# - "stop"
|
||||||
|
# - "max_tokens"
|
||||||
|
# imageVolume:
|
||||||
|
# enabled: true
|
||||||
|
# size: 10G
|
||||||
|
# accessModes: ReadWriteOnce
|
||||||
|
# storageClassName: mayastor-single-hdd
|
||||||
|
# ingress:
|
||||||
|
# enabled: true
|
||||||
|
# className: nginx-ingress
|
||||||
|
# annotations:
|
||||||
|
# cert-manager.io/cluster-issuer: letsencrypt
|
||||||
|
# nginx.ingress.kubernetes.io/proxy-body-size: "0"
|
||||||
|
# nginx.ingress.kubernetes.io/proxy-buffering: "false"
|
||||||
|
# nginx.ingress.kubernetes.io/proxy-read-timeout: 30m
|
||||||
|
# hosts:
|
||||||
|
# - host: librechat.lumpiasty.xyz
|
||||||
|
# paths:
|
||||||
|
# - path: /
|
||||||
|
# pathType: ImplementationSpecific
|
||||||
|
# tls:
|
||||||
|
# - hosts:
|
||||||
|
# - librechat.lumpiasty.xyz
|
||||||
|
# secretName: librechat-ingress
|
||||||
|
|
||||||
meilisearch:
|
# mongodb:
|
||||||
persistence:
|
# persistence:
|
||||||
storageClass: mayastor-single-hdd
|
# storageClass: mayastor-single-hdd
|
||||||
auth:
|
|
||||||
existingMasterKeySecret: librechat
|
# meilisearch:
|
||||||
|
# persistence:
|
||||||
|
# storageClass: mayastor-single-hdd
|
||||||
|
# auth:
|
||||||
|
# existingMasterKeySecret: librechat
|
||||||
|
|||||||
@@ -6,26 +6,33 @@ models:
|
|||||||
cmd: |
|
cmd: |
|
||||||
/app/llama-server
|
/app/llama-server
|
||||||
-hf unsloth/DeepSeek-R1-0528-Qwen3-8B-GGUF:Q4_K_M
|
-hf unsloth/DeepSeek-R1-0528-Qwen3-8B-GGUF:Q4_K_M
|
||||||
-ngl 37 -c 16384
|
--n-gpu-layers 37
|
||||||
|
--ctx-size 16384
|
||||||
--no-warmup
|
--no-warmup
|
||||||
--port ${PORT}
|
--port ${PORT}
|
||||||
|
|
||||||
"Qwen3-8B-GGUF":
|
"Qwen3-8B-GGUF":
|
||||||
ttl: 600
|
ttl: 600
|
||||||
cmd: |
|
cmd: |
|
||||||
/app/llama-server
|
/app/llama-server
|
||||||
-hf unsloth/Qwen3-8B-GGUF:Q4_K_M
|
-hf unsloth/Qwen3-8B-GGUF:Q4_K_M
|
||||||
-ngl 37 -c 16384
|
--n-gpu-layers 37
|
||||||
|
--ctx-size 16384
|
||||||
--no-warmup
|
--no-warmup
|
||||||
--port ${PORT}
|
--port ${PORT}
|
||||||
|
|
||||||
"Qwen3-8B-GGUF-no-thinking":
|
"Qwen3-8B-GGUF-no-thinking":
|
||||||
ttl: 600
|
ttl: 600
|
||||||
cmd: |
|
cmd: |
|
||||||
/app/llama-server
|
/app/llama-server
|
||||||
-hf unsloth/Qwen3-8B-GGUF:Q4_K_M
|
-hf unsloth/Qwen3-8B-GGUF:Q4_K_M
|
||||||
-ngl 37 -c 16384
|
--n-gpu-layers 37
|
||||||
--jinja --chat-template-file /config/qwen_nothink_chat_template.jinja
|
--ctx-size 16384
|
||||||
|
--jinja
|
||||||
|
--chat-template-file /config/qwen_nothink_chat_template.jinja
|
||||||
--no-warmup
|
--no-warmup
|
||||||
--port ${PORT}
|
--port ${PORT}
|
||||||
|
|
||||||
"gemma3n-e4b":
|
"gemma3n-e4b":
|
||||||
ttl: 600
|
ttl: 600
|
||||||
cmd: |
|
cmd: |
|
||||||
@@ -42,6 +49,7 @@ models:
|
|||||||
--top-p 0.95
|
--top-p 0.95
|
||||||
--no-warmup
|
--no-warmup
|
||||||
--port ${PORT}
|
--port ${PORT}
|
||||||
|
|
||||||
"gemma3-12b":
|
"gemma3-12b":
|
||||||
ttl: 600
|
ttl: 600
|
||||||
cmd: |
|
cmd: |
|
||||||
@@ -57,6 +65,7 @@ models:
|
|||||||
--top-p 0.95
|
--top-p 0.95
|
||||||
--no-warmup
|
--no-warmup
|
||||||
--port ${PORT}
|
--port ${PORT}
|
||||||
|
|
||||||
"gemma3-12b-novision":
|
"gemma3-12b-novision":
|
||||||
ttl: 600
|
ttl: 600
|
||||||
cmd: |
|
cmd: |
|
||||||
@@ -73,6 +82,7 @@ models:
|
|||||||
--no-mmproj
|
--no-mmproj
|
||||||
--no-warmup
|
--no-warmup
|
||||||
--port ${PORT}
|
--port ${PORT}
|
||||||
|
|
||||||
"gemma3-12b-q2":
|
"gemma3-12b-q2":
|
||||||
ttl: 600
|
ttl: 600
|
||||||
cmd: |
|
cmd: |
|
||||||
@@ -88,6 +98,7 @@ models:
|
|||||||
--top-p 0.95
|
--top-p 0.95
|
||||||
--no-warmup
|
--no-warmup
|
||||||
--port ${PORT}
|
--port ${PORT}
|
||||||
|
|
||||||
"gemma3-4b":
|
"gemma3-4b":
|
||||||
ttl: 600
|
ttl: 600
|
||||||
cmd: |
|
cmd: |
|
||||||
@@ -103,6 +114,7 @@ models:
|
|||||||
--top-p 0.95
|
--top-p 0.95
|
||||||
--no-warmup
|
--no-warmup
|
||||||
--port ${PORT}
|
--port ${PORT}
|
||||||
|
|
||||||
"gemma3-4b-novision":
|
"gemma3-4b-novision":
|
||||||
ttl: 600
|
ttl: 600
|
||||||
cmd: |
|
cmd: |
|
||||||
@@ -119,12 +131,15 @@ models:
|
|||||||
--no-mmproj
|
--no-mmproj
|
||||||
--no-warmup
|
--no-warmup
|
||||||
--port ${PORT}
|
--port ${PORT}
|
||||||
|
|
||||||
"Qwen3-4B-Thinking-2507":
|
"Qwen3-4B-Thinking-2507":
|
||||||
ttl: 600
|
ttl: 600
|
||||||
cmd: |
|
cmd: |
|
||||||
/app/llama-server
|
/app/llama-server
|
||||||
-hf unsloth/Qwen3-4B-Thinking-2507-GGUF:Q4_K_M
|
-hf unsloth/Qwen3-4B-Thinking-2507-GGUF:Q4_K_M
|
||||||
-ngl 99 -c 16384 --predict 8192
|
--n-gpu-layers 99
|
||||||
|
--ctx-size 16384
|
||||||
|
--predict 8192
|
||||||
--temp 0.6
|
--temp 0.6
|
||||||
--min-p 0.00
|
--min-p 0.00
|
||||||
--top-p 0.95
|
--top-p 0.95
|
||||||
@@ -132,27 +147,34 @@ models:
|
|||||||
--repeat-penalty 1.0
|
--repeat-penalty 1.0
|
||||||
--no-warmup
|
--no-warmup
|
||||||
--port ${PORT}
|
--port ${PORT}
|
||||||
|
|
||||||
"Qwen3-4B-Thinking-2507-long-ctx":
|
"Qwen3-4B-Thinking-2507-long-ctx":
|
||||||
ttl: 600
|
ttl: 600
|
||||||
cmd: |
|
cmd: |
|
||||||
/app/llama-server
|
/app/llama-server
|
||||||
-hf unsloth/Qwen3-4B-Thinking-2507-GGUF:Q4_K_M
|
-hf unsloth/Qwen3-4B-Thinking-2507-GGUF:Q4_K_M
|
||||||
-ngl 99 -c 262144 --predict 81920
|
--n-gpu-layers 99
|
||||||
|
--ctx-size 262144
|
||||||
|
--predict 81920
|
||||||
--temp 0.6
|
--temp 0.6
|
||||||
--min-p 0.00
|
--min-p 0.00
|
||||||
--top-p 0.95
|
--top-p 0.95
|
||||||
--top-k 20
|
--top-k 20
|
||||||
--repeat-penalty 1.0
|
--repeat-penalty 1.0
|
||||||
--no-warmup
|
--no-warmup
|
||||||
--flash-attn
|
--flash-attn auto
|
||||||
--cache-type-k q8_0 --cache-type-v q8_0
|
--cache-type-k q8_0
|
||||||
|
--cache-type-v q8_0
|
||||||
--port ${PORT}
|
--port ${PORT}
|
||||||
|
|
||||||
"Qwen3-4B-Instruct-2507":
|
"Qwen3-4B-Instruct-2507":
|
||||||
ttl: 600
|
ttl: 600
|
||||||
cmd: |
|
cmd: |
|
||||||
/app/llama-server
|
/app/llama-server
|
||||||
-hf unsloth/Qwen3-4B-Instruct-2507-GGUF:Q4_K_M
|
-hf unsloth/Qwen3-4B-Instruct-2507-GGUF:Q4_K_M
|
||||||
-ngl 99 -c 16384 --predict 8192
|
--n-gpu-layers 99
|
||||||
|
--ctx-size 16384
|
||||||
|
--predict 8192
|
||||||
--temp 0.7
|
--temp 0.7
|
||||||
--min-p 0.00
|
--min-p 0.00
|
||||||
--top-p 0.8
|
--top-p 0.8
|
||||||
@@ -160,27 +182,34 @@ models:
|
|||||||
--repeat-penalty 1.0
|
--repeat-penalty 1.0
|
||||||
--no-warmup
|
--no-warmup
|
||||||
--port ${PORT}
|
--port ${PORT}
|
||||||
|
|
||||||
"Qwen3-4B-Instruct-2507-long-ctx":
|
"Qwen3-4B-Instruct-2507-long-ctx":
|
||||||
ttl: 600
|
ttl: 600
|
||||||
cmd: |
|
cmd: |
|
||||||
/app/llama-server
|
/app/llama-server
|
||||||
-hf unsloth/Qwen3-4B-Instruct-2507-GGUF:Q4_K_M
|
-hf unsloth/Qwen3-4B-Instruct-2507-GGUF:Q4_K_M
|
||||||
-ngl 99 -c 262144 --predict 81920
|
--n-gpu-layers 99
|
||||||
|
--ctx-size 262144
|
||||||
|
--predict 81920
|
||||||
--temp 0.7
|
--temp 0.7
|
||||||
--min-p 0.00
|
--min-p 0.00
|
||||||
--top-p 0.8
|
--top-p 0.8
|
||||||
--top-k 20
|
--top-k 20
|
||||||
--repeat-penalty 1.0
|
--repeat-penalty 1.0
|
||||||
--no-warmup
|
--no-warmup
|
||||||
--flash-attn
|
--flash-attn auto
|
||||||
--cache-type-k q8_0 --cache-type-v q8_0
|
--cache-type-k q8_0
|
||||||
|
--cache-type-v q8_0
|
||||||
--port ${PORT}
|
--port ${PORT}
|
||||||
|
|
||||||
"Qwen2.5-VL-32B-Instruct-GGUF-IQ1_S":
|
"Qwen2.5-VL-32B-Instruct-GGUF-IQ1_S":
|
||||||
ttl: 600
|
ttl: 600
|
||||||
cmd: |
|
cmd: |
|
||||||
/app/llama-server
|
/app/llama-server
|
||||||
-hf unsloth/Qwen2.5-VL-32B-Instruct-GGUF:IQ1_S
|
-hf unsloth/Qwen2.5-VL-32B-Instruct-GGUF:IQ1_S
|
||||||
-ngl 99 -c 16384 --predict 8192
|
--n-gpu-layers 99
|
||||||
|
--ctx-size 16384
|
||||||
|
--predict 8192
|
||||||
--temp 0.7
|
--temp 0.7
|
||||||
--min-p 0.00
|
--min-p 0.00
|
||||||
--top-p 0.8
|
--top-p 0.8
|
||||||
@@ -188,12 +217,15 @@ models:
|
|||||||
--repeat-penalty 1.0
|
--repeat-penalty 1.0
|
||||||
--no-warmup
|
--no-warmup
|
||||||
--port ${PORT}
|
--port ${PORT}
|
||||||
|
|
||||||
"Qwen2.5-VL-32B-Instruct-GGUF-Q2_K_L":
|
"Qwen2.5-VL-32B-Instruct-GGUF-Q2_K_L":
|
||||||
ttl: 600
|
ttl: 600
|
||||||
cmd: |
|
cmd: |
|
||||||
/app/llama-server
|
/app/llama-server
|
||||||
-hf unsloth/Qwen2.5-VL-32B-Instruct-GGUF:Q2_K_L
|
-hf unsloth/Qwen2.5-VL-32B-Instruct-GGUF:Q2_K_L
|
||||||
-ngl 99 -c 16384 --predict 8192
|
--n-gpu-layers 99
|
||||||
|
--ctx-size 16384
|
||||||
|
--predict 8192
|
||||||
--temp 0.7
|
--temp 0.7
|
||||||
--min-p 0.00
|
--min-p 0.00
|
||||||
--top-p 0.8
|
--top-p 0.8
|
||||||
@@ -201,12 +233,15 @@ models:
|
|||||||
--repeat-penalty 1.0
|
--repeat-penalty 1.0
|
||||||
--no-warmup
|
--no-warmup
|
||||||
--port ${PORT}
|
--port ${PORT}
|
||||||
|
|
||||||
"Qwen2.5-VL-7B-Instruct-GGUF":
|
"Qwen2.5-VL-7B-Instruct-GGUF":
|
||||||
ttl: 600
|
ttl: 600
|
||||||
cmd: |
|
cmd: |
|
||||||
/app/llama-server
|
/app/llama-server
|
||||||
-hf unsloth/Qwen2.5-VL-7B-Instruct-GGUF:Q4_K_M
|
-hf unsloth/Qwen2.5-VL-7B-Instruct-GGUF:Q4_K_M
|
||||||
-ngl 37 -c 16384 --predict 8192
|
--n-gpu-layers 37
|
||||||
|
--ctx-size 16384
|
||||||
|
--predict 8192
|
||||||
--temp 0.7
|
--temp 0.7
|
||||||
--min-p 0.00
|
--min-p 0.00
|
||||||
--top-p 0.8
|
--top-p 0.8
|
||||||
@@ -214,3 +249,220 @@ models:
|
|||||||
--repeat-penalty 1.0
|
--repeat-penalty 1.0
|
||||||
--no-warmup
|
--no-warmup
|
||||||
--port ${PORT}
|
--port ${PORT}
|
||||||
|
|
||||||
|
"Qwen3-VL-2B-Instruct-GGUF":
|
||||||
|
ttl: 600
|
||||||
|
cmd: |
|
||||||
|
/app/llama-server
|
||||||
|
-hf Qwen/Qwen3-VL-2B-Instruct-GGUF:Q8_0
|
||||||
|
--n-gpu-layers 99
|
||||||
|
--ctx-size 12288
|
||||||
|
--predict 4096
|
||||||
|
--flash-attn auto
|
||||||
|
--jinja
|
||||||
|
--temp 0.7
|
||||||
|
--top-p 0.85
|
||||||
|
--top-k 20
|
||||||
|
--min-p 0.05
|
||||||
|
--repeat-penalty 1.15
|
||||||
|
--frequency-penalty 0.5
|
||||||
|
--presence-penalty 0.4
|
||||||
|
--no-warmup
|
||||||
|
--port ${PORT}
|
||||||
|
|
||||||
|
"Qwen3-VL-4B-Instruct-GGUF":
|
||||||
|
ttl: 600
|
||||||
|
cmd: |
|
||||||
|
/app/llama-server
|
||||||
|
-hf Qwen/Qwen3-VL-4B-Instruct-GGUF:Q8_0
|
||||||
|
--n-gpu-layers 99
|
||||||
|
--ctx-size 12288
|
||||||
|
--predict 4096
|
||||||
|
--flash-attn auto
|
||||||
|
--jinja
|
||||||
|
--temp 0.7
|
||||||
|
--top-p 0.85
|
||||||
|
--top-k 20
|
||||||
|
--min-p 0.05
|
||||||
|
--repeat-penalty 1.15
|
||||||
|
--frequency-penalty 0.5
|
||||||
|
--presence-penalty 0.4
|
||||||
|
--no-warmup
|
||||||
|
--port ${PORT}
|
||||||
|
|
||||||
|
"Qwen3-VL-8B-Instruct-GGUF":
|
||||||
|
ttl: 600
|
||||||
|
cmd: |
|
||||||
|
/app/llama-server
|
||||||
|
-hf Qwen/Qwen3-VL-8B-Instruct-GGUF:Q4_K_M
|
||||||
|
--n-gpu-layers 99
|
||||||
|
--ctx-size 12288
|
||||||
|
--predict 4096
|
||||||
|
--flash-attn auto
|
||||||
|
--jinja
|
||||||
|
--temp 0.7
|
||||||
|
--top-p 0.85
|
||||||
|
--top-k 20
|
||||||
|
--min-p 0.05
|
||||||
|
--repeat-penalty 1.15
|
||||||
|
--frequency-penalty 0.5
|
||||||
|
--presence-penalty 0.4
|
||||||
|
--no-warmup
|
||||||
|
--port ${PORT}
|
||||||
|
|
||||||
|
"Qwen3-VL-2B-Instruct-GGUF-unslothish":
|
||||||
|
ttl: 600
|
||||||
|
cmd: |
|
||||||
|
/app/llama-server
|
||||||
|
-hf Qwen/Qwen3-VL-2B-Instruct-GGUF:Q8_0
|
||||||
|
--n-gpu-layers 99
|
||||||
|
--ctx-size 12288
|
||||||
|
--predict 4096
|
||||||
|
--flash-attn auto
|
||||||
|
--jinja
|
||||||
|
--temp 0.7
|
||||||
|
--top-p 0.8
|
||||||
|
--top-k 20
|
||||||
|
--min-p 0.05
|
||||||
|
--repeat-penalty 1.15
|
||||||
|
--frequency-penalty 0.5
|
||||||
|
--presence-penalty 0.6
|
||||||
|
--no-warmup
|
||||||
|
--port ${PORT}
|
||||||
|
|
||||||
|
"Qwen3-VL-4B-Instruct-GGUF-unslothish":
|
||||||
|
ttl: 600
|
||||||
|
cmd: |
|
||||||
|
/app/llama-server
|
||||||
|
-hf Qwen/Qwen3-VL-4B-Instruct-GGUF:Q8_0
|
||||||
|
--n-gpu-layers 99
|
||||||
|
--ctx-size 12288
|
||||||
|
--predict 4096
|
||||||
|
--flash-attn auto
|
||||||
|
--jinja
|
||||||
|
--temp 0.7
|
||||||
|
--top-p 0.8
|
||||||
|
--top-k 20
|
||||||
|
--min-p 0.05
|
||||||
|
--repeat-penalty 1.15
|
||||||
|
--frequency-penalty 0.5
|
||||||
|
--presence-penalty 0.6
|
||||||
|
--no-warmup
|
||||||
|
--port ${PORT}
|
||||||
|
|
||||||
|
"Qwen3-VL-8B-Instruct-GGUF-unslothish":
|
||||||
|
ttl: 600
|
||||||
|
cmd: |
|
||||||
|
/app/llama-server
|
||||||
|
-hf Qwen/Qwen3-VL-8B-Instruct-GGUF:Q4_K_M
|
||||||
|
--n-gpu-layers 99
|
||||||
|
--ctx-size 12288
|
||||||
|
--predict 4096
|
||||||
|
--flash-attn auto
|
||||||
|
--jinja
|
||||||
|
--temp 0.7
|
||||||
|
--top-p 0.8
|
||||||
|
--top-k 20
|
||||||
|
--min-p 0.05
|
||||||
|
--repeat-penalty 1.15
|
||||||
|
--frequency-penalty 0.5
|
||||||
|
--presence-penalty 0.6
|
||||||
|
--no-warmup
|
||||||
|
--port ${PORT}
|
||||||
|
|
||||||
|
"Qwen3-VL-2B-Thinking-GGUF":
|
||||||
|
ttl: 600
|
||||||
|
cmd: |
|
||||||
|
/app/llama-server
|
||||||
|
-hf Qwen/Qwen3-VL-2B-Thinking-GGUF:Q8_0
|
||||||
|
--n-gpu-layers 99
|
||||||
|
--ctx-size 12288
|
||||||
|
--predict 4096
|
||||||
|
--flash-attn auto
|
||||||
|
--jinja
|
||||||
|
--top-p 0.95
|
||||||
|
--top-k 20
|
||||||
|
--temp 1.0
|
||||||
|
--min-p 0.0
|
||||||
|
--repeat-penalty 1.0
|
||||||
|
--presence-penalty 0.0
|
||||||
|
--no-warmup
|
||||||
|
--port ${PORT}
|
||||||
|
|
||||||
|
"Qwen3-VL-4B-Thinking-GGUF":
|
||||||
|
ttl: 600
|
||||||
|
cmd: |
|
||||||
|
/app/llama-server
|
||||||
|
-hf Qwen/Qwen3-VL-4B-Thinking-GGUF:Q4_K_M
|
||||||
|
--n-gpu-layers 99
|
||||||
|
--ctx-size 12288
|
||||||
|
--predict 4096
|
||||||
|
--flash-attn auto
|
||||||
|
--jinja
|
||||||
|
--top-p 0.95
|
||||||
|
--top-k 20
|
||||||
|
--temp 1.0
|
||||||
|
--min-p 0.0
|
||||||
|
--repeat-penalty 1.0
|
||||||
|
--presence-penalty 0.0
|
||||||
|
--no-warmup
|
||||||
|
--port ${PORT}
|
||||||
|
|
||||||
|
"Qwen3-VL-8B-Thinking-GGUF":
|
||||||
|
ttl: 600
|
||||||
|
cmd: |
|
||||||
|
/app/llama-server
|
||||||
|
-hf Qwen/Qwen3-VL-8B-Thinking-GGUF:Q4_K_M
|
||||||
|
--n-gpu-layers 99
|
||||||
|
--ctx-size 12288
|
||||||
|
--predict 4096
|
||||||
|
--flash-attn auto
|
||||||
|
--jinja
|
||||||
|
--top-p 0.95
|
||||||
|
--top-k 20
|
||||||
|
--temp 1.0
|
||||||
|
--min-p 0.0
|
||||||
|
--repeat-penalty 1.0
|
||||||
|
--presence-penalty 0.0
|
||||||
|
--no-warmup
|
||||||
|
--port ${PORT}
|
||||||
|
|
||||||
|
"Huihui-Qwen3-VL-8B-Instruct-abliterated-GGUF":
|
||||||
|
ttl: 600
|
||||||
|
cmd: |
|
||||||
|
/app/llama-server
|
||||||
|
-hf noctrex/Huihui-Qwen3-VL-8B-Instruct-abliterated-GGUF:Q6_K
|
||||||
|
--n-gpu-layers 99
|
||||||
|
--ctx-size 12288
|
||||||
|
--predict 4096
|
||||||
|
--flash-attn auto
|
||||||
|
--jinja
|
||||||
|
--temp 0.7
|
||||||
|
--top-p 0.85
|
||||||
|
--top-k 20
|
||||||
|
--min-p 0.05
|
||||||
|
--repeat-penalty 1.15
|
||||||
|
--frequency-penalty 0.5
|
||||||
|
--presence-penalty 0.4
|
||||||
|
--no-warmup
|
||||||
|
--port ${PORT}
|
||||||
|
|
||||||
|
"Huihui-Qwen3-VL-8B-Thinking-abliterated-GGUF":
|
||||||
|
ttl: 600
|
||||||
|
cmd: |
|
||||||
|
/app/llama-server
|
||||||
|
-hf noctrex/Huihui-Qwen3-VL-8B-Thinking-abliterated-GGUF:Q6_K
|
||||||
|
--n-gpu-layers 99
|
||||||
|
--ctx-size 12288
|
||||||
|
--predict 4096
|
||||||
|
--flash-attn auto
|
||||||
|
--jinja
|
||||||
|
--temp 0.7
|
||||||
|
--top-p 0.85
|
||||||
|
--top-k 20
|
||||||
|
--min-p 0.05
|
||||||
|
--repeat-penalty 1.15
|
||||||
|
--frequency-penalty 0.5
|
||||||
|
--presence-penalty 0.4
|
||||||
|
--no-warmup
|
||||||
|
--port ${PORT}
|
||||||
@@ -16,7 +16,7 @@ spec:
|
|||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- name: llama-swap
|
- name: llama-swap
|
||||||
image: ghcr.io/mostlygeek/llama-swap:v166-vulkan-b6795
|
image: ghcr.io/mostlygeek/llama-swap:v172-vulkan-b7062
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command:
|
command:
|
||||||
- /app/llama-swap
|
- /app/llama-swap
|
||||||
@@ -29,7 +29,7 @@ spec:
|
|||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: models
|
- name: models
|
||||||
mountPath: /root/.cache
|
mountPath: /app/.cache
|
||||||
- mountPath: /dev/kfd
|
- mountPath: /dev/kfd
|
||||||
name: kfd
|
name: kfd
|
||||||
- mountPath: /dev/dri
|
- mountPath: /dev/dri
|
||||||
|
|||||||
@@ -1,14 +1,28 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: ConfigMap
|
kind: ConfigMap
|
||||||
metadata:
|
metadata:
|
||||||
name: nas-sshd-config
|
name: nas-sftp-config
|
||||||
namespace: nas
|
namespace: nas
|
||||||
data:
|
data:
|
||||||
00-chroot.conf: |
|
sftp.json: |
|
||||||
Subsystem sftp internal-sftp
|
{
|
||||||
Match User nas
|
"Global": {
|
||||||
ChrootDirectory /config
|
"Chroot": {
|
||||||
ForceCommand internal-sftp -d /data
|
"Directory": "%h",
|
||||||
AllowTcpForwarding no
|
"StartPath": "data"
|
||||||
X11Forwarding no
|
},
|
||||||
PermitTunnel no
|
"Directories": [
|
||||||
|
"data"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"Users": [
|
||||||
|
{
|
||||||
|
"Username": "nas",
|
||||||
|
"UID": 1000,
|
||||||
|
"GID": 1000,
|
||||||
|
"PublicKeys": [
|
||||||
|
"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCresbDFZijI+rZMgd3LdciPjpb4x4S5B7y0U+EoYPaz6hILT72fyz3QdcgKJJv8JUJI6g0811/yFRuOzCXgWaA922c/S/t6HMUrorh7mPVQMTN2dc/SVBvMa7S2M9NYBj6z1X2LRHs+g1JTMCtL202PIjes/E9qu0as0Vx6n/6HHNmtmA9LrpiAmurbeKXDmrYe2yWg/FA6cX5d86SJb21Dj8WqdCd3Hz0Pi6FzMKXhpWvs5Hfei1htsjsRzCxkpSTjlgFEFVfmHIXPfB06Sa6aCnkxAFnE7N+xNa9RIWeZmOXdA74LsfSKQ9eAXSrsC/IRxo2ce8cBzXJy+Itxw24fUqGYXBiCgx8i3ZA9IdwI1u71xYo9lyNjav5VykzKnAHRAYnDm9UsCf8k04reBevcLdtxL11vPCtind3xn76Nhy2b45dcp/MdYFANGsCcXJOMb6Aisb03HPGhs/aU3tCAQbTVe195mL9FWhGqIK2wBmF1SKW+4ssX2bIU6YaCYc= cardno:23_671_999"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|||||||
@@ -1,84 +1,58 @@
|
|||||||
apiVersion: apps/v1
|
apiVersion: apps/v1
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: nas-ssh
|
name: nas-sftp
|
||||||
namespace: nas
|
namespace: nas
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: nas-ssh
|
app: nas-sftp
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
app: nas-ssh
|
app: nas-sftp
|
||||||
spec:
|
spec:
|
||||||
securityContext:
|
|
||||||
fsGroup: 1000
|
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: prepare-config
|
- name: prepare-home
|
||||||
image: alpine:3.20.3
|
image: alpine:3.23.3
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
command:
|
command:
|
||||||
- /bin/sh
|
- /bin/sh
|
||||||
- -c
|
- -c
|
||||||
- |
|
- |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
chown root:root /config
|
mkdir -p /volume/sftp-root
|
||||||
chmod 755 /config
|
chown root:root /volume/sftp-root
|
||||||
mkdir -p /config/data
|
chmod 755 /volume/sftp-root
|
||||||
chown 1000:1000 /config/data
|
mkdir -p /volume/sftp-root/data
|
||||||
chmod 750 /config/data
|
chown 1000:1000 /volume/sftp-root/data
|
||||||
mkdir -p /config/ssh_host_keys
|
chmod 750 /volume/sftp-root/data
|
||||||
chown root:root /config/ssh_host_keys
|
mkdir -p /volume/host-keys
|
||||||
chmod 700 /config/ssh_host_keys
|
chown root:root /volume/host-keys
|
||||||
for key in /config/ssh_host_keys/*; do
|
chmod 700 /volume/host-keys
|
||||||
[ -f "$key" ] || continue
|
|
||||||
chown root:root "$key"
|
|
||||||
chmod 600 "$key"
|
|
||||||
done
|
|
||||||
mkdir -p /config/sshd/sshd_config.d
|
|
||||||
cp /defaults/00-chroot.conf /config/sshd/sshd_config.d/00-chroot.conf
|
|
||||||
chown root:root /config/sshd/sshd_config.d/00-chroot.conf
|
|
||||||
chmod 644 /config/sshd/sshd_config.d/00-chroot.conf
|
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: home
|
||||||
mountPath: /config
|
mountPath: /volume
|
||||||
- name: sshd-config
|
|
||||||
mountPath: /defaults/00-chroot.conf
|
|
||||||
subPath: 00-chroot.conf
|
|
||||||
readOnly: true
|
|
||||||
containers:
|
containers:
|
||||||
- name: ssh
|
- name: sftp
|
||||||
image: lscr.io/linuxserver/openssh-server:version-10.0_p1-r9
|
image: docker.io/emberstack/sftp:build-5.1.72
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
env:
|
|
||||||
- name: PUID
|
|
||||||
value: "1000"
|
|
||||||
- name: PGID
|
|
||||||
value: "1000"
|
|
||||||
- name: TZ
|
|
||||||
value: Etc/UTC
|
|
||||||
- name: USER_NAME
|
|
||||||
value: nas
|
|
||||||
- name: SUDO_ACCESS
|
|
||||||
value: "false"
|
|
||||||
- name: PASSWORD_ACCESS
|
|
||||||
value: "false"
|
|
||||||
- name: LOG_STDOUT
|
|
||||||
value: "true"
|
|
||||||
- name: PUBLIC_KEY
|
|
||||||
valueFrom:
|
|
||||||
secretKeyRef:
|
|
||||||
name: nas-ssh-authorized-keys
|
|
||||||
key: public_key
|
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 2222
|
- containerPort: 22
|
||||||
name: ssh
|
name: sftp
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: data
|
- name: config
|
||||||
mountPath: /config
|
mountPath: /app/config/sftp.json
|
||||||
|
subPath: sftp.json
|
||||||
|
readOnly: true
|
||||||
|
- name: home
|
||||||
|
mountPath: /home/nas
|
||||||
|
subPath: sftp-root
|
||||||
|
- name: home
|
||||||
|
mountPath: /etc/ssh/keys
|
||||||
|
subPath: host-keys
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 50m
|
cpu: 50m
|
||||||
@@ -86,9 +60,9 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: home
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: nas-data
|
claimName: nas-data-lvm-hdd
|
||||||
- name: sshd-config
|
- name: config
|
||||||
configMap:
|
configMap:
|
||||||
name: nas-sshd-config
|
name: nas-sftp-config
|
||||||
|
|||||||
@@ -2,7 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- namespace.yaml
|
- namespace.yaml
|
||||||
- secret.yaml
|
|
||||||
- configmap.yaml
|
- configmap.yaml
|
||||||
- pvc.yaml
|
- pvc.yaml
|
||||||
- deployment.yaml
|
- deployment.yaml
|
||||||
|
|||||||
@@ -1,12 +1,49 @@
|
|||||||
|
apiVersion: local.openebs.io/v1alpha1
|
||||||
|
kind: LVMVolume
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
kubernetes.io/nodename: anapistula-delrosalae
|
||||||
|
name: nas-data-lvm-hdd
|
||||||
|
namespace: openebs
|
||||||
|
spec:
|
||||||
|
capacity: 4Gi
|
||||||
|
ownerNodeID: anapistula-delrosalae
|
||||||
|
shared: "yes"
|
||||||
|
thinProvision: "no"
|
||||||
|
vgPattern: ^openebs-hdd$
|
||||||
|
volGroup: openebs-hdd
|
||||||
|
---
|
||||||
|
kind: PersistentVolume
|
||||||
|
apiVersion: v1
|
||||||
|
metadata:
|
||||||
|
name: nas-data-lvm-hdd
|
||||||
|
spec:
|
||||||
|
capacity:
|
||||||
|
storage: 4Gi
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
persistentVolumeReclaimPolicy: Delete
|
||||||
|
storageClassName: openebs-lvmpv
|
||||||
|
volumeMode: Filesystem
|
||||||
|
csi:
|
||||||
|
driver: local.csi.openebs.io
|
||||||
|
volumeHandle: nas-data-lvm-hdd
|
||||||
|
claimRef:
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: PersistentVolumeClaim
|
kind: PersistentVolumeClaim
|
||||||
|
namespace: nas
|
||||||
|
name: nas-data-lvm-hdd
|
||||||
|
---
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
apiVersion: v1
|
||||||
metadata:
|
metadata:
|
||||||
name: nas-data
|
name: nas-data-lvm-hdd
|
||||||
namespace: nas
|
namespace: nas
|
||||||
spec:
|
spec:
|
||||||
|
storageClassName: openebs-lvmpv
|
||||||
accessModes:
|
accessModes:
|
||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: 500Gi
|
storage: 4Gi
|
||||||
storageClassName: mayastor-single-hdd
|
volumeName: nas-data-lvm-hdd
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
apiVersion: v1
|
|
||||||
kind: Secret
|
|
||||||
metadata:
|
|
||||||
name: nas-ssh-authorized-keys
|
|
||||||
namespace: nas
|
|
||||||
type: Opaque
|
|
||||||
stringData:
|
|
||||||
public_key: |
|
|
||||||
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCresbDFZijI+rZMgd3LdciPjpb4x4S5B7y0U+EoYPaz6hILT72fyz3QdcgKJJv8JUJI6g0811/yFRuOzCXgWaA922c/S/t6HMUrorh7mPVQMTN2dc/SVBvMa7S2M9NYBj6z1X2LRHs+g1JTMCtL202PIjes/E9qu0as0Vx6n/6HHNmtmA9LrpiAmurbeKXDmrYe2yWg/FA6cX5d86SJb21Dj8WqdCd3Hz0Pi6FzMKXhpWvs5Hfei1htsjsRzCxkpSTjlgFEFVfmHIXPfB06Sa6aCnkxAFnE7N+xNa9RIWeZmOXdA74LsfSKQ9eAXSrsC/IRxo2ce8cBzXJy+Itxw24fUqGYXBiCgx8i3ZA9IdwI1u71xYo9lyNjav5VykzKnAHRAYnDm9UsCf8k04reBevcLdtxL11vPCtind3xn76Nhy2b45dcp/MdYFANGsCcXJOMb6Aisb03HPGhs/aU3tCAQbTVe195mL9FWhGqIK2wBmF1SKW+4ssX2bIU6YaCYc= cardno:23_671_999
|
|
||||||
@@ -1,15 +1,15 @@
|
|||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
metadata:
|
metadata:
|
||||||
name: nas-ssh
|
name: nas-sftp
|
||||||
namespace: nas
|
namespace: nas
|
||||||
spec:
|
spec:
|
||||||
type: LoadBalancer
|
type: LoadBalancer
|
||||||
externalTrafficPolicy: Cluster
|
externalTrafficPolicy: Cluster
|
||||||
ports:
|
ports:
|
||||||
- name: ssh
|
- name: sftp
|
||||||
port: 22
|
port: 22
|
||||||
targetPort: 2222
|
targetPort: 22
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
selector:
|
selector:
|
||||||
app: nas-ssh
|
app: nas-sftp
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ spec:
|
|||||||
- name: renovate
|
- name: renovate
|
||||||
# Update this to the latest available and then enable Renovate on
|
# Update this to the latest available and then enable Renovate on
|
||||||
# the manifest
|
# the manifest
|
||||||
image: renovate/renovate:41.169.1-full
|
image: renovate/renovate:43.4.1-full
|
||||||
envFrom:
|
envFrom:
|
||||||
- secretRef:
|
- secretRef:
|
||||||
name: renovate-gitea-token
|
name: renovate-gitea-token
|
||||||
|
|||||||
@@ -1,17 +1,34 @@
|
|||||||
{
|
{
|
||||||
"nodes": {
|
"nodes": {
|
||||||
"flake-compat": {
|
"devenv": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1733328505,
|
"dir": "src/modules",
|
||||||
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
|
"lastModified": 1769881431,
|
||||||
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
|
"owner": "cachix",
|
||||||
"revCount": 69,
|
"repo": "devenv",
|
||||||
"type": "tarball",
|
"rev": "72d5e66e2dd5112766ef4c9565872b51094b542d",
|
||||||
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"dir": "src/modules",
|
||||||
"url": "https://flakehub.com/f/edolstra/flake-compat/1.1.0.tar.gz"
|
"owner": "cachix",
|
||||||
|
"repo": "devenv",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"flake-compat": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1767039857,
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "flake-compat",
|
||||||
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"flake-utils": {
|
"flake-utils": {
|
||||||
@@ -20,7 +37,6 @@
|
|||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1731533236,
|
"lastModified": 1731533236,
|
||||||
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
|
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "flake-utils",
|
"repo": "flake-utils",
|
||||||
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
|
||||||
@@ -32,6 +48,47 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"git-hooks": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-compat": "flake-compat",
|
||||||
|
"gitignore": "gitignore",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1769069492,
|
||||||
|
"owner": "cachix",
|
||||||
|
"repo": "git-hooks.nix",
|
||||||
|
"rev": "a1ef738813b15cf8ec759bdff5761b027e3e1d23",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "cachix",
|
||||||
|
"repo": "git-hooks.nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"gitignore": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"git-hooks",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1762808025,
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "gitignore.nix",
|
||||||
|
"rev": "cb5e3fdca1de58ccbc3ef53de65bd372b48f567c",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "gitignore.nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"krew2nix": {
|
"krew2nix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
@@ -42,11 +99,10 @@
|
|||||||
"treefmt-nix": "treefmt-nix"
|
"treefmt-nix": "treefmt-nix"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751765453,
|
"lastModified": 1769904483,
|
||||||
"narHash": "sha256-tgo3BwFM2UUYQz6dVARztbj5AjKfz4exlPxnKLS/ZRg=",
|
|
||||||
"owner": "a1994sc",
|
"owner": "a1994sc",
|
||||||
"repo": "krew2nix",
|
"repo": "krew2nix",
|
||||||
"rev": "11f66e65a0146645388eeab68b6212de0b732ed9",
|
"rev": "17d6ad3375899bd3f7d4d298481536155f3ec13c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -57,11 +113,10 @@
|
|||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1751637120,
|
"lastModified": 1769461804,
|
||||||
"narHash": "sha256-xVNy/XopSfIG9c46nRmPaKfH1Gn/56vQ8++xWA8itO4=",
|
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "5c724ed1388e53cc231ed98330a60eb2f7be4be3",
|
"rev": "bfc1b8a4574108ceef22f02bafcf6611380c100d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
@@ -73,15 +128,18 @@
|
|||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat",
|
"devenv": "devenv",
|
||||||
|
"git-hooks": "git-hooks",
|
||||||
"krew2nix": "krew2nix",
|
"krew2nix": "krew2nix",
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs",
|
||||||
|
"pre-commit-hooks": [
|
||||||
|
"git-hooks"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
"owner": "nix-systems",
|
||||||
"repo": "default",
|
"repo": "default",
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
@@ -96,7 +154,6 @@
|
|||||||
"systems_2": {
|
"systems_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681028828,
|
"lastModified": 1681028828,
|
||||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
|
||||||
"owner": "nix-systems",
|
"owner": "nix-systems",
|
||||||
"repo": "default",
|
"repo": "default",
|
||||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||||
@@ -116,11 +173,10 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1750931469,
|
"lastModified": 1769691507,
|
||||||
"narHash": "sha256-0IEdQB1nS+uViQw4k3VGUXntjkDp7aAlqcxdewb/hAc=",
|
|
||||||
"owner": "numtide",
|
"owner": "numtide",
|
||||||
"repo": "treefmt-nix",
|
"repo": "treefmt-nix",
|
||||||
"rev": "ac8e6f32e11e9c7f153823abc3ab007f2a65d3e1",
|
"rev": "28b19c5844cc6e2257801d43f2772a4b4c050a1b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
59
devenv.nix
Normal file
59
devenv.nix
Normal file
@@ -0,0 +1,59 @@
|
|||||||
|
{ pkgs, lib, config, inputs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
# Python with hvac package
|
||||||
|
python = pkgs.python313.withPackages (python-pkgs: with python-pkgs; [
|
||||||
|
hvac
|
||||||
|
]);
|
||||||
|
in
|
||||||
|
{
|
||||||
|
# Overlays - apply krew2nix to get kubectl with krew support
|
||||||
|
overlays = [
|
||||||
|
inputs.krew2nix.overlay
|
||||||
|
];
|
||||||
|
|
||||||
|
# Environment variables
|
||||||
|
env = {
|
||||||
|
GREET = "devenv";
|
||||||
|
TALOSCONFIG = "${config.devenv.root}/talos/generated/talosconfig";
|
||||||
|
EDITOR = "vim";
|
||||||
|
RESTIC_REPOSITORY = "s3:https://s3.eu-central-003.backblazeb2.com/lumpiasty-backups";
|
||||||
|
VAULT_ADDR = "https://openbao.lumpiasty.xyz:8200";
|
||||||
|
PATH = "${config.devenv.root}/utils:${pkgs.coreutils}/bin";
|
||||||
|
PYTHON_BIN = "${python}/bin/python";
|
||||||
|
};
|
||||||
|
|
||||||
|
# Packages
|
||||||
|
packages = with pkgs; [
|
||||||
|
python
|
||||||
|
vim gnumake
|
||||||
|
talosctl cilium-cli
|
||||||
|
kubectx k9s kubernetes-helm
|
||||||
|
(kubectl.withKrewPlugins (plugins: with plugins; [
|
||||||
|
mayastor
|
||||||
|
openebs
|
||||||
|
]))
|
||||||
|
ansible
|
||||||
|
fluxcd
|
||||||
|
restic
|
||||||
|
openbao
|
||||||
|
pv-migrate
|
||||||
|
];
|
||||||
|
|
||||||
|
# Scripts
|
||||||
|
scripts.hello.exec = ''
|
||||||
|
echo hello from $GREET
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Shell hooks
|
||||||
|
enterShell = ''
|
||||||
|
source ${pkgs.bash-completion}/share/bash-completion/bash_completion
|
||||||
|
echo "Environment ready!"
|
||||||
|
'';
|
||||||
|
|
||||||
|
# Tests
|
||||||
|
enterTest = ''
|
||||||
|
echo "Running tests"
|
||||||
|
git --version | grep --color=auto "${pkgs.git.version}"
|
||||||
|
'';
|
||||||
|
}
|
||||||
20
devenv.yaml
Normal file
20
devenv.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# yaml-language-server: $schema=https://devenv.sh/devenv.schema.json
|
||||||
|
inputs:
|
||||||
|
nixpkgs:
|
||||||
|
url: github:NixOS/nixpkgs/nixos-unstable
|
||||||
|
krew2nix:
|
||||||
|
url: github:a1994sc/krew2nix
|
||||||
|
inputs:
|
||||||
|
nixpkgs:
|
||||||
|
follows: nixpkgs
|
||||||
|
|
||||||
|
# If you're using non-OSS software, you can set allowUnfree to true.
|
||||||
|
# allowUnfree: true
|
||||||
|
|
||||||
|
# If you're willing to use a package that's vulnerable
|
||||||
|
# permittedInsecurePackages:
|
||||||
|
# - "openssl-1.1.1w"
|
||||||
|
|
||||||
|
# If you have more than one devenv you can merge them
|
||||||
|
#imports:
|
||||||
|
# - ./backend
|
||||||
62
flake.nix
62
flake.nix
@@ -1,62 +0,0 @@
|
|||||||
{
|
|
||||||
inputs = {
|
|
||||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
||||||
|
|
||||||
# Only to ease updating flake.lock, flake-compat is used by shell.nix
|
|
||||||
flake-compat.url = https://flakehub.com/f/edolstra/flake-compat/1.1.0.tar.gz;
|
|
||||||
|
|
||||||
# Allows us to install krew plugins
|
|
||||||
krew2nix.url = "github:a1994sc/krew2nix";
|
|
||||||
krew2nix.inputs.nixpkgs.follows = "nixpkgs";
|
|
||||||
};
|
|
||||||
|
|
||||||
outputs = { self, nixpkgs, krew2nix, ... }: let
|
|
||||||
system = "x86_64-linux";
|
|
||||||
in {
|
|
||||||
devShells."${system}".default =
|
|
||||||
let
|
|
||||||
pkgs = import nixpkgs {
|
|
||||||
overlays = [ krew2nix.overlay ];
|
|
||||||
inherit system;
|
|
||||||
};
|
|
||||||
python = (pkgs.python313.withPackages (python-pkgs: with python-pkgs; [
|
|
||||||
hvac
|
|
||||||
]));
|
|
||||||
in
|
|
||||||
pkgs.mkShell {
|
|
||||||
packages = with pkgs; [
|
|
||||||
python
|
|
||||||
vim gnumake
|
|
||||||
talosctl cilium-cli
|
|
||||||
kubectx k9s kubernetes-helm
|
|
||||||
(kubectl.withKrewPlugins (plugins: with plugins; [
|
|
||||||
mayastor
|
|
||||||
openebs
|
|
||||||
]))
|
|
||||||
ansible
|
|
||||||
fluxcd
|
|
||||||
restic
|
|
||||||
openbao
|
|
||||||
];
|
|
||||||
|
|
||||||
shellHook = ''
|
|
||||||
# Get completions working
|
|
||||||
source ${pkgs.bash-completion}/share/bash-completion/bash_completion
|
|
||||||
|
|
||||||
export TALOSCONFIG=$(pwd)/talos/generated/talosconfig
|
|
||||||
export EDITOR=vim
|
|
||||||
|
|
||||||
export RESTIC_REPOSITORY=s3:https://s3.eu-central-003.backblazeb2.com/lumpiasty-backups
|
|
||||||
# export AWS_ACCESS_KEY_ID=?
|
|
||||||
# export AWS_SECRET_ACCESS_KEY=?
|
|
||||||
# export RESTIC_PASSWORD=?
|
|
||||||
export VAULT_ADDR=https://openbao.lumpiasty.xyz:8200
|
|
||||||
|
|
||||||
# Add scripts from utils subdir
|
|
||||||
export PATH="$PATH:$(pwd)/utils"
|
|
||||||
|
|
||||||
export PYTHON_BIN=${python}/bin/python
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
12
infra/configs/lvmpv-hdd-sc.yaml
Normal file
12
infra/configs/lvmpv-hdd-sc.yaml
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
apiVersion: storage.k8s.io/v1
|
||||||
|
kind: StorageClass
|
||||||
|
metadata:
|
||||||
|
name: hdd-lvmpv
|
||||||
|
parameters:
|
||||||
|
storage: "lvm"
|
||||||
|
volgroup: "openebs-hdd"
|
||||||
|
fsType: "btrfs"
|
||||||
|
shared: "yes"
|
||||||
|
provisioner: local.csi.openebs.io
|
||||||
|
allowVolumeExpansion: true
|
||||||
|
volumeBindingMode: Immediate
|
||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: cert-manager
|
chart: cert-manager
|
||||||
version: v1.19.1
|
version: v1.19.3
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: cert-manager
|
name: cert-manager
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: cilium
|
chart: cilium
|
||||||
version: 1.18.2
|
version: 1.18.6
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: cilium
|
name: cilium
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: cloudnative-pg
|
chart: cloudnative-pg
|
||||||
version: 0.26.0
|
version: 0.27.0
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: cnpg
|
name: cnpg
|
||||||
|
|||||||
@@ -97,7 +97,7 @@ spec:
|
|||||||
env:
|
env:
|
||||||
- name: GOMEMLIMIT
|
- name: GOMEMLIMIT
|
||||||
value: 161MiB
|
value: 161MiB
|
||||||
image: registry.k8s.io/coredns/coredns:v1.13.0
|
image: registry.k8s.io/coredns/coredns:v1.14.1
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
failureThreshold: 5
|
failureThreshold: 5
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: ingress-nginx
|
chart: ingress-nginx
|
||||||
version: 4.13.3
|
version: 4.14.3
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: ingress-nginx
|
name: ingress-nginx
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: openbao
|
chart: openbao
|
||||||
version: 0.19.0
|
version: 0.25.0
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: openbao
|
name: openbao
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: openebs
|
chart: openebs
|
||||||
version: 4.3.3
|
version: 4.4.0
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: openebs
|
name: openebs
|
||||||
@@ -38,7 +38,7 @@ spec:
|
|||||||
lvm-localpv:
|
lvm-localpv:
|
||||||
crds:
|
crds:
|
||||||
lmvLocalPv:
|
lmvLocalPv:
|
||||||
enabled: false
|
enabled: true
|
||||||
|
|
||||||
mayastor:
|
mayastor:
|
||||||
csi:
|
csi:
|
||||||
@@ -124,7 +124,7 @@ spec:
|
|||||||
engines:
|
engines:
|
||||||
local:
|
local:
|
||||||
lvm:
|
lvm:
|
||||||
enabled: false
|
enabled: true
|
||||||
zfs:
|
zfs:
|
||||||
enabled: false
|
enabled: false
|
||||||
replicated:
|
replicated:
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ spec:
|
|||||||
chart:
|
chart:
|
||||||
spec:
|
spec:
|
||||||
chart: vault-secrets-operator
|
chart: vault-secrets-operator
|
||||||
version: 1.0.1
|
version: 1.2.0
|
||||||
sourceRef:
|
sourceRef:
|
||||||
kind: HelmRepository
|
kind: HelmRepository
|
||||||
name: hashicorp
|
name: hashicorp
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ resources:
|
|||||||
- configs/loadbalancer-ippool.yaml
|
- configs/loadbalancer-ippool.yaml
|
||||||
- configs/single-hdd-sc.yaml
|
- configs/single-hdd-sc.yaml
|
||||||
- configs/single-ssd-sc.yaml
|
- configs/single-ssd-sc.yaml
|
||||||
|
- configs/lvmpv-hdd-sc.yaml
|
||||||
- configs/mayastor-snapshotclass.yaml
|
- configs/mayastor-snapshotclass.yaml
|
||||||
- configs/openbao-cert.yaml
|
- configs/openbao-cert.yaml
|
||||||
- configs/ovh-cert-manager-secret.yaml
|
- configs/ovh-cert-manager-secret.yaml
|
||||||
|
|||||||
15
shell.nix
15
shell.nix
@@ -1,15 +0,0 @@
|
|||||||
# Needed for Nix Environment Selector
|
|
||||||
# https://github.com/edolstra/flake-compat/
|
|
||||||
(import
|
|
||||||
(
|
|
||||||
let
|
|
||||||
lock = builtins.fromJSON (builtins.readFile ./flake.lock);
|
|
||||||
nodeName = lock.nodes.root.inputs.flake-compat;
|
|
||||||
in
|
|
||||||
fetchTarball {
|
|
||||||
url = lock.nodes.${nodeName}.locked.url;
|
|
||||||
sha256 = lock.nodes.${nodeName}.locked.narHash;
|
|
||||||
}
|
|
||||||
)
|
|
||||||
{ src = ./.; }
|
|
||||||
).shellNix
|
|
||||||
146
utils/kubectl-run-with-pvc.sh
Executable file
146
utils/kubectl-run-with-pvc.sh
Executable file
@@ -0,0 +1,146 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# A utility script to run a kubectl pod with one or more PVCs mounted.
|
||||||
|
# Original: https://gist.github.com/yuanying/3aa7d59dcce65470804ab43def646ab6
|
||||||
|
# Modified to add help message, -n and -x options, and other improvements.
|
||||||
|
|
||||||
|
IMAGE="gcr.io/google-containers/ubuntu-slim:0.14"
|
||||||
|
COMMAND="/bin/bash"
|
||||||
|
NAMESPACE=""
|
||||||
|
CONTEXT=""
|
||||||
|
SUFFIX=$(date +%s | shasum | base64 | fold -w 10 | head -1 | tr '[:upper:]' '[:lower:]')
|
||||||
|
|
||||||
|
usage_exit() {
|
||||||
|
cat <<EOF
|
||||||
|
kubectl-run-with-pvc - Run a temporary pod with PersistentVolumeClaims mounted
|
||||||
|
|
||||||
|
USAGE:
|
||||||
|
$0 [-c command] [-i image] [-n namespace] [-x context] [-h] PVC [PVC ...]
|
||||||
|
|
||||||
|
DESCRIPTION:
|
||||||
|
Creates an ephemeral Kubernetes pod that mounts one or more PersistentVolumeClaims (PVCs).
|
||||||
|
Each PVC is mounted at /pvcs/<claimName>. The pod is automatically removed when you exit.
|
||||||
|
|
||||||
|
Useful for inspecting, debugging, or manipulating data in PVCs without having to deploy
|
||||||
|
a persistent pod or job.
|
||||||
|
|
||||||
|
OPTIONS:
|
||||||
|
-i IMAGE
|
||||||
|
Container image to use in the pod.
|
||||||
|
Default: gcr.io/google-containers/ubuntu-slim:0.14
|
||||||
|
|
||||||
|
-c COMMAND
|
||||||
|
Command to execute in the container.
|
||||||
|
Default: /bin/bash
|
||||||
|
|
||||||
|
-n NAMESPACE
|
||||||
|
Kubernetes namespace where the pod will be created.
|
||||||
|
Default: current namespace (from kubectl config)
|
||||||
|
|
||||||
|
-x CONTEXT
|
||||||
|
kubectl context to use for this operation.
|
||||||
|
Default: current context (from kubectl config)
|
||||||
|
|
||||||
|
-h
|
||||||
|
Display this help message and exit.
|
||||||
|
|
||||||
|
EXAMPLES:
|
||||||
|
# Mount a single PVC and get an interactive shell
|
||||||
|
$0 my-pvc
|
||||||
|
|
||||||
|
# Mount multiple PVCs
|
||||||
|
$0 data-pvc logs-pvc config-pvc
|
||||||
|
|
||||||
|
# Use a specific namespace
|
||||||
|
$0 -n my-namespace my-pvc
|
||||||
|
|
||||||
|
# Use a different context and namespace
|
||||||
|
$0 -x prod-cluster -n production my-pvc
|
||||||
|
|
||||||
|
# Use Alpine Linux instead of Ubuntu
|
||||||
|
$0 -i alpine:latest -c sh my-pvc
|
||||||
|
|
||||||
|
# Run a command non-interactively
|
||||||
|
$0 -c "ls -lh /pvcs/my-pvc" my-pvc
|
||||||
|
|
||||||
|
MOUNT PATHS:
|
||||||
|
Each PVC is mounted to: /pvcs/<claimName>
|
||||||
|
|
||||||
|
Example: If you mount 'database-pvc', it will be at /pvcs/database-pvc
|
||||||
|
|
||||||
|
NOTES:
|
||||||
|
- Pod name is auto-generated: pvc-mounter-<random-suffix>
|
||||||
|
- Pod is removed when you exit (--rm flag)
|
||||||
|
- Uses hostNetwork: true for networking access
|
||||||
|
- Requires kubectl configured and permissions to create pods
|
||||||
|
|
||||||
|
PREREQUISITES:
|
||||||
|
- kubectl installed and configured
|
||||||
|
- PVCs must already exist in the target namespace
|
||||||
|
- User must have permission to create pods in the target namespace
|
||||||
|
|
||||||
|
EOF
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
while getopts i:c:n:x:h OPT
|
||||||
|
do
|
||||||
|
case $OPT in
|
||||||
|
i) IMAGE=$OPTARG
|
||||||
|
;;
|
||||||
|
c) COMMAND=$OPTARG
|
||||||
|
;;
|
||||||
|
n) NAMESPACE=$OPTARG
|
||||||
|
;;
|
||||||
|
x) CONTEXT=$OPTARG
|
||||||
|
;;
|
||||||
|
h) usage_exit
|
||||||
|
;;
|
||||||
|
\?) usage_exit
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
shift $(($OPTIND - 1))
|
||||||
|
|
||||||
|
# Require at least one PVC
|
||||||
|
if [ $# -eq 0 ]; then
|
||||||
|
echo "Error: At least one PVC name is required" 1>&2
|
||||||
|
usage_exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
VOL_MOUNTS=""
|
||||||
|
VOLS=""
|
||||||
|
COMMA=""
|
||||||
|
|
||||||
|
for i in $@
|
||||||
|
do
|
||||||
|
VOL_MOUNTS="${VOL_MOUNTS}${COMMA}{\"name\": \"${i}\",\"mountPath\": \"/pvcs/${i}\"}"
|
||||||
|
VOLS="${VOLS}${COMMA}{\"name\": \"${i}\",\"persistentVolumeClaim\": {\"claimName\": \"${i}\"}}"
|
||||||
|
COMMA=","
|
||||||
|
done
|
||||||
|
|
||||||
|
KUBECTL_CMD="kubectl"
|
||||||
|
[ -n "$CONTEXT" ] && KUBECTL_CMD="$KUBECTL_CMD --context=$CONTEXT"
|
||||||
|
[ -n "$NAMESPACE" ] && KUBECTL_CMD="$KUBECTL_CMD --namespace=$NAMESPACE"
|
||||||
|
|
||||||
|
$KUBECTL_CMD run -it --rm --restart=Never --image=${IMAGE} pvc-mounter-${SUFFIX} --overrides "
|
||||||
|
{
|
||||||
|
\"spec\": {
|
||||||
|
\"containers\":[
|
||||||
|
{
|
||||||
|
\"args\": [\"${COMMAND}\"],
|
||||||
|
\"stdin\": true,
|
||||||
|
\"tty\": true,
|
||||||
|
\"name\": \"pvc\",
|
||||||
|
\"image\": \"${IMAGE}\",
|
||||||
|
\"volumeMounts\": [
|
||||||
|
${VOL_MOUNTS}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
\"volumes\": [
|
||||||
|
${VOLS}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
" -- ${COMMAND}
|
||||||
Reference in New Issue
Block a user