Skip to content

Commit c501d53

Browse files
author
Miguel Varela Ramos
authored
Replace request-monitor with cortex proxy (#2174)
1 parent d9b8e6e commit c501d53

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

build/images.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ api_images=(
2929
dev_images=(
3030
"downloader"
3131
"manager"
32-
"request-monitor"
32+
"proxy"
3333
"async-gateway"
3434
"enqueuer"
3535
)

docs/clusters/management/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ image_operator: quay.io/cortexlabs/operator:master
100100
image_controller_manager: quay.io/cortexlabs/controller-manager:master
101101
image_manager: quay.io/cortexlabs/manager:master
102102
image_downloader: quay.io/cortexlabs/downloader:master
103-
image_request_monitor: quay.io/cortexlabs/request-monitor:master
103+
image_proxy: quay.io/cortexlabs/proxy:master
104104
image_async_gateway: quay.io/cortexlabs/async-gateway:master
105105
image_cluster_autoscaler: quay.io/cortexlabs/cluster-autoscaler:master
106106
image_metrics_server: quay.io/cortexlabs/metrics-server:master

pkg/types/clusterconfig/cluster_config.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ type CoreConfig struct {
9494
ImageManager string `json:"image_manager" yaml:"image_manager"`
9595
ImageDownloader string `json:"image_downloader" yaml:"image_downloader"`
9696
ImageKubexit string `json:"image_kubexit" yaml:"image_kubexit"`
97-
ImageRequestMonitor string `json:"image_request_monitor" yaml:"image_request_monitor"`
97+
ImageProxy string `json:"image_proxy" yaml:"image_proxy"`
9898
ImageAsyncGateway string `json:"image_async_gateway" yaml:"image_async_gateway"`
9999
ImageEnqueuer string `json:"image_enqueuer" yaml:"image_enqueuer"`
100100
ImageClusterAutoscaler string `json:"image_cluster_autoscaler" yaml:"image_cluster_autoscaler"`
@@ -354,9 +354,9 @@ var CoreConfigStructFieldValidations = []*cr.StructFieldValidation{
354354
},
355355
},
356356
{
357-
StructField: "ImageRequestMonitor",
357+
StructField: "ImageProxy",
358358
StringValidation: &cr.StringValidation{
359-
Default: consts.DefaultRegistry() + "/request-monitor:" + consts.CortexVersion,
359+
Default: consts.DefaultRegistry() + "/proxy:" + consts.CortexVersion,
360360
Validator: validateImageVersion,
361361
},
362362
},
@@ -1363,8 +1363,8 @@ func (cc *CoreConfig) TelemetryEvent() map[string]interface{} {
13631363
if !strings.HasPrefix(cc.ImageKubexit, "cortexlabs/") {
13641364
event["image_kubexit._is_custom"] = true
13651365
}
1366-
if !strings.HasPrefix(cc.ImageRequestMonitor, "cortexlabs/") {
1367-
event["image_request_monitor._is_custom"] = true
1366+
if !strings.HasPrefix(cc.ImageProxy, "cortexlabs/") {
1367+
event["image_proxy._is_custom"] = true
13681368
}
13691369
if !strings.HasPrefix(cc.ImageAsyncGateway, "cortexlabs/") {
13701370
event["image_async_gateway._is_custom"] = true

0 commit comments

Comments
 (0)