Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add small CPU resource requests to static pods #589

Merged
merged 1 commit into from
Nov 14, 2019

Conversation

dghubble
Copy link
Member

@dghubble dghubble commented Nov 14, 2019

  • Set small CPU requests on static pods kube-apiserver, kube-controller-manager, and kube-scheduler to align with upstream tooling and for edge cases
  • Effectively, a practical case for these requests hasn't been observed. However, a small static pod CPU request may offer a slight benefit if a controller became overloaded and the below mechanisms were insufficient

Existing safeguards:

  • Control plane nodes are tainted to isolate them from ordinary workloads. Even dense workloads can only compress CPU resources on worker nodes.
  • Control plane static pods use the highest priority class, so contention favors control plane pods (over say node-exporter) and CPU is compressible too.

See: poseidon/terraform-render-bootstrap#161

* Set small CPU requests on static pods kube-apiserver,
kube-controller-manager, and kube-scheduler to align with
upstream tooling and for edge cases
* Effectively, a practical case for these requests hasn't been
observed. However, a small static pod CPU request may offer
a slight benefit if a controller became overloaded and the
below mechanisms were insufficient

Existing safeguards:

* Control plane nodes are tainted to isolate them from
ordinary workloads. Even dense workloads can only compress
CPU resources on worker nodes.
* Control plane static pods use the highest priority class, so
contention favors control plane pods (over say node-exporter)
and CPU is compressible too.

See: poseidon/terraform-render-bootstrap#161
@dghubble dghubble merged commit 0e4ee5e into master Nov 14, 2019
@dghubble dghubble deleted the control-plane-cpu-request branch November 14, 2019 01:19
dghubble added a commit that referenced this pull request Nov 22, 2019
* Fix deletion of bootstrap module pinned SHA, which was
introduced recently through an automation mistake creating
#589
dghubble-robot pushed a commit to poseidon/terraform-onprem-kubernetes that referenced this pull request Nov 22, 2019
* Fix deletion of bootstrap module pinned SHA, which was
introduced recently through an automation mistake creating
poseidon/typhoon#589
dghubble-robot pushed a commit to poseidon/terraform-digitalocean-kubernetes that referenced this pull request Nov 22, 2019
* Fix deletion of bootstrap module pinned SHA, which was
introduced recently through an automation mistake creating
poseidon/typhoon#589
dghubble-robot pushed a commit to poseidon/terraform-aws-kubernetes that referenced this pull request Nov 22, 2019
* Fix deletion of bootstrap module pinned SHA, which was
introduced recently through an automation mistake creating
poseidon/typhoon#589
dghubble-robot pushed a commit to poseidon/terraform-google-kubernetes that referenced this pull request Nov 22, 2019
* Fix deletion of bootstrap module pinned SHA, which was
introduced recently through an automation mistake creating
poseidon/typhoon#589
dghubble-robot pushed a commit to poseidon/terraform-azure-kubernetes that referenced this pull request May 25, 2020
* Fix deletion of bootstrap module pinned SHA, which was
introduced recently through an automation mistake creating
poseidon/typhoon#589
Snaipe pushed a commit to aristanetworks/monsoon that referenced this pull request Apr 13, 2023
* Fix deletion of bootstrap module pinned SHA, which was
introduced recently through an automation mistake creating
poseidon#589
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant