ocp-power-automation / ocp4-upi-kvm

OCP4 on KVM/Power
Apache License 2.0
17 stars 20 forks source link

Add support to for rhcos_kernel_options in var.tfvars #81

Closed chuempel closed 3 years ago

chuempel commented 3 years ago

It would be great if one could specify RHCOS kernel parameters in the var.tfvars file of the TF automation, for example to set the slub_max_order=0 kernel paramter on the RHCOS worker nodes.

Example: rhcos_kernel_options: ["slub_max_order=0"]

yussufsh commented 3 years ago

You should be able to run the linked patch on existing clusters by tainting install resource and re-running apply after updating the rhcos_kernel_options variable.

terraform taint module.install.null_resource.install
terraform apply -var-file ...