Skip to content
This repository was archived by the owner on Feb 22, 2022. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions incubator/tensorflow-inception/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
name: tensorflow-inception
home: https://github.com/kubernetes/charts
version: 0.1.1
description: Open source software library for numerical computation using data flow graphs.
version: 0.2.1
description: Open source software library for numerical computation using data flow
graphs.
icon: https://camo.githubusercontent.com/ee91ac3c9f5ad840ebf70b54284498fe0e6ddb92/68747470733a2f2f7777772e74656e736f72666c6f772e6f72672f696d616765732f74665f6c6f676f5f7472616e73702e706e67
sources:
- https://github.com/tensorflow/
- https://tensorflow.github.io/serving/serving_inception.html
- https://github.com/tensorflow/
- https://tensorflow.github.io/serving/serving_inception.html
maintainers:
- name: Lachlan Evenson
email: lachlan.evenson@gmail.com
- name: Lachlan Evenson
email: lachlan.evenson@gmail.com
4 changes: 2 additions & 2 deletions incubator/tensorflow-inception/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Getting Started:

1. Use the inception-client in a container to submit an image from a mounted volume on your system to the service by running these commands in the same shell:
**** NOTE: It may take a few minutes for the LoadBalancer IP to be available. ****
**** You can watch the status of by running 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "fullname" . }}' ****
export INCEPTION_SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
**** You can watch the status of by running 'kubectl get svc --namespace {{ .Release.Namespace }} -w {{ template "tensorflow-inception.fullname" . }}' ****
export INCEPTION_SERVICE_IP=$(kubectl get svc --namespace {{ .Release.Namespace }} {{ template "tensorflow-inception.fullname" . }} -o jsonpath='{.status.loadBalancer.ingress[0].ip}')
echo docker run -v ~/Downloads:/downloads quay.io/lachie83/inception_serving /serving/bazel-bin/tensorflow_serving/example/inception_client --server=$INCEPTION_SERVICE_IP:9090 --image=/downloads/dog.jpg


4 changes: 2 additions & 2 deletions incubator/tensorflow-inception/templates/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
{{/*
Expand the name of the chart.
*/}}
{{- define "name" -}}
{{- define "tensorflow-inception.name" -}}
{{- default .Chart.Name .Values.nameOverride | trunc 24 -}}
{{- end -}}

{{/*
Create a fully qualified name.
We truncate at 24 chars because some Kubernetes name fields are limited to this (by the DNS naming spec).
*/}}
{{- define "fullname" -}}
{{- define "tensorflow-inception.fullname" -}}
{{- $name := default .Chart.Name .Values.nameOverride -}}
{{- printf "%s-%s" .Release.Name $name | trunc 24 | trimSuffix "-" -}}
{{- end -}}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v1
kind: Service
metadata:
name: {{ template "fullname" . }}
name: {{ template "tensorflow-inception.fullname" . }}
labels:
heritage: {{ .Release.Service | quote }}
release: {{ .Release.Name | quote }}
Expand All @@ -21,7 +21,7 @@ spec:
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: {{ template "fullname" . }}
name: {{ template "tensorflow-inception.fullname" . }}
labels:
heritage: {{ .Release.Service | quote }}
release: {{ .Release.Name | quote }}
Expand All @@ -45,7 +45,7 @@ spec:
component: "{{ .Release.Name }}-{{ .Values.Component }}"
spec:
containers:
- name: {{ template "fullname" . }}
- name: {{ template "tensorflow-inception.fullname" . }}
image: "{{ .Values.Image }}:{{ .Values.ImageTag }}"
imagePullPolicy: "{{ .Values.ImagePullPolicy }}"
command:
Expand Down