Skip to content

Guidance Needed - Porter + ASP.NET #286

@hemantkathuria

Description

@hemantkathuria

We have a ASP.NET based container running in AKS. From our container we need to fire Porter Installations and need to wait for its completion.

Exploring 2 options.

  1. In .Net directly fire porter install. The advantage here will be, we can wait until it completes and will get the response at the same time. But we are not very clear on how to make porter available in ASP.Net based image. I can see porter has the pre-req of docker. Now AKS uses containerd so not finding a straightforward way to make porter and docker running in ASP.Net based container. I can see you have developed porteragent which does the same job. Could you please help and guide here on how can we make porter commands available in ASP.Net based container?

  2. Since we are running in AKS, I am exploring if I can use Kubernetes API to create a CRD instance in AKS and utilize porter operator to fire the installation. So far, I am not fully successful and failing to download the package from ACR. I have posted a different question on the same. I am hopeful this will work. But the disadvantage here is, the control comes back in .NET code as soon as the CRD is created. After that porter agent asynchronously executes the installation. In this case, how do I get the notification back in my .NET code when the installation either completes or fails. Please advise.

Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions