Aktivity „ahmet.ulusoy“

Project Configurations

Backoffice Web Application

[DependsOn( typeof(AbpCachingStackExchangeRedisModule), typeof(AbpEventBusRabbitMqModule), typeof(AbpAspNetCoreMvcClientModule), typeof(AbpAspNetCoreAuthenticationOpenIdConnectModule), typeof(AbpHttpClientWebModule), typeof(AbpHttpClientIdentityModelWebModule), typeof(AbpAspNetCoreMvcUiLeptonXThemeModule), typeof(AbpAccountPublicHttpApiClientModule), typeof(AbpAccountPublicWebImpersonationModule), typeof(IdentityServiceWebModule), typeof(IdentityServiceHttpApiClientModule), typeof(AdministrationServiceWebModule), typeof(AdministrationServiceHttpApiClientModule), typeof(SocieraSharedHostingAspNetCoreModule), typeof(SocieraSharedLocalizationModule), typeof(ConfigurationServiceWebModule), typeof(ConfigurationServiceHttpApiClientModule), typeof(ProfessionServiceWebModule), typeof(ProfessionServiceHttpApiClientModule), typeof(CmsServiceWebModule), typeof(CmsServiceHttpApiClientModule), typeof(ChatServiceWebModule), typeof(ChatServiceHttpApiClientModule), typeof(LocationServiceWebModule), typeof(LocationServiceHttpApiClientModule), typeof(NotificationServiceWebModule), typeof(NotificationServiceHttpApiClientModule), typeof(FormServiceWebModule), typeof(FormServiceHttpApiClientModule), typeof(FriendshipServiceWebModule), typeof(FriendshipServiceHttpApiClientModule), typeof(ChatWebModule) )] public class SocieraWebModule : AbpModule

Chat Microservice Web Project

[DependsOn( typeof(ChatServiceApplicationContractsModule), typeof(AbpAspNetCoreMvcUiThemeSharedModule), typeof(AbpAutoMapperModule) )] public class ChatServiceWebModule : AbpModule

Chat Microservice HttpApi.Host Project

[DependsOn( typeof(SocieraSharedHostingMicroservicesModule), typeof(ChatServiceApplicationModule), typeof(ChatServiceHttpApiModule), typeof(ChatServiceEntityFrameworkCoreModule), typeof(AbpHttpClientIdentityModelWebModule), typeof(AbpIdentityHttpApiClientModule), typeof(ChatSignalRModule) )] public class ChatServiceHttpApiHostModule : AbpModule

WebGateway yarp configuration

"Chat": { "ClusterId": "Chat", "Match": { "Path": "/api/chat/{**catch-all}" } }, "SignalrHubs": { "ClusterId": "Chat", "Match": { "Path": "/signalr-hubs/chat/{**catch-all}" } }, "ChatAll": { "ClusterId": "Chat", "Match": { "Path": "/api/chat-service/{**catch-all}" } }, "ChatSwagger": { "ClusterId": "Chat", "Match": { "Path": "/swagger-json/Chat/swagger/v1/swagger.json" }, "Transforms": [ { "PathRemovePrefix": "/swagger-json/Chat" } ] }

  • ABP Framework version: v8.0.1
  • UI Type: MVC
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I created a new microservice solution which is name chatservice and installed needed packages and made needed configurations in needed solutions. I can chat on web client applications with users and everything is fine with signalr connection.

After a while I want to add a mobile application written with flutter and I changed place of Volo.Chat.Web package from microservice web project to backoffice web project and also changed place of Volo.Chat.SignalR package from microservice web project to chat microservice HttpApi.Host project.

I also added needed yarp configurations for Gateways and everything is fine except signalr connections. After I changed place of given packages signalr connections looks like working in web development console but they are not working .

Can you help me please?

Hi,

if helm deploy is not working for installing NGINX Ingress controller
then you run below command for installing NGINX
kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/cloud/deploy.yaml
kubectl get pods --namespace ingress-nginx
kubectl get service ingress-nginx-controller –namespace ingress-nginx
Browse to that External-IP, you should be directed to 404 Not Found page

Helm deploy is working, also pods and services are working.

I think there is some configuration issue on Ingresses.

Can you figure out from below pictures what is the issue?


Without seeing your charts specifically I can't say for certain, but I strongly suspect your fault lies in the Ingress YAML files. Your curent Ingresses do not point at an ingress class as you can see in my snoip from our deployment:

an acceptable YAML for the helm chart that we use is:

