summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Librian <andylibrian@gmail.com>2020-10-05 12:50:39 +0700
committerAndy Librian <andylibrian@gmail.com>2020-10-05 12:50:39 +0700
commit62607e7f27458a9ecacb6ffc4b4a7f777f94a0bc (patch)
tree8c8e0d2f416bf361dcfc1fff3fb101238b0cc2b3
parentd6258eb6c234d60db068742308a8a3f9b002ea7d (diff)
downloadpodman-62607e7f27458a9ecacb6ffc4b4a7f777f94a0bc.tar.gz
podman-62607e7f27458a9ecacb6ffc4b4a7f777f94a0bc.tar.bz2
podman-62607e7f27458a9ecacb6ffc4b4a7f777f94a0bc.zip
Add TODO for adding CPU limit support
Signed-off-by: Andy Librian <andylibrian@gmail.com>
-rw-r--r--libpod/kube.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpod/kube.go b/libpod/kube.go
index b2a2673ec..6df79e394 100644
--- a/libpod/kube.go
+++ b/libpod/kube.go
@@ -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 &&