Mirantis / Mirantis/cri-dockerd

cri-dockerd does not set Resources to ContainerStatus

Open
#406 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
1.4k
Forks
356
Avg merge
4d 4h
Merged PRs (30d)
3

Description

cri-dockerd does not set Resources to ContainerStatus code

For comparison containerd sets it code

This results to K8s failure to throttle pod so that it follows resized CPU limit on minikube when cri-dockerd is used.

InPlacePodVerticalScaling in K8s is soon going to reach Beta and luck of such support from cri-dockerd means that end users will face this limitation as described https://github.com/kubernetes/kubernetes/issues/118371 in minikube if cri-dockerd is used.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in core/container_status.go at the referenced line and inspect how ContainerStatus is assembled, then compare the reported behavior with the containerd implementation. Confirm that Resources is populated and that resized CPU limits no longer cause the Kubernetes throttling failure described in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.