Skip to content

Commit d72d66a

Browse files
authored
Merge pull request #2 from yangcao77/remove-outerloop-term
Remove outerloop term
2 parents c43284b + a4570ea commit d72d66a

File tree

2 files changed

+22
-5
lines changed

2 files changed

+22
-5
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,16 @@ spec:
2323
limits:
2424
memory: "1024Mi"
2525
cpu: "500m"
26+
---
27+
kind: Service
28+
apiVersion: v1
29+
metadata:
30+
name: my-java-quarkus-svc
31+
spec:
32+
ports:
33+
- name: http-8081
34+
port: 8081
35+
protocol: TCP
36+
targetPort: 8081
37+
selector:
38+
app: java-quarkus-app

devfile.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ parent:
1616
id: java-quarkus
1717
registryUrl: "https://registry.devfile.io"
1818
components:
19-
- name: outerloop-build
19+
- name: image-build
2020
image:
2121
imageName: java-quarkus-image:latest
2222
dockerfile:
2323
uri: src/main/docker/Dockerfile.jvm.staged
2424
buildContext: .
2525
rootRequired: false
26-
- name: outerloop-deploy
26+
- name: kubernetes-deploy
2727
attributes:
2828
deployment/replicas: 1
2929
deployment/cpuLimit: "100m"
@@ -32,14 +32,18 @@ components:
3232
deployment/memoryRequest: 100Mi
3333
deployment/container-port: 8081
3434
kubernetes:
35-
uri: outerloop-deploy.yaml
35+
uri: deploy.yaml
36+
endpoints:
37+
- name: http-8081
38+
targetPort: 8081
39+
path: /
3640
commands:
3741
- id: build-image
3842
apply:
39-
component: outerloop-build
43+
component: image-build
4044
- id: deployk8s
4145
apply:
42-
component: outerloop-deploy
46+
component: kubernetes-deploy
4347
- id: deploy
4448
composite:
4549
commands:

0 commit comments

Comments
 (0)