Included UI for piston
This commit is contained in:
@@ -60,6 +60,20 @@ spec:
|
|||||||
limits:
|
limits:
|
||||||
cpu: "1"
|
cpu: "1"
|
||||||
memory: "2Gi"
|
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:
|
volumes:
|
||||||
- name: packages
|
- name: packages
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
@@ -78,5 +92,5 @@ spec:
|
|||||||
- name: http
|
- name: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
port: 80
|
port: 80
|
||||||
targetPort: 2000
|
targetPort: 80
|
||||||
nodePort: 31003
|
nodePort: 31003
|
||||||
|
|||||||
Reference in New Issue
Block a user