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

Magnus created this task.Jul 22 2016, 2:02 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 22 2016, 2:02 PM

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?

Done, thanks!

Forgot: Yes, it works on k8s!

yuvipanda closed this task as Resolved.Jul 23 2016, 12:34 AM

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