Skip to content

Commit ae2f538

Browse files
committed
Update outerloop for svc
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>
1 parent 6868432 commit ae2f538

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

devfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ components:
3737
deployment/memoryRequest: 50Mi
3838
deployment/container-port: 8081
3939
kubernetes:
40-
uri: outerloop-deploy.yaml
40+
uri: outerloop.yaml
4141
commands:
4242
- id: build-image
4343
apply:
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,16 @@ spec:
2323
limits:
2424
memory: "128Mi"
2525
cpu: "500m"
26+
---
27+
kind: Service
28+
apiVersion: v1
29+
metadata:
30+
name: my-python
31+
spec:
32+
ports:
33+
- name: http-8081
34+
port: 8081
35+
protocol: TCP
36+
targetPort: 8081
37+
selector:
38+
app: python-app

0 commit comments

Comments
 (0)