[ 
https://issues.apache.org/jira/browse/SUBMARINE-968?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17396380#comment-17396380
 ] 

Che-Kuang Chu commented on SUBMARINE-968:
-----------------------------------------

[~khchen] Maybe I can change this issue to refactor some code in K8sSubmitter? 
The origin code to check namespace using ENV_NAMESPACE is repeated and separate 
in many different functions. I think this should be refactored.

> Experiments are created in default namespace even the submarine server is a 
> different one
> -----------------------------------------------------------------------------------------
>
>                 Key: SUBMARINE-968
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-968
>             Project: Apache Submarine
>          Issue Type: Bug
>          Components: Backend Server
>            Reporter: Che-Kuang Chu
>            Assignee: Che-Kuang Chu
>            Priority: Major
>
> Source:
> [https://github.com/apache/submarine/blob/master/submarine-workbench/workbench-web/src/app/pages/workbench/experiment/experiment-home/experiment-form/experiment-customized-form/experiment-customized-form.component.ts#L93]
>  
> We can find out that the experiment namespace to the backend server is always 
> "default".
> However, to make tenancy, we'll create the submarine server and related 
> components in separate namespaces.
> Consequently, we need to make experiments be created in the same namespace as 
> the server is.
>  
> Solve:
> Check environment "ENV_NAMESPACE" in the server and rewrite the namespace 
> value.
>  
> Update:
> This bug was already resolved by SUBMARINE-965.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@submarine.apache.org
For additional commands, e-mail: dev-h...@submarine.apache.org

Reply via email to