Skip to content
New issue

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

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

Already on GitHub? # to your account

Guidance Needed - Porter + ASP.NET #286

Open
hemantkathuria opened this issue Oct 29, 2023 · 1 comment
Open

Guidance Needed - Porter + ASP.NET #286

hemantkathuria opened this issue Oct 29, 2023 · 1 comment
Labels
question Halp plz

Comments

@hemantkathuria
Copy link

hemantkathuria commented Oct 29, 2023

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

@hemantkathuria hemantkathuria added the question Halp plz label Oct 29, 2023
@hemantkathuria
Copy link
Author

Any inputs are welcome

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
question Halp plz
Projects
None yet
Development

No branches or pull requests

1 participant