Add support for pre-defined tuning profiles for Foreman & Katello installations
We need to be able to offer an easy route for users to tune Foreman & Katello with pre-defined custom-heira settings to reduce the number of steps and errors required to change common configurations needed when Foreman is used in medium to large scale environments.
Downstream has some example templates defined here for:
- Medium 32G
- Large 64G
- Ex-Large 128G
- 2Ex-Large 256G
Through discussion with Ewoud he is proposing we add the ability to deliver similar pre-defined custom-heira templates but be able to include them in the top level /etc/foreman-installer/custom-heira.yaml file via a one line parameter:
This would allow us to control the tuning templates and deliver new versions with users not having to change individual settings and preserve changes as upgrades are delivered.
This relies on some changes outlined here to be able to implement:
To automatically provide the scenario info, we need to modify the
heira_configurer right here:
The above relies on an updated version of kafo and then requiring installer heirarchy modification outlined here:
The example needs to gain a line or 2 describing it:
Lastly, we will need to deliver the pre-defined tuning templates in an RPM as well as properly document this because upgrading users who've modified custom-hiera.yaml will not get the new example.
Fixes #27775 - Introduce tuning for installation size
This introduces a --tuning parameter to Katello/Content proxies to
optimize for a small/medium/large installation. To achieve this, it
relies on Kafo 4 which allows setting custom facts which are usable in
the Hiera config.
#7 Updated by Ewoud Kohl van Wijngaarden 5 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset installer|5676453ec3226dff221cc1589a7118042fcdb843.