Repository navigation
Kubernetes: run the jump pod with Guaranteed QoS - #4451
Merged
Merged
Conversation
The jump pod requested no resources, so it was BestEffort, the first pod the kubelet evicts under node pressure. Since #4447, its ReplicaSet recreates it, but every eviction still drops all SSH sessions through the jump pod. * The jump pod container now requests and limits CPU and memory equally, which gives it the Guaranteed QoS class. The defaults, 500m and 1Gi, come from measuring the jump pod image: ~9 MiB plus ~1.6 MiB per tunneled SSH session, and 130-180 MiB/s of tunneled traffic at 500m. * The new proxy_jump.cpu and proxy_jump.memory properties override the defaults. Values must be Kubernetes quantities of at least 100m and 32Mi. * The container also requests 64Mi of ephemeral storage, without a limit. QoS doesn't cover disk pressure, under which the kubelet first evicts pods whose disk usage exceeds their ephemeral-storage request. * A jump pod that can't be scheduled, e.g., due to insufficient resources, is now logged as a warning with the scheduler's reason. Before, the only symptom was runs hitting the provisioning timeout. Notes: * New values don't apply to an existing jump pod. The docs describe how to apply them with kubectl. * A legacy jump pod that the ReplicaSet adopts on upgrade stays BestEffort until it's recreated. Fixes: #4407 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The jump pod requested no resources, so it was BestEffort, the first pod the kubelet evicts under node pressure. Since #4447, its ReplicaSet recreates it, but every eviction still drops all SSH sessions through the jump pod.
Notes:
Fixes: #4407