You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@yunikorn.apache.org by "Craig Condit (Jira)" <ji...@apache.org> on 2022/11/02 21:35:00 UTC
[jira] [Comment Edited] (YUNIKORN-1221) [Umbrella] Configuration V2
[ https://issues.apache.org/jira/browse/YUNIKORN-1221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17627616#comment-17627616 ]
Craig Condit edited comment on YUNIKORN-1221 at 11/2/22 9:34 PM:
-----------------------------------------------------------------
[~wilfreds], I’ve responded to the comments. I’ve updated the doc to reflect the changes in default values / user label key deprecations.
As a point of clarification, the NAMESPACE env var is a bootstrap configuration, meant to tell YuniKorn what namespace it lives in, not point to an alternative location. There is unfortunately no way for a Pod to discover its own namespace at runtime except via explicit ENV injection with a fieldRef. We already use this pattern in our Helm charts.
was (Author: ccondit):
[~wilfreds], I’ve responded to the comments. I’ve updated the doc to reflect the changes in default values / user label key deprecations.
As a point of clarification, the NAMESPACE env var is a bootstrap configuration, meant to tell YuniKorn what namespace it lives in, not point to an alternative location. There is unfortunately no way for a Pod to discover its own namespace at runtime except via explicit ENV injection with a fieldRef. We already use this pattern in our Helm charts.
As for requiring a configmap to load, I disagree strongly that we want this. I’ve added more comments inline regarding my stance.
> [Umbrella] Configuration V2
> ---------------------------
>
> Key: YUNIKORN-1221
> URL: https://issues.apache.org/jira/browse/YUNIKORN-1221
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: core - scheduler, shim - kubernetes
> Reporter: Craig Condit
> Assignee: Craig Condit
> Priority: Major
>
> As YuniKorn has grown in complexity, we have created several configuration options (and styles of configuration) that would benefit from being standardized.
> This umbrella JIRA is to track design docs and work required to unify our configuration story.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@yunikorn.apache.org
For additional commands, e-mail: issues-help@yunikorn.apache.org