skypilot-users

What is the canonical way to enable secure boot for GCP instances using Sky config file?

Rick Lamers patched the config to enable secure boot for GCP instances, but it's a non-portable hack. Zongheng Yang suggested a more canonical way through the Sky config file. How can secure boot be enabled using the Sky config file?

Ri

Rick Lamers

Asked on Feb 16, 2024

  • Access config.node_config in the function you patched.
  • Add a shieldedInstanceConfig field in the gcp-ray.yml.j2 file.
  • Use skypilot_config.get_nested(('gcp', 'node_config' 'shieldedInstanceConfig'), dict()) to access the config when filling in backend_utils.
  • Example placeholders and code changes for adding reservation support:
Feb 16, 2024Edited by