Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DAOS-9917 Auto configure server side YMLs #20

Merged
merged 5 commits into from
Mar 1, 2022
Merged

DAOS-9917 Auto configure server side YMLs #20

merged 5 commits into from
Mar 1, 2022

Conversation

markaolson
Copy link
Contributor

Removed server and client config .yaml files from
the images directory. Config files are no longer
added in the images and expected to be modified when
the instances start.

Config files are now templates in terraform. The
templates are rendered and added to metadata values
for each instance. Then a startup script is used to
get the content of the metadata values and save it to
the config doas_*.yml files.

This allows settings such as nr_hugepages, targets, scm_size
in the config files to be set properly based on the
terraform variables.

The daos_server terraform module now has an output value
named access_points that contains a list of the access points
needed for the daos_agent.yml and daos_control.yml on the
clients.

Signed-off-by: Mark A. Olson [email protected]

johannlombardi
johannlombardi previously approved these changes Feb 25, 2022
Mark A. Olson and others added 4 commits February 28, 2022 08:06
Removed server and client config .yaml files from
the images directory.  Config files are no longer
added in the images and expected to be modified when
the instances start.

Config files are now templates in terraform.  The
templates are rendered and added to metadata values
for each instance.  Then a startup script is used to
get the content of the metadata values and save it to
the config doas_*.yml files.

This allows settings such as nr_hugepages, targets, scm_size
in the config files to be set properly based on the
terraform variables.

The daos_server terraform module now has an output value
named access_points that contains a list of the access points
needed for the daos_agent.yml and daos_control.yml on the
clients.

Signed-off-by: Mark A. Olson <[email protected]>
Signed-off-by: Łukasz Sitkiewicz <[email protected]>
Copy link
Contributor

@lsitkiew lsitkiew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me and works correctly

@johannlombardi johannlombardi merged commit 94a6e26 into daos-stack:develop Mar 1, 2022
@markaolson markaolson deleted the DAOS-9917_create_yaml branch March 1, 2022 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants