Skip to content

Add limits to http validation pod #408

Merged
jetstack-bot merged 3 commits intocert-manager:masterfrom
kragniz:resource-limits
Mar 26, 2018
Merged

Add limits to http validation pod #408
jetstack-bot merged 3 commits intocert-manager:masterfrom
kragniz:resource-limits

Conversation

@kragniz
Copy link
Copy Markdown
Member

@kragniz kragniz commented Mar 23, 2018

What this PR does / why we need it: Add limits to http validation pod so it's able to be created in namespaces with quota enforcement enabled

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #233

Release note:

Add limits to http validation pod 

@jetstack-bot jetstack-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 23, 2018
@jetstack-bot jetstack-bot requested a review from munnerz March 23, 2018 17:27
},
Limits: corev1.ResourceList{
corev1.ResourceCPU: resource.MustParse("10m"),
corev1.ResourceMemory: resource.MustParse("2Mi"),
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These limits are too low I think. The pod is OOM'ing because it is hitting the 2MB memory limit. Maybe increase this to 64Mi? No harm it giving plenty of room just in case it needs it.

@jetstack-bot jetstack-bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 24, 2018
@munnerz
Copy link
Copy Markdown
Member

munnerz commented Mar 26, 2018

/lgtm
/approve

@jetstack-bot jetstack-bot added the lgtm Indicates that a PR is ready to be merged. label Mar 26, 2018
@jetstack-bot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: munnerz

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jetstack-bot jetstack-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Mar 26, 2018
@jetstack-bot jetstack-bot merged commit 977b038 into cert-manager:master Mar 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

http validation fails in namespace with resource quota

3 participants