instruction: Create a Dockerfile for workloads
output: ```dockerfile
  From Message
   ---- ------ ---- ---- -------
   Normal Scheduled 42s default-scheduler Successfully assigned simmemleak-hra99 to kubernetes-node-tf0f
   Normal Pulled 41s kubelet Container image "saadali/simmemleak:latest" already present on machine
   Normal Created 41s kubelet Created container simmemleak
   Normal Started 40s kubelet Started container simmemleak
   Normal Killing 32s kubelet Killing container with id ead3fb35-5cf5-44ed-9ae1-488115be66c6: Need to kill Pod
  In the preceding example, the Restart Count: 5 indicates that the simmemleak
  container in the Pod was terminated and restarted five times (so far).
  The OOMKilled reason shows that the container tried to use more memory than its limit.Your next step might be to check the application code for a memory leak. If you
  find that the application is behaving how you expect, consider setting a higher
  memory limit (and possibly request) for that container.What's nextGet hands-on experience assigning Memory resources to containers and Pods.Get hands-on experience assigning CPU resources to containers and Pods.Read how the API reference defines a container
  and its resource requirementsRead about project quotas in XFSRead more about the kube-scheduler configuration reference (v1)Read more about Quality of Service classes for PodsFeedbackWas this page helpful?Yes
  NoThanks for the feedback. If you have a specific, answerable question about how to use Kubernetes, ask it on
  Stack Overflow.
  Open an issue in the GitHub Repository if you want to
  report a problem
  or
  suggest an improvement.Last modified January 28, 2025 at 5:09 PM PST: Use site-relative hyperlink (346c97c982)  Create child page
   Create an issue
   Print entire sectionRequests and limitsResource typesResource requests and limits of Pod and containerPod-level resource specificationResource units in KubernetesCPU resource unitsMemory resource unitsContainer resources examplePod resources exampleHow Pods with resource requests are scheduledHow Kubernetes applies resource requests and limitsMonitoring compute & memory resource usageConsiderations for memory backed emptyDir volumesLocal ephemeral storageConfigurations for local ephemeral storageSetting requests and limits for local ephemeral storageHow Pods with ephemeral-storage requests are scheduledEphemeral storage consumption managementExtended resourcesManaging extended resourcesConsuming extended resourcesPID limitingTroubleshootingMy Pods are pending with event message FailedSchedulingMy container is terminatedWhat's next© 2025 The Kubernetes Authors | Documentation Distributed under CC BY 4.0© 2025 The Linux Foundation ®. ```