Included UI for piston
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user