Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ apiVersion: v1
metadata:
name: my-python
spec:
ports:
- name: http-8081
port: 8081
protocol: TCP
targetPort: 8081
selector:
app: python-app
ports:
- name: http-8081
port: 8081
protocol: TCP
targetPort: 8081
selector:
app: python-app
7 changes: 4 additions & 3 deletions devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ components:
kubernetes:
uri: deploy.yaml
endpoints:
- name: http-8081
targetPort: 8081
path: /
- name: http-8081
targetPort: 8081
path: /
secure: true
commands:
- id: build-image
apply:
Expand Down