Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[enhancement]: Kubernetes Operator / Executor #4828

Open
Breee opened this issue Jun 4, 2024 · 2 comments
Open

[enhancement]: Kubernetes Operator / Executor #4828

Breee opened this issue Jun 4, 2024 · 2 comments

Comments

@Breee
Copy link

Breee commented Jun 4, 2024

Describe your feature request here

Greetings,

I would like to create a concept fot a Kubernetes Operator/Controller/Executor that is able to:

  • Be connected to an agent pool
  • Listen for jobs
  • For each job:
    1. Spawn azure pipelines agents as pod
    2. Wait for completion
    3. Delete the pod

Conceptionally it would be similar to the gitlab runner kubernetes executor: https://docs.gitlab.com/runner/executors/kubernetes/

  1. Do you guys/gals have plans to work on something similar?
@vmapetr
Copy link
Contributor

vmapetr commented Jun 4, 2024

Hi @Breee thank you for your question!
We don't have plans for the this yet, but you are welcome to create PR with the concept if you think that the following changes will be useful to the agent.
Thanks!

@Breee
Copy link
Author

Breee commented Jun 4, 2024

Some guidance would be good on components that would be involved in this. (Or at least some architecture docs)

I think you have some similar functionality when defining container Images in yaml pipelines which could be reused in parts https://learn.microsoft.com/en-us/azure/devops/pipelines/process/container-phases?view=azure-devops

For k8s we could just use https://github.com/kubernetes-client/csharp to spawn pods and do whatever is necessary to get back what we need to send back to azure devops (logs, artifacts, etc)

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

No branches or pull requests

2 participants