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:
Basti 2019-10-13 13:42:34 +02:00
parent 4dd0f4b844
commit da278556ed
No known key found for this signature in database
GPG Key ID: BE4634D632D39B67
1 changed files with 2 additions and 2 deletions

View File

@ -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: