Files
foxhunt/.devcontainer/pod-template.yaml
jgrusewski 5dc617fa20 feat(devcontainer): add k8s pod template for DevPod
Mounts dev-home PVC (50Gi) and training-data PVC (read-only).
Targets gpu-dev node pool. Resource requests: 4 CPU / 16Gi,
limits: 14 CPU / 56Gi.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 21:12:40 +01:00

42 lines
1.1 KiB
YAML

# DevPod pod template — merged with DevPod's generated pod spec
# Ref: https://github.com/loft-sh/devpod-provider-kubernetes
apiVersion: v1
kind: Pod
metadata:
labels:
app.kubernetes.io/name: devpod
app.kubernetes.io/part-of: foxhunt
app.kubernetes.io/component: dev-environment
spec:
nodeSelector:
k8s.scaleway.com/pool-name: gpu-dev
containers:
- name: devpod
resources:
requests:
cpu: "4000m"
memory: "16Gi"
limits:
cpu: "14000m"
memory: "56Gi"
volumeMounts:
- name: dev-home
mountPath: /home/dev
- name: training-data
mountPath: /data/training
readOnly: true
initContainers:
- name: init-home
image: busybox:latest
command: ["sh", "-c", "chown -R 1000:1000 /home/dev"]
volumeMounts:
- name: dev-home
mountPath: /home/dev
volumes:
- name: dev-home
persistentVolumeClaim:
claimName: dev-home-pvc
- name: training-data
persistentVolumeClaim:
claimName: training-data-pvc