From 18bf68aee2d7817af522eba021a46d4935d7a1fd Mon Sep 17 00:00:00 2001 From: Khwezi Date: Thu, 16 Apr 2026 09:34:50 +0200 Subject: [PATCH] Included UI for piston --- kubernetes-templates/piston.yml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/kubernetes-templates/piston.yml b/kubernetes-templates/piston.yml index e45e081..822ffaa 100644 --- a/kubernetes-templates/piston.yml +++ b/kubernetes-templates/piston.yml @@ -60,6 +60,20 @@ spec: limits: cpu: "1" memory: "2Gi" + - name: ui + image: thitpraphan/piston-web:latest + ports: + - containerPort: 80 + env: + - name: PISTON_API_URL + value: "http://localhost:2000" + resources: + requests: + cpu: "100m" + memory: "128Mi" + limits: + cpu: "250m" + memory: "256Mi" volumes: - name: packages persistentVolumeClaim: @@ -78,5 +92,5 @@ spec: - name: http protocol: TCP port: 80 - targetPort: 2000 + targetPort: 80 nodePort: 31003 -- 2.47.3