Skip to content

[V2] Support tasks pods scheduled in separate k8s namespace #8051

Description

@popojk

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

  1. When the user created a run, the BE should check if the <project>-<domain> namespace existed. If not, create one.
  2. 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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions