Starts in:
2 DAYS
11 HRS
12 MIN
20 SEC
Starts in:
2 D
11 H
12 M
20 S
Open Closed

deploy this application to AKS (Azure Kubernetes Service) #5085


User avatar
0
datdv1 created

Currently, I am using abp framework commercial(verrsion 7.2.1) and created a solution wiwth application template. I want to deploy this application to AKS (Azure Kubernetes Service). Please help us following question:

  • Could you give step by step deployment guide especially creating and applying pfx file on AKS?
  • Could you give me best practice about allocation ressource for deployment (such as cpu:1, ram:2000Mi)?
  • I want to subcribe to gmail, when an email is received it will notify to my backend. Could you provide me a solution for this?
  • Currently, I genarated a project ASP dot Net on my laptop, now I copy this project to other laptop, can I run the project on the other laptop. If I can run, could you tell me step by step to run
  • Could you guide me how to embed chat module for public website(MVC) and angular?

8 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    You can generate a pfx and publish it to auzre. Thats all.

    There is not much difference between deploying abp and other asp net core applications.

    https://docs.abp.io/en/abp/latest/Deployment/Index

    For 3,4,5 please open separate questions. Thanks.

  • User Avatar
    0
    datdv1 created

    Dear maliming! Thank you for replying me Question 3,4,5 will be created separately, I am looking forward for your help

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    : )

  • User Avatar
    0
    datdv1 created

    : )

    Hi maliming you mean create a secret on k8s,right? Could you give me the full command?

    thanks!

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    About pfx file

    https://support.abp.io/QA/Questions/4662/Need-help-to-create-authserverpfx-file

  • User Avatar
    0
    datdv1 created

    Hi @maliming I have deploy asp dot net backend to AKS succesfully and authorize on the swagger succesfully However, when I deploy angular to AKS after that I get access to the angular web, it gets this response As you can see, only the issuer is https, the rest (authorization_endpoint, token_endpoint, ...) are all http

    Could you please give uss a solution for this ?

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Try to set the current Scheme to https in the pipeline.

    public override void OnApplicationInitialization(ApplicationInitializationContext context)
    {
        var app = context.GetApplicationBuilder();
        var env = context.GetEnvironment();
    
        app.Use((ctx, next) =>
        {
            ctx.Request.Scheme = "https";
            return next();
        });
    

  • User Avatar
    0
    datdv1 created

    Dear maliming! Thank you for replying me. I added and it work!

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06