Skip to content

Commit

Permalink
add debian tools pod from image
Browse files Browse the repository at this point in the history
  • Loading branch information
SawyerCzupka committed Nov 5, 2024
1 parent 12080fe commit 428583e
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions deployment/tools/deb2.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
apiVersion: v1
kind: Pod
metadata:
name: deb-tools2
spec:
imagePullSecrets:
- name: github-registry-secret
containers:
- image: ghcr.io/wmgeolab/deb-tools:latest
volumeMounts:
- name: scopenfs
mountPath: /scope # Any path you want to mount to.
- name: kube-config
mountPath: /app/.kube
readOnly: true
- name: 237827-home
mountPath: /home/237827
env:
- name: KUBECONFIG
value: /app/.kube/config
- name: HOME
value: /home/237827
command: ["/bin/bash", "-c"]
args: ["sleep infinity"]
imagePullPolicy: Always
name: debian
resources:
limits:
cpu: "2" # Total 32 cores.
memory: "4Gi"
requests:
cpu: "2" # Total 32 cores.
memory: "4Gi"
securityContext:
runAsGroup: 50036
runAsUser: 237827
volumes:
- name: scopenfs
nfs:
server: 128.239.59.144 # NFS Server address.
path: /sciclone/geograd/scope
- name: kube-config
secret:
secretName: kube-certs
- name: 237827-home
nfs:
server: 128.239.59.144
path: /sciclone/geograd/scope/user-data/237827

0 comments on commit 428583e

Please sign in to comment.