diff --git a/geoBoundaryBuilder/images/geoBoundariesBase.Dockerfile b/geoBoundaryBuilder/images/geoBoundariesBase.Dockerfile index b5d4873..7b1e153 100644 --- a/geoBoundaryBuilder/images/geoBoundariesBase.Dockerfile +++ b/geoBoundaryBuilder/images/geoBoundariesBase.Dockerfile @@ -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 \ No newline at end of file diff --git a/geoBoundaryBuilder/k8s_manifests/dev.yml b/geoBoundaryBuilder/k8s_manifests/dev.yml new file mode 100644 index 0000000..677559e --- /dev/null +++ b/geoBoundaryBuilder/k8s_manifests/dev.yml @@ -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 \ No newline at end of file