Skip to content

Commit

Permalink
Update devfile deploy
Browse files Browse the repository at this point in the history
Signed-off-by: Maysun J Faisal <maysunaneek@gmail.com>
  • Loading branch information
maysunfaisal committed Nov 9, 2022
1 parent 028acad commit 1ed63ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
File renamed without changes.
12 changes: 6 additions & 6 deletions devfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ parent:
id: python
registryUrl: 'https://registry.devfile.io'
components:
- name: outerloop-build
- name: image-build
image:
imageName: python-image:latest
dockerfile:
uri: docker/Dockerfile
buildContext: .
rootRequired: false
- name: outerloop-deploy
- name: kubernetes-deploy
attributes:
deployment/replicas: 1
deployment/cpuLimit: '100m'
Expand All @@ -37,18 +37,18 @@ components:
deployment/memoryRequest: 50Mi
deployment/container-port: 8081
kubernetes:
uri: outerloop.yaml
uri: deploy.yaml
endpoints:
- name: http-outerloop
- name: http-8081
targetPort: 8081
path: /
commands:
- id: build-image
apply:
component: outerloop-build
component: image-build
- id: deployk8s
apply:
component: outerloop-deploy
component: kubernetes-deploy
- id: deploy
composite:
commands:
Expand Down

0 comments on commit 1ed63ac

Please sign in to comment.