Skip to content

Commit

Permalink
Merge pull request #81 from cliveseldon/ksonnet-ambassador-notebook
Browse files Browse the repository at this point in the history
ksonnet notebook with Ambassador
  • Loading branch information
ukclivecox authored Feb 2, 2018
2 parents 8e3c8f8 + b3d4547 commit a52d447
Show file tree
Hide file tree
Showing 6 changed files with 529 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,8 @@ private String getAmbassadorAnnotation(SeldonDeployment mlDep,String serviceName
final String restMapping = "---\n"+
"apiVersion: ambassador/v0\n" +
"kind: Mapping\n" +
"name: "+mlDep.getMetadata().getName()+"_rest_mapping\n" +
"prefix: /"+mlDep.getMetadata().getName()+"/rest/\n" +
"name: seldon_"+mlDep.getMetadata().getName()+"_rest_mapping\n" +
"prefix: /seldon/"+mlDep.getMetadata().getName()+"/\n" +
"service: "+serviceName+":"+clusterManagerProperites.getEngineContainerPort()+"\n";
final String grpcMapping = "---\n"+
"apiVersion: ambassador/v0\n" +
Expand Down
Loading

0 comments on commit a52d447

Please sign in to comment.