CRIO.CONF.D(5)

πŸ’– NAME πŸ’–

okay so bestie, <pink>crio.conf.d</pink> is literally just the directory where you drop in your little configuration snippets for CRI-O ✨ think of it as the group chat where all your config files hang out 🫢


🌸 DESCRIPTION 🌸

so like, on top of all the config you already got going on in crio.conf(5), CRI-O is so nice and lets you yeet configuration snippets into the crio.conf.d directory πŸ’…

the default directory is literally:

/etc/crio/crio.conf.d/

and if you wanna change that path? no problem bestie, you can do it with CRIO's --config-dir command line option πŸŽ€


πŸ‘‘ CONFIGURATION PRECEDENCE πŸ‘‘

okay this is the part where you gotta pay attention because the order is giving main character energy 🌈

when it exists, the main configuration file β€” which is /etc/crio/crio.conf by default β€” gets read before any file in the configuration directory (/etc/crio/crio.conf.d). and the settings in that main file have the lowest precedence, periodt 😭

the files in the configuration directory get sorted by name in lexical order, and then applied in that order ✨ so if multiple configuration files specify the same configuration option, the setting in the file sorted last takes precedence over any other value πŸ”₯

so like, real example: if both 00-default.conf and 10-custom.conf exist in crio.conf.d and they both specify different values for a certain configuration option, the value from 10-custom.conf is the one that gets applied πŸ’…

ngl bestie, last one to show up wins. it's giving "the file who arrived latest eats first" πŸ“

πŸ¦‹ SEE ALSO πŸ¦‹


and that's the whole vibe, bestie!! this was crio.conf.d(5) β€” literally the directory for drop-in configs, section 5, coming at you from the CRI-O crew 🫢 go forth and drop those snippets, you absolute icon πŸ‘‘βœ¨

πŸ“¦ where this page comes from