Profile allows to set resources quota per namespace. When enabled, containers with empty resources spec will fail.
This is affecting Kubeflow Pipelines. Argo uses workflow-controller-configmap that can overwrite resources for executor containers. It was patched with arbitrary values in kubeflow/pipelines#5695, but we reverted it in kubeflow/pipelines#9089 as it was preventing users from specifying their resources spec for pipeline containers. So, the upcoming releases of KFP will allow containers with empty resources.
Describe the solution you'd like:
Example:
Allow users to set default resources in Profile
Patch containers with empty resources using default values from the associated Profile (or use limits if defaults are missing)
Anything else you would like to add:
Related: kubeflow/kubeflow#7077
@gkcalat: The label(s) kind/feature cannot be applied, because the repository doesn't have them.
In response to [this](https://github.com/kubeflow/dashboard/issues/21):
>/kind feature
>
>
>**Why you need this feature:**
>
>`Profile` allows to set resources quota per namespace. When enabled, containers with empty `resources` spec will fail.
>
>This is affecting Kubeflow Pipelines. Argo uses `workflow-controller-configmap` that can overwrite `resources` for executor containers. It was patched with arbitrary values in kubeflow/pipelines#5695, but we reverted it in kubeflow/pipelines#9089 as it was [preventing users](https://github.com/kubeflow/pipelines/issues/9087) from specifying their `resources` spec for pipeline containers. So, the upcoming releases of KFP will allow containers with empty `resources`.
>
>**Describe the solution you'd like:**
>
>Example:
>1. Allow users to set default resources in `Profile`
>2. Patch containers with empty `resources` using default values from the associated `Profile` (or use limits if defaults are missing)
>
>**Anything else you would like to add:**
>Related: kubeflow/kubeflow#7077
Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
/kind feature
Why you need this feature:
Profile
allows to set resources quota per namespace. When enabled, containers with emptyresources
spec will fail.This is affecting Kubeflow Pipelines. Argo uses
workflow-controller-configmap
that can overwriteresources
for executor containers. It was patched with arbitrary values in kubeflow/pipelines#5695, but we reverted it in kubeflow/pipelines#9089 as it was preventing users from specifying theirresources
spec for pipeline containers. So, the upcoming releases of KFP will allow containers with emptyresources
.Describe the solution you'd like:
Example:
Profile
resources
using default values from the associatedProfile
(or use limits if defaults are missing)Anything else you would like to add: Related: kubeflow/kubeflow#7077