instruction: Create a Dockerfile for cluster
output: ```dockerfile
  from utilizing swap memory.
  To maintain the aforementioned security and node health guarantees, these Pods
  are not permitted to use swap memory when LimitedSwap is in effect.
  Prior to detailing the calculation of the swap limit, it is necessary to define the following terms:
  
  nodeTotalMemory: The total amount of physical memory available on the node.
  totalPodsSwapAvailable: The total amount of swap memory on the node that is available for use by Pods
  (some swap memory may be reserved for system use).
  containerMemoryRequest: The container's memory request.
  
  Swap limitation is configured as:
  (containerMemoryRequest / nodeTotalMemory) * totalPodsSwapAvailable.
  It is important to note that, for containers within Burstable QoS Pods, it is possible to
  opt-out of swap usage by specifying memory requests that are equal to memory limits.
  Containers configured in this manner will not have access to swap memory.
  Swap is supported only with cgroup v2, cgroup v1 is not supported.
  For more information, and to assist with testing and provide feedback, please
  see the blog-post about Kubernetes 1.28: NodeSwap graduates to Beta1,
  KEP-2400 and its
  design proposal.
  What's next
  Learn more about the following:
  
  Components that make up a node.
  API definition for Node.
  Node
  section of the architecture design document.
  Graceful/non-graceful node shutdown.
  Cluster autoscaling to
  manage the number and size of nodes in your cluster.
  Taints and Tolerations.
  Node Resource Managers.
  Resource Management for Windows nodes.
  
  Feedback
  Was this page helpful?
  Yes
  No
  
   Thanks 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 April 24, 2024 at 12:43 AM PST: Move node shutdown section to cluster-administration (f32bcaf081)
  
   Node API reference
    Create child page
   Create an issue
   Print entire section
  
  Management
  
  Node name uniqueness
  Self-registration of Nodes
  Manual Node administration
  
  Node status
  Node heartbeats
  Node controller
  
  Rate limits on eviction
  
  Resource capacity tracking
  Node topology
  Swap memory management
  What's next
  
  Documentation
  Blog
  Training
  Partners
  Community
  Case Studies
  
  © 2025 The Kubernetes Authors | Documentation Distributed under CC BY 4.0
  
  ICP license: 京ICP备17074266号-3
  ```