File tree Expand file tree Collapse file tree 3 files changed +359
-270
lines changed Expand file tree Collapse file tree 3 files changed +359
-270
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,15 @@ spec:
1616 spec :
1717 containers :
1818 - name : exhort
19- image : quay.io/ecosystem-appeng/ exhort:latest
20- imagePullPolicy : Always
19+ image : exhort:latest
20+ imagePullPolicy : IfNotPresent
2121 ports :
22- - containerPort : 8080
22+ - name : http
23+ containerPort : 8080
24+ protocol : TCP
25+ - name : management
26+ containerPort : 9000
27+ protocol : TCP
2328 resources :
2429 limits :
2530 memory : " 128Mi"
4550 value : development
4651 - name : TELEMETRY_DISABLED
4752 value : " true"
53+ livenessProbe :
54+ httpGet :
55+ path : /q/health/live
56+ port : 9000
57+ initialDelaySeconds : 1
58+ readinessProbe :
59+ httpGet :
60+ path : /q/health/ready
61+ port : 9000
62+ initialDelaySeconds : 5
63+ periodSeconds : 20
4864---
4965apiVersion : v1
5066kind : Service
@@ -54,22 +70,13 @@ metadata:
5470 app : exhort
5571spec :
5672 ports :
57- - name : web
73+ - name : http
5874 port : 8080
5975 protocol : TCP
6076 targetPort : 8080
77+ - name : management
78+ port : 9000
79+ protocol : TCP
80+ targetPort : 9000
6181 selector :
6282 app : exhort
63- ---
64- apiVersion : route.openshift.io/v1
65- kind : Route
66- metadata :
67- labels :
68- app : exhort
69- name : dev
70- spec :
71- port :
72- targetPort : 8080
73- to :
74- kind : Service
75- name : exhort
Original file line number Diff line number Diff line change 1+ schemaVersion : 2.2.0
2+ metadata :
3+ name : exhort
4+ version : 1.0.2
5+ provider : Red Hat
6+ supportUrl : https://github.com/RHEcosystemAppEng/exhort/issues
7+ icon : https://github.com/fabric8-analytics/fabric8-analytics-vscode-extension/blob/master/icon/trusted_content_icon.png?raw=true
8+ website : https://github.com/RHEcosystemAppEng/exhort
9+ displayName : Exhort
10+ description : Exhort
11+ tags :
12+ - Exhort
13+ - RHTPA
14+ - Java
15+ - Quarkus
16+ - Camel
17+ projectType : Quarkus
18+ language : Java
19+ attributes :
20+ alpha.dockerimage-port : 8080
21+ parent :
22+ id : java-quarkus
23+ registryUrl : ' https://registry.devfile.io'
24+ components :
25+ - name : image-build
26+ image :
27+ imageName : exhort:latest
28+ dockerfile :
29+ uri : src/main/docker/Dockerfile.multi-stage
30+ buildContext : .
31+ rootRequired : false
32+ - name : kubernetes-deploy
33+ attributes :
34+ deployment/replicas : 1
35+ deployment/cpuRequest : 10m
36+ deployment/memoryRequest : 128Mi
37+ deployment/container-port : 8080
38+ kubernetes :
39+ uri : deploy/exhort.yaml
40+ endpoints :
41+ - name : http
42+ targetPort : 8080
43+ path : /
44+ commands :
45+ - id : build-image
46+ apply :
47+ component : image-build
48+ - id : deployk8s
49+ apply :
50+ component : kubernetes-deploy
51+ - id : deploy
52+ composite :
53+ commands :
54+ - build-image
55+ - deployk8s
56+ group :
57+ kind : deploy
58+ isDefault : true
You can’t perform that action at this time.
0 commit comments