Skip to content

Commit

Permalink
image debug
Browse files Browse the repository at this point in the history
  • Loading branch information
DanRunfola committed Dec 10, 2024
1 parent 8c6e7fd commit c08a43c
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 3 deletions.
6 changes: 3 additions & 3 deletions geoBoundaryBuilder/images/geoBoundariesBase.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ RUN apk add --no-cache \

# Install Python packages in steps for debugging
RUN pip install --upgrade pip && \
pip install prefect==2.2.0 kubernetes==25.3.0
pip install prefect==3.1.5 kubernetes==25.3.0

RUN pip install geopandas==0.13.2 shapely==2.0.1 matplotlib==3.7.2 pandas==2.1.1
RUN pip install geopandas==0.13.2

RUN pip install jsonschema==4.19.0 zipfile36==0.1.3

# Install Prefect Kubernetes components
RUN pip install prefect-kubernetes
RUN pip install prefect-kubernetes==0.5.3

# Set up git-lfs
RUN git lfs install
32 changes: 32 additions & 0 deletions geoBoundaryBuilder/k8s_manifests/dev.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
apiVersion: v1
kind: Pod
metadata:
name: gB-dev
namespace: geoboundaries
spec:
securityContext:
runAsUser: 71032
runAsGroup: 9915
containers:
- name: gb-dev-container
image: ghcr.io/your-custom-image:latest # Replace with your custom image name
command: ["/bin/sh", "-c"] # Keep the container running
args:
- |
echo "Pod is ready for interactive jobs. Use kubectl exec to interact.";
while true; do sleep 3600; done
resources:
requests:
memory: "16Gi"
cpu: "2"
limits:
memory: "16Gi"
cpu: "2"
volumeMounts:
- name: nfs-mount
mountPath: /sciclone/geograd/geoBoundaries
volumes:
- name: nfs-mount
nfs:
server: 128.239.59.144
path: /sciclone/geograd/geoBoundaries

0 comments on commit c08a43c

Please sign in to comment.