F

Flyte enables you to build & deploy data & ML pipelines, hassle-free. The infinitely scalable and flexible workflow orchestration platform that seamlessly unifies data, ML and analytics stacks. Explore and Join the Flyte Community!

Exclude Cluster Resource Templates

Summary

The user is asking if it's possible to exclude certain cluster resource templates from being created for specific projects and domains when using the flyteadmin clusterresource run command, as it currently generates resources from all templates for every project and domain. They provide a use case where some projects require a resource quota limit while others do not, suggesting that it would be better to avoid creating the resource altogether for those without a quota.

Status
resolved
Tags
  • flyteadmin clusterresource run
  • flyte
  • Cluster Resources
  • domains
  • Project Management
  • cluster resource templates
  • projects
  • Resource Quota
  • Question
  • Developer Help
  • resource quota limit
  • Feature Request
Source
#ask-the-community
    a

    apeng

    10/24/2024

    Thanks for the response!

    A use case for example is if I wanted some projects to have a resource quota limit and some projects to not have one.

    For the projects that don't need a quota, I could set the limits to a really high value, but I think it's better if it doesn't create the resource in the first place

    a

    apeng

    10/22/2024

    Hey everyone, I was wondering if it's possible to omit specific cluster resource templates from being rendered/created for certain projects and domains, when running flyteadmin clusterresource run. It seems like it will <https://github.com/flyteorg/flyteadmin/blob/f80e2911512fcc67e7afd2384561c9f7be9d85d0/pkg/clusterresource/controller.go#L590|create resources from all the templates inside the template path> for every single project & domain.