Hey everyone At large scale(hundreds of paralel ta...
# ask-the-community
t
Hey everyone At large scale(hundreds of paralel tasks), we are getting 503 errors. what can be done?
k
Is this single binary?
t
these are python tasks
k
I mean Flyte deployment
t
I'll ask our devops tommorow @Guy Harel. can you give me some context on why you are asking that?
k
yes, the reason is, single binary deployment is a little low powered
you can try increasing the memory / cpu for the deployment
this will help, but if it does not, you will have to deploy the flyte-core helm chart
t
thanks @Ketan (kumare3)
g
Thanks @Ketan (kumare3), I can confirm that we are in fact using flyte-binary, will implement your suggestions 🙏
k
Please increase resources
First
g
@Ketan (kumare3) Is there an example of how to increase resources in flyte-binary? I'm guessing it's the cluster_resources section within configuration.inline but the documentation does not have any more specifics
NVM, found it, here's what I updated to:
Copy code
deployment:
  image:
    tag: "v1.10.6"
  resources:
    requests:
      cpu: 0.5
      memory: 20Gi
    limits:
      cpu: 2
      memory: 32Gi
k
Can you please increase the CPU - 0.5 is nothing. Atleast give it 2. It does a lot of v things right