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"
|
||||
|
||||
@ -1,7 +1,5 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- pvc.yaml
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
|
||||
|
||||
@ -1,15 +0,0 @@
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
metadata:
|
||||
name: code-server-data
|
||||
labels:
|
||||
app.kubernetes.io/name: code-server
|
||||
app.kubernetes.io/component: workspace-storage
|
||||
app.kubernetes.io/part-of: ocdp-workload
|
||||
spec:
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 20Gi
|
||||
|
||||
Reference in New Issue
Block a user