Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 1 addition & 13 deletions paws/codfw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,7 @@ jupyterhub:
nfs:
server: pawsdev-nfs.pawsdev.codfw1dev.wikimedia.cloud
path: /srv/paws/project
- name: dumps
nfs:
server: pawsdev-nfs.pawsdev.codfw1dev.wikimedia.cloud
path: /
# Without this, dumps becomes inaccessible and can hang the host
- name: dumps-src1
nfs:
server: pawsdev-nfs.pawsdev.codfw1dev.wikimedia.cloud
path: /
- name: dumps-src2
nfs:
server: pawsdev-nfs.pawsdev.codfw1dev.wikimedia.cloud
path: /

extraConfig:
00-myConfig: |
localdev = False
Expand Down
14 changes: 1 addition & 13 deletions paws/production.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,7 @@ jupyterhub:
nfs:
server: paws-nfs.svc.paws.eqiad1.wikimedia.cloud
path: /srv/paws/project
- name: dumps
nfs:
server: clouddumps1002.wikimedia.org
path: /
# Without this, dumps becomes inaccessible and can hang the host
- name: dumps-src1
nfs:
server: clouddumps1001.wikimedia.org
path: /
- name: dumps-src2
nfs:
server: clouddumps1002.wikimedia.org
path: /

extraConfig:
00-myConfig: |
localdev = False
Expand Down
36 changes: 0 additions & 36 deletions paws/templates/localdev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,42 +13,6 @@ spec:
hostPath:
path: /srv/paws/project/paws/userhomes
---
apiVersion: v1
kind: PersistentVolume
metadata:
name: dumps1
spec:
accessModes:
- ReadOnlyMany
capacity:
storage: 1Gi
hostPath:
path: /mnt/nfs/dumps-clouddumps1001.wikimedia.org
---
kind: PersistentVolume
apiVersion: v1
metadata:
name: dumps2
spec:
accessModes:
- ReadOnlyMany
capacity:
storage: 1Gi
hostPath:
path: /mnt/nfs/dumps-clouddumps1002.wikimedia.org
---
kind: PersistentVolume
apiVersion: v1
metadata:
name: dumps
spec:
accessModes:
- ReadOnlyMany
capacity:
storage: 1Gi
hostPath:
path: /mnt/public/dumps
---
apiVersion: batch/v1
kind: Job
metadata:
Expand Down
21 changes: 0 additions & 21 deletions paws/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,30 +75,9 @@ jupyterhub:
- name: homes
hostPath:
path: /srv/paws/project
- name: dumps
hostPath:
path: /mnt/public/dumps
# Without this, dumps becomes inaccessible and can hang the host
- name: dumps-src1
hostPath:
path: /mnt/nfs/dumps-clouddumps1001.wikimedia.org
type: DirectoryOrCreate
- name: dumps-src2
hostPath:
path: /mnt/nfs/dumps-clouddumps1002.wikimedia.org
type: DirectoryOrCreate
extraVolumeMounts:
- name: homes
mountPath: /data/project
- name: dumps
mountPath: /public/dumps
readOnly: true
- name: dumps-src1
mountPath: /mnt/nfs/dumps-clouddumps1001.wikimedia.org
readOnly: true
- name: dumps-src2
mountPath: /mnt/nfs/dumps-clouddumps1002.wikimedia.org
readOnly: true
extraConfig:
fixLabels: |
def fix_labels(spawner, pod):
Expand Down
Loading