Created
September 2, 2019 03:11
-
-
Save canhtran/33d7bf2161fe0452b4a0481f6093160a to your computer and use it in GitHub Desktop.
Iris flower data deployment for k8s / medium post
This file contains hidden or 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: iris-app | |
labels: | |
app: iris-app | |
tier: backend | |
version: v1 | |
spec: | |
selector: | |
matchLabels: | |
app: iris-app | |
replicas: 2 | |
template: | |
metadata: | |
labels: | |
app: iris-app | |
spec: | |
containers: | |
- name: iris-app | |
image: canhtran/iris-svm-model-api:latest | |
ports: | |
- containerPort: 5000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment