hunk.code_window: .. _`ray-dev@googlegroups.com`: https://groups.google.com/forum/#!forum/ray-dev
   .. _`GitHub issue`: https://github.com/ray-project/ray/issues
   .. _`pull requests`: https://github.com/ray-project/ray/pulls
  
hunk.labels: keep keep replace replace
hunk.after_edit: .. _`GitHub Issues`: https://github.com/ray-project/ray/issues
   .. _`StackOverflow`: https://stackoverflow.com/questions/tagged/ray
   .. _`Pull Requests`: https://github.com/ray-project/ray/pulls
hunk.file_path: README.rst
hunk.type: replace
file: """The Ray autoscaler uses tags/labels to associate metadata with instances."""
  
  from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  
  # Tag for the name of the node
  TAG_RAY_NODE_NAME = "ray-node-name"
  
  # Tag for the type of node (e.g. Head, Worker)
  TAG_RAY_NODE_TYPE = "ray-node-type"
  
  # Tag that reports the current state of the node (e.g. Updating, Up-to-date)
  TAG_RAY_NODE_STATUS = "ray-node-status"
  
  # Tag uniquely identifying all nodes of a cluster
  TAG_RAY_CLUSTER_NAME = "ray-cluster-name"
  
  # Hash of the node launch config, used to identify out-of-date nodes
  TAG_RAY_LAUNCH_CONFIG = "ray-launch-config"
  
  # Hash of the node runtime config, used to determine if updates are needed
  TAG_RAY_RUNTIME_CONFIG = "ray-runtime-config"
  