apiVersion: networking.k8s.io/v1 
kind: Ingress 
metadata: 
  name: {{ .Release.Name }}-{{ .Chart.Name }}-ingress 
  annotations: 
  #  kubernetes.io/ingress.class: "nginx" 
    nginx.ingress.kubernetes.io/rewrite-target: / 
    nginx.ingress.kubernetes.io/force-ssl-redirect: "true" 
    nginx.ingress.kubernetes.io/proxy-buffer-size: 32k 
    nginx.ingress.kubernetes.io/proxy-buffers-number: "8" 
    cert-manager.io/cluster-issuer: letsencrypt-production 
    nginx.ingress.kubernetes.io/configuration-snippet: | 
      more_set_input_headers "from-ingress: true"; 
spec: 
  ingressClassName: nginx 
  tls: 
  - hosts: 
      - {{ .Values.ingress.host }} 
    secretName: {{ .Values.ingress.tlsSecret }} 
  rules: 
  - host: "{{ .Values.ingress.host }}" 
    http: 
      paths: 
      - path: / 
        pathType: Prefix 
        backend: 
          service: 
            name: {{ .Release.Name }}-{{ .Chart.Name }} 
            port: 
              number: 80 

Although YMMV. Worth noting I don't work for ABP, but I do a lot of work in the K8s space - and annoyances like that Acme solver you have there not resolving are something that you'll smack your head against quite often whether you use ABP or not :)

I fixed the helm chats for azure because azure uses an updated version for helm.

Any way, I changed lot's of things in helm charts and create a custom helm value yaml for azure from scratch.

Now, everything works fine with acme tls.

Now, i need to find a way for changing helm charts and custom helm value yaml for azure which uses a valid wildcard certificate which is imported to the azure key vault service.

Is there any examples that shows using a custom valid wildcard certificate in azure key vault and used by nginx ingress?

We have application deployment guide for Azure at https://docs.abp.io/en/commercial/latest/startup-templates/application/azure-deployment/azure-deployment?UI=MVC&DB=EF&Tiered=No but we don't have a step by step guide for microservice template deployment to Azure simply because it is not really related to ABP framework and we don't have enough knowledge.

You can share the log information about the error you come across after deployment when you navigated to your application to diagnose the problem better. Otherwise, a screenshot of an Azure Services (or AWS or Google KS etc) because those platforms are not in our expertise.

We bought abp because of it has azure ready deployment configuration for microservice solutions. Therefore, i ask for your help.

I'll share detailed information on question tomorrow.

Dear Support Team,

I need fully detailed step by step documentation for deployment of Microservice Solution to Azure Kubernetes Services.

Can you help me please?

Hi,

if helm deploy is not working for installing NGINX Ingress controller
then you run below command for installing NGINX kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/cloud/deploy.yaml kubectl get pods --namespace ingress-nginx kubectl get service ingress-nginx-controller –namespace ingress-nginx Browse to that External-IP, you should be directed to 404 Not Found page

Helm deploy is working, also pods and services are working.

I think there is some configuration issue on Ingresses.

Can you figure out from below pictures what is the issue?

Hello,

You should change helm values accordingly like URL's, Connection strings... Are you getting any error while deploying application into AKS ?
or Are you getting any error at pod level

There is no error on pods and etc only problem, configuration of nginx-ingress.

So, I need step by step configuration document for AKS.

Contains every change and operation after project created.

Hello,

please check https://docs.abp.io/en/commercial/latest/startup-templates/microservice/helm-deployment

You can also check the Azure deployment scripts and values for eShopOnAbp sample https://github.com/abpframework/eShopOnAbp/tree/main/etc/k8s

regards,

Hello,

I already checked the given documentation and used the steps but it says "This documentation introduces guidance for running your microservice template on the local Kubernetes cluster".

It's working on local kubernetes server.

I already checked the given eShopOnAbp sample.

I already made same steps but I couldn't get it work.

  • ABP Framework version: v7.4.2
  • UI Type: MVC /
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes/
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hello Dear Friends,

We created a new microservice solution with abp suite. We can debug or deploy it to local kubernetes server but there is no information for deploying our solution to AKS. We need step by step documentation for this procedure.

For now,

Creation of ACR completed, Creation of AKS completed, Integration of ACR with AKS completed, Installation of nginx-ingress with public ip completed, Creation of Azure Devops Repo completed, Integration of Azure Pipelines with ACR and AKS completed, But i have some issues on configuring for ingresses or need to learn your way to deploy them on AKS.

As i understand we need to make a diffrent deployment on AKS or need to change helm configurations.

Can you help me, please.

Zobrazených 21 až 29 z 29 záznamov
Made with ❤️ on ABP v8.2.0-preview Updated on marca 25, 2024, 15:11