From a92c5d2a216e8f8c5c55c07668a8b60dd3fd5687 Mon Sep 17 00:00:00 2001 From: Bast Date: Tue, 3 Nov 2026 14:23:31 -0600 Subject: [PATCH] Helm-Chart mt5 --- charts/mt5/Chart.yaml | 6 +++++ charts/mt5/values.yaml | 59 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100644 charts/mt5/Chart.yaml create mode 100644 charts/mt5/values.yaml diff --git a/charts/mt5/Chart.yaml b/charts/mt5/Chart.yaml new file mode 100644 index 00000000..b6a3df2c --- /dev/null +++ b/charts/mt5/Chart.yaml @@ -0,0 +1,6 @@ +apiVersion: v2 +name: mt5 +description: MetaTrader 5 mit KasmVNC-Webzugriff und RPyC (mt5linux) auf k3s +type: application +version: 0.1.0 +appVersion: "latest" diff --git a/charts/mt5/values.yaml b/charts/mt5/values.yaml new file mode 100644 index 00000000..2575a44d --- /dev/null +++ b/charts/mt5/values.yaml @@ -0,0 +1,59 @@ +image: + # Upstream-Image (Debian, ~4 GB, inkl. Python/RPyC). "1.1" = schlanke Variante ohne Python. + # Eigenes Build aus dem ausgecheckten Repo: repository auf deine Registry setzen. + repository: gmag11/metatrader5_vnc + tag: latest + pullPolicy: IfNotPresent + +# KasmVNC-Login für das Web-UI +auth: + user: trader + password: "" # wird von Terraform via set_sensitive gesetzt + existingSecret: "" # alternativ: eigenes Secret mit Keys CUSTOM_USER / PASSWORD + +# Zusätzliche MT5-Kommandozeilenoptionen, z.B. "/config:C:\\tester.ini" oder "/login:12345" +mt5CmdOptions: "" + +# Zeitzone für Container (linuxserver-Basis) +tz: Europe/Zurich +puid: "1000" +pgid: "1000" + +service: + type: ClusterIP + webPort: 3000 # KasmVNC Web-UI + rpycPort: 8001 # mt5linux RPyC – unauthentifiziert, nur clusterintern nutzen! + +# Nur das Web-UI wird über Ingress exponiert, RPyC bewusst nicht +ingress: + enabled: false + className: traefik # k3s-Default + host: "" + annotations: {} + tls: [] + # - secretName: mt5-tls + # hosts: [mt5.example.ch] + +persistence: + enabled: true + storageClass: local-path # k3s-Default + size: 20Gi # Wine-Prefix + MT5 + History-Daten + accessMode: ReadWriteOnce + existingClaim: "" + +# Chromium/Wine/KasmVNC brauchen mehr als die Default-64MB /dev/shm +shmSize: 1Gi + +resources: + requests: + cpu: 500m + memory: 1Gi + limits: + memory: 4Gi + +# MT5/Wine-Image ist nur amd64 +nodeSelector: + kubernetes.io/arch: amd64 + +tolerations: [] +affinity: {}