Skip to content

Commit

Permalink
Add TODO for adding CPU limit support
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Librian <[email protected]>
  • Loading branch information
andylibrian committed Oct 5, 2020
1 parent d6258eb commit 62607e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libpod/kube.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,7 @@ func containerToV1Container(c *Container) (v1.Container, []v1.Volume, error) {
kubeContainer.StdinOnce = false
kubeContainer.TTY = c.config.Spec.Process.Terminal

// TODO add CPU limit support.
if c.config.Spec.Linux != nil &&
c.config.Spec.Linux.Resources != nil &&
c.config.Spec.Linux.Resources.Memory != nil &&
Expand Down

0 comments on commit 62607e7

Please sign in to comment.