Skip to content

Support kubernetes compatible configs in the jinja templates #311

@ArnavBalyan

Description

@ArnavBalyan

Issue:

  • Currently we convert Skyshift entities to K8s using pre-defined j2 templates.
  • These templates hold a limited set of fields which can be substituted by Skyshift. To support anything that is not already included in the templates, we need to either:
    • Create a kubernetes config file and directly apply it (bypassing Skyshift)
    • Or, update our template to support it from Skyshift side.
  • We will have to keep these templates upto date and make them extensive to support almost everything that kubernetes supports which may not always be possible.

Possible Workaround:

  • To reduce the friction, would it be a good idea to allow users to pass K8s supported properties under a new section something like native_configs?
  • Any anything passed under this field, may be directly appended to the final converted yaml sent to kubernetes.
  • Values under this field would be strictly kubernetes specific and may not require any validation from skyshift end. (allowing users to passs custom requirements and anything that skyshift does not support)

cc @michaelzhiluo was not sure if this is a valid problem or needs an immediate solution, just wanted to know if there could be something done. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions