I have hosted a tool Semarchy on Azure Kubernetes Service but I cannot Upload a file with Size more than 1 mb. How do I change that?

Harsh Oza 0 Reputation points
2023-03-22T11:34:09.5666667+00:00

I have hosted a tool Semarchy on Azure Kubernetes Service but I cannot Upload a file with Size more than 1 mb. How do I change that? I cannot find the configuration file where the upload limit is set.

Azure Kubernetes Service (AKS)
Azure Kubernetes Service (AKS)
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,078 questions
{count} votes

1 answer

Sort by: Most helpful
  1. vipullag-MSFT 26,296 Reputation points
    2023-03-29T10:17:49.44+00:00

    Hello Harsh Oza

    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    To increase the maximum file upload size for Semarchy on Azure Kubernetes Service, you need to update the configuration of the Kubernetes Ingress resource that is routing traffic to your Semarchy deployment.

    Locate the Kubernetes Ingress resource that is routing traffic to your Semarchy deployment.

    kubectl get ingress -n <namespace>

    Edit the Ingress resource by running the following command:

    kubectl edit ingress <ingress-name> -n <namespace>

    Add the following annotations to the Ingress resource:

    nginx.ingress.kubernetes.io/client-max-body-size: "50m"

    nginx.ingress.kubernetes.io/proxy-body-size: "50m"

    Replace "50m" with the maximum file size (in megabytes) that you want to allow for file uploads.

    Once the above configuration of the Kubernetes Ingress controller are saved, it will allow larger file uploads to your Semarchy deployment.

    Hope this helps.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.