Skip to content

Commit

Permalink
fix (#1270)
Browse files Browse the repository at this point in the history
  • Loading branch information
lluunn authored and k8s-ci-robot committed Jul 26, 2018
1 parent eb471a8 commit d80dd8c
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions kubeflow/tf-serving/tf-serving.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,7 @@
deployIstio: false,

deployHttpProxy: false,
defaultHttpProxyImage: "gcr.io/kubeflow-images-public/tf-model-server-http-proxy:v20180606-9dfda4f2",
httpProxyImage: "",
httpProxyImageToUse: if $.params.httpProxyImage == "" then
$.params.defaultHttpProxyImage
else
$.params.httpProxyImage,
httpProxyImage: "gcr.io/kubeflow-images-public/tf-model-server-http-proxy:v20180606-9dfda4f2",

serviceType: "ClusterIP",

Expand Down Expand Up @@ -175,7 +170,7 @@

httpProxyContainer:: {
name: $.params.name + "-http-proxy",
image: $.params.httpProxyImageToUse,
image: $.params.httpProxyImage,
imagePullPolicy: "IfNotPresent",
command: [
"python",
Expand All @@ -192,12 +187,12 @@
],
resources: {
requests: {
memory: "1Gi",
cpu: "1",
memory: "500Mi",
cpu: "0.5",
},
limits: {
memory: "4Gi",
cpu: "4",
memory: "1Gi",
cpu: "1",
},
},
securityContext: {
Expand Down

0 comments on commit d80dd8c

Please sign in to comment.