Created
February 12, 2018 19:47
-
-
Save vishh/f401e7fe670aa3962aef0f484cb71dc7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: inception-server | |
spec: | |
containers: | |
- name: inception-container | |
image: gcr.io/vishnuk-cloud/tf-serving-gpu | |
resources: | |
limits: | |
nvidia.com/gpu: 1 | |
command: | |
- /usr/local/bin/tensorflow_model_server | |
args: | |
- --port=9000 | |
- --model_name=inception | |
- --model_base_path=gs://kubeflow-models/inception | |
ports: | |
- containerPort: 9000 | |
--- | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
labels: | |
run: inception-service | |
name: inception-service | |
spec: | |
ports: | |
- port: 9000 | |
targetPort: 9000 | |
selector: | |
app: inception-server | |
type: LoadBalancer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment