File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,14 @@ const (
6868 KubeAnnotationEndpointClusters = "yatai.ai/endpoint-clusters"
6969 KubeAnnotationEndpointWeight = "yatai.ai/endpoint-weight"
7070
71+ // Route to multi deployments from different clusters by priority order, priority is configured by user in yatai.ai/endpoint-clusters annotation
72+ // traffic will overflow to next cluster when traffic exceeds current cluster capacity
73+ KubeAnnotationEndpointStrategyOverflow = "overflow"
74+ // Route to multi deployments at weighted random or round robin, weights are configured by user in yatai.ai/endpoint-weight annotation
75+ KubeAnnotationEndpointStrategyWeightedRoundRobin = "wrr"
76+ // Route to multi deployments at weighted random, weights are applied as the ready replica number (default 1 if no ready replicas) automatically
77+ KubeAnnotationEndpointStrategyAuto = "auto"
78+
7179 KubeAnnotationPrometheusScrape = "prometheus.io/scrape"
7280 KubeAnnotationPrometheusPort = "prometheus.io/port"
7381 KubeAnnotationPrometheusPath = "prometheus.io/path"
You can’t perform that action at this time.
0 commit comments