#1 Add a init container to do the chown job

Merged
LecygneNoir merged 4 commits from initContainers into master 4 years ago
Owner

The docker init script begins with a massive chown of all files.

If you have lots of files and/or a slow IO disks, it may takes ages to start peertube, and it's sometimes useless if you have full control over your directories.

EG: all files are created by Peertube and so already owned by it.

This MR overload the docker init script to remove this chown, and add an init container in the kubernetes definition to do this job.

And if you want, you may disable the init container to have a Peertube instance starting very quickly 💪

The docker init script begins with a massive chown of all files. If you have lots of files and/or a slow IO disks, it may takes ages to start peertube, and it's sometimes useless if you have full control over your directories. EG: all files are created by Peertube and so already owned by it. This MR overload the docker init script to remove this chown, and add an init container in the kubernetes definition to do this job. And if you want, you may disable the init container to have a Peertube instance starting very quickly :muscle:
LecygneNoir changed title from Add a init container to do the chwon job to Add a init container to do the chown job 4 years ago
LecygneNoir closed this pull request 4 years ago
LecygneNoir deleted branch initContainers 4 years ago
The pull request has been merged as 31c2fe86d5.
Sign in to join this conversation.
No reviewers
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This pull request currently doesn't have any dependencies.

Loading…
There is no content yet.