Adapt CPU resource request and limit
After the new pod wasn't able to be scheduled due to insufficient CPU resources, I checked the current usage and it was well below the requested amount. Lowering request and limit fixed the deployment issue.
This commit is contained in:
parent
4dd0f4b844
commit
da278556ed
|
@ -42,10 +42,10 @@ spec:
|
||||||
name: gitea-server-data
|
name: gitea-server-data
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
cpu: 250m
|
cpu: 150m
|
||||||
memory: 256Mi
|
memory: 256Mi
|
||||||
limits:
|
limits:
|
||||||
cpu: 500m
|
cpu: 250m
|
||||||
memory: 512Mi
|
memory: 512Mi
|
||||||
restartPolicy: Always
|
restartPolicy: Always
|
||||||
volumes:
|
volumes:
|
||||||
|
|
Reference in New Issue