chore: update workload runtime integration
This commit is contained in:
@ -19,18 +19,23 @@ spec:
|
||||
app.kubernetes.io/component: ide
|
||||
app.kubernetes.io/part-of: ocdp-workload
|
||||
spec:
|
||||
imagePullSecrets:
|
||||
- name: regcred
|
||||
schedulerName: hami-scheduler
|
||||
securityContext:
|
||||
fsGroup: 1000
|
||||
containers:
|
||||
- name: code-server
|
||||
image: codercom/code-server:latest
|
||||
image: harbor.bwgdi.com/library/earth2studio-demo:v6
|
||||
imagePullPolicy: IfNotPresent
|
||||
command:
|
||||
- code-server
|
||||
args:
|
||||
- --bind-addr
|
||||
- 0.0.0.0:8080
|
||||
- --auth
|
||||
- password
|
||||
- /home/coder/project
|
||||
- /workspace
|
||||
env:
|
||||
- name: PASSWORD
|
||||
valueFrom:
|
||||
@ -55,11 +60,5 @@ spec:
|
||||
limits:
|
||||
cpu: "2"
|
||||
memory: 4Gi
|
||||
volumeMounts:
|
||||
- name: workspace
|
||||
mountPath: /home/coder/project
|
||||
volumes:
|
||||
- name: workspace
|
||||
persistentVolumeClaim:
|
||||
claimName: code-server-data
|
||||
|
||||
nvidia.com/gpu: "1"
|
||||
nvidia.com/gpumem: "8192"
|
||||
|
||||
Reference in New Issue
Block a user