Page MenuHomePhabricator

Kubernetes does not mount shared path
Closed, ResolvedPublic

Description

My PagePile tool (and others depending on it) use files in a shared location, e.g.

/shared/pagepile/pagepile578b3ca8cf7959.59886625.sqlite

This path is available on gridengine, but apparently not on kubernetes.
I have switched the PagePile tool back to gridengine.
Please make that path available in k8s.

Event Timeline

Putting data in /shared is a pretty big security risk - anyone can read *and* write into it (I just checked by writing arbitrary data as a different tool into it...)

(I'll probably mount /shared next week)

@Magnus I've mounted it in /data/project/shared, available in both gridengine and kubernetes. Can you switch to using that path or would that be too much work?

Forgot: Yes, it works on k8s!

Cool! I've documented that it is available in /data/project/shared in https://wikitech.wikimedia.org/wiki/Help:Tool_Labs/Web/Kubernetes