(modelId string, namespace string)
| 8 | ) |
| 9 | |
| 10 | func ModelServiceURL(modelId string, namespace string) string { |
| 11 | return fmt.Sprintf("http://%s-predictor-default.%s.svc.cluster.local:80/v1/models/custom-model:predict", modelId, namespace) |
| 12 | } |
| 13 | |
| 14 | func RedisServiceURL(redisId string, namespace string) string { |
| 15 | return fmt.Sprintf("%s.%s.svc.cluster.local:6379", redisId, namespace) |