Summary
How to change the resources (CPU and memory) allocated to containers inside a specific pod in Kubernetes.
Question
Hey, How can i change the resources of the containers inside the pod replication-job-8-attempt-0
? by default its 2Gi/2 cpu.
Appreciated the help.
This topic has been created from a Slack thread to give it more visibility.
It will be on Read-Only mode here. Click here if you want
to access the original thread.
Join the conversation on Slack
["change-resources", "containers", "pod", "kubernetes"]
With this config, the GKE cluster is not able to schedule the pod.
I’m facing the same issue
jobs:
resources:
requests:
cpu: <your value>
memory: <your value>
limits:
cpu: <your value>
memory: <your value>```
in your `values.yaml` should help
I tried that, but it’s not working! It stills the default values (2Gi memory / 2CPU).
What values did you provide?
jobs:
resources:
requests:
memory: 256Mi
cpu: 100m
limits:
memory: 1Gi
cpu: 1```
How did you install this? With helm or with abctl maybe?
Can you try deleting the server and workload-launcher pods? Sometimes you need to manually bounce these to pick up new config changes.
Ohh now, i can go to sleep!
It’s working after deleting the server and workload-launcher pods.
Thanks <@U07FH2Y34A1>
This detail deserve a place in the documentation 
I agree. We’d also prefer that it automatically restarts.