Skip to content

Instantly share code, notes, and snippets.

@bharatmicrosystems
Created July 18, 2020 23:42
Show Gist options
  • Select an option

  • Save bharatmicrosystems/9cf332a25e82a32e111eb35f85ca9f3d to your computer and use it in GitHub Desktop.

Select an option

Save bharatmicrosystems/9cf332a25e82a32e111eb35f85ca9f3d to your computer and use it in GitHub Desktop.
$ k explain pod.spec.containers.resources
KIND: Pod
VERSION: v1
RESOURCE: resources <Object>
DESCRIPTION:
Compute Resources required by this container. Cannot be updated. More info:
https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
ResourceRequirements describes the compute resource requirements.
FIELDS:
limits <map[string]string>
Limits describes the maximum amount of compute resources allowed. More
info:
https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
requests <map[string]string>
Requests describes the minimum amount of compute resources required. If
Requests is omitted for a container, it defaults to Limits if that is
explicitly specified, otherwise to an implementation-defined value. More
info:
https://kubernetes.io/docs/concepts/configuration/manage-compute-resources-container/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment