Issue
In v1, the tasks will be scheduled in separate namespace with name <project>-<domain>. We can do the same in v2 runtime
What's expected
- When the user created a run, the BE should check if the
<project>-<domain> namespace existed. If not, create one.
- Our secret manager inject secret into task pods with k8s ENV reference, so that the secret value will not shown in the pod spec. However, one limitation is that the task pod must be in the same namespace in order to read that secret value. Once we support multi namespace/cluster, we will have to find a way to solve this issue. Maybe we could have a separate background service that sync the secrets in parent namespace to child namespaces. This is an open question.
Issue
In v1, the tasks will be scheduled in separate namespace with name
<project>-<domain>. We can do the same in v2 runtimeWhat's expected
<project>-<domain>namespace existed. If not, create one.