-
Notifications
You must be signed in to change notification settings - Fork 101
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
scripts: Add Additional Kustomization For Baremetal Deployment #494
base: main
Are you sure you want to change the base?
scripts: Add Additional Kustomization For Baremetal Deployment #494
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: vkhitrin The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @vkhitrin. Thanks for your PR. I'm waiting for a openstack-k8s-operators member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
5366d74
to
4496634
Compare
This might not be the ideal place to store these parameters. They may also be worthwhile to have in virtualized deployments. In general, is there any mechanism that allows passing additional variables to EPDM? |
4496634
to
8a31bc3
Compare
Adding an option to inject additional EDPM variables for baremetal deployments using Kustomize. The following variables were added: - EDPM_BAREMETAL_KERNEL_ARGS, uses `edpm-kernel` role to modify kernel arugments - EDPM_BAREMETAL_KERNEL_HUGEPAGES, uses `edpm-kernel` role to configure hugepages - EDPM_BAREMETAL_TUNED_PROFILE, uses `edpm_tuned` role to configure a tuned profile - EDPM_BAREMETAL_TUNED_ISOLATED_CORES, uses `edpm_tuned` role to configured tuned isolated cores - EDPM_BAREMETAL_NETWORK_CONFIG_OVERRIDE, uses `edpm_network_config` role to allow providing custom network configuration
8a31bc3
to
95a85be
Compare
/ok-to-test |
IMO, we should not add all these to |
@rabi, what about a requirement of allowing to Kustomize further unrelated to NFV use cases? Also, on the scope of this project, as part of the |
@vkhitrin As Rabi mentioned, no need to do the changes in install_yaml. we can have custom OpenstackDataplane CR for NFV use cases and also we can have specific kustomization for our requirements in downstream repo's. |
We also have to keep them maintainable and not make them messy with tons of vars, I don't mind if we've kuystomization scripts for specific scenarios maintained in install_yamls and then a var to pick one for a scenario. |
I guess that could be better. But can probably result in duplication of vars and confusion. |
@ rabi, can you share a recommendation on proceeding with my last comment?
Is the way forward will be through |
Probably yes. Looks like there is some work happening to leverage multiple kustomizations vi ci-framework. The following[1][2] could be relevant, though the kustomizations or the scripts generating them can still live in [1] https://issues.redhat.com/browse/OSP-28087 |
@vkhitrin @rabi I've just spotted this PR. Correct, we are working on providing support for multiple kustomizations in ci-framework, and yes, it'll be perfectly fine if install_yamls generates them in the CR dir, we will pick them UP. Expect that feature to be in in the early days of next week. |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Adding an option to inject additional EDPM variables for baremetal
deployments using Kustomize.
The following variables were added:
edpm-kernel
role to modify kernelarugments
edpm-kernel
role toconfigure hugepages
edpm_tuned
role to configure a tuned profile
edpm_tuned
role toconfigured tuned isolated cores
edpm_network_config
role to allow providing custom network configuration