Skip to content

Commit c9ba27a

Browse files
authored
Merge pull request #2 from raphink/webapp
Webapp: image and service
2 parents 8b72ebc + d8d181a commit c9ba27a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

inference/inference.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ metadata:
55
labels:
66
app: mnist
77
spec:
8-
replicas: 2
8+
replicas: 1
99
selector:
1010
matchLabels:
1111
app: mnist

webapp/webapp.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ spec:
1616
spec:
1717
containers:
1818
- name: webapp
19-
image: mnist:webapp
19+
image: raphinkcisco/mnist:webapp
2020
ports:
2121
- containerPort: 80
2222
---
@@ -27,10 +27,11 @@ metadata:
2727
labels:
2828
app: mnist-webapp
2929
spec:
30-
type: LoadBalancer
30+
type: NodePort
3131
ports:
3232
- port: 80
3333
targetPort: 80
3434
protocol: TCP
35+
nodePort: 32042
3536
selector:
3637
app: mnist-webapp

0 commit comments

Comments
 (0)