mirror of
https://github.com/hanzo-ml/kuberay.git
synced 2026-10-30 19:48:47 +00:00
* Bump k8s version to 1.19.x and golang to 1.15 Bump the dependency versions - Golang 1.15 - Kubernetes 1.19.14 - controller-runtime 0.7.2 - controller-tools 0.5.0 Signed-off-by: Jiaxin Shan <[email protected]> * Update v1alpha1 RayCluster CRD - Rename `WorkerGroupsSpec` to `WorkerGroupSpecs` - Remove HeadService and add ServiceType and EnableIngressin headGroupSpec - Add EnableInTreeAutoscaling field - Add rich information in RayClusterStatus Signed-off-by: Jiaxin Shan <[email protected]> * Update raycluster controller 1. Refactor some internal methods to make invoking chains clear 2. Clean up some stale codes Signed-off-by: Jiaxin Shan <[email protected]> * Update deploy manifests and examples Signed-off-by: Jiaxin Shan <[email protected]> * Address review comments
36 lines
980 B
Go
36 lines
980 B
Go
package common
|
|
|
|
const (
|
|
// Belows used as label key
|
|
RayClusterLabelKey = "ray.io/cluster"
|
|
RayNodeTypeLabelKey = "ray.io/node-type"
|
|
RayNodeGroupLabelKey = "ray.io/group"
|
|
RayNodeLabelKey = "ray.io/is-ray-node"
|
|
RayIDLabelKey = "ray.io/identifier"
|
|
|
|
// rayOperator is the value of ray-operator used as identifier for the pod
|
|
rayOperator = "ray-operator"
|
|
|
|
// Use as separator for pod name, for example, raycluster-small-size-worker-0
|
|
DashSymbol = "-"
|
|
|
|
// Use as default port
|
|
DefaultClientPort = 10001
|
|
DefaultRedisPort = 6379
|
|
DefaultDashboardPort = 8265
|
|
|
|
DefaultClientPortName = "client"
|
|
DefaultRedisPortName = "redis"
|
|
DefaultDashboardName = "dashboard"
|
|
|
|
// Check node if ready by checking the path exists or not
|
|
PodReadyFilepath = "POD_READY_FILEPATH"
|
|
|
|
// Use as container env variable
|
|
NAMESPACE = "NAMESPACE"
|
|
CLUSTER_NAME = "CLUSTER_NAME"
|
|
RAY_IP = "RAY_IP"
|
|
RAY_PORT = "RAY_PORT"
|
|
REDIS_PASSWORD = "REDIS_PASSWORD"
|
|
)
|