runway.blueprints.k8s.k8s_workers module

Module with k8s nodegroup.

class runway.blueprints.k8s.k8s_workers.NodeGroup[source]

Bases: Blueprint

CFNgin blueprint for creating k8s nodegroup.

create_template() None[source]

Create template (main function called by CFNgin).

runway.blueprints.k8s.k8s_workers.get_valid_instance_types() Any[source]

Return list of instance types from botocore data.

botocore>=2.32.1 started including compressed data files in it’s wheel artifact. This broke the previous implementation of this function as it manually loaded the file. Now, we use the loading mechanism built into botocore to load the data file which automatically handles compressed vs uncompressed data.