MaastrichtU-IDS / dsri-documentation

📖 Documentation for the Data Science Research Infrastructure at Maastricht University
https://dsri.maastrichtuniversity.nl
MIT License
21 stars 8 forks source link

Add annotation and runtimeClassName for large volume issue (https://g… #46

Closed jordyfrijns closed 1 year ago

jordyfrijns commented 1 year ago

…ithub.com/minio/minio/discussions/14854)

Before sending a pull request make sure the DSRI documentation website still work as expected with the new changes properly integrated. Check the README to run the website in a development environment: https://github.com/MaastrichtU-IDS/dsri-documentation#run-for-development

Motivation

Added a annotation and runtimeClassName to the templates. This makes sure that pods mount large PVC's will skip relabeling of all files inside this volume. This makes sure that CRI-O (2 minutes by default) will not timeout when SElinux labels on the top level are labeled correctly.

Found in: https://github.com/minio/minio/discussions/14854

Changes added

List the changes added to the documentation here


        annotations:
          io.kubernetes.cri-o.TrySkipVolumeSELinuxLabel: 'true'
...
        runtimeClassName: selinux