forked from CiscoDevNet/MLAnywhere
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmlanywhere-all-in-one.yml
More file actions
50 lines (45 loc) · 955 Bytes
/
mlanywhere-all-in-one.yml
File metadata and controls
50 lines (45 loc) · 955 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
apiVersion: v1
kind: Service
metadata:
name: mlanywhere-svc
labels:
app: mlanywhere-svc
spec:
type: NodePort
ports:
- port: 5000
nodePort: 30003
protocol: TCP
selector:
app: mlanywhere
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: mlanywhere
spec:
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
replicas: 1
template:
metadata:
labels:
app: mlanywhere
spec:
containers:
- name: mlanywhere
image: micdoher/mlanywhere:easy-kubeflow-8th-Oct
imagePullPolicy: "Always"
# Uncomment if using a proxy
#env:
#- name: https_proxy
# value: "http://proxy.mycompany.com:80"
#- name: http_proxy
# value: "http://proxy.mycompany.com:80"
#- name: no_proxy
# value: "localhost,127.0.0.1,10.96.0.1"
ports:
- containerPort: 5000