Skip to content

Commit 9aecf0a

Browse files
committed
add attributes for kubernetes component
Signed-off-by: Stephanie <yangcao@redhat.com>
1 parent 6b14cfd commit 9aecf0a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

devfile.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ components:
2222
buildContext: .
2323
rootRequired: false
2424
- name: outerloop-deploy
25+
attributes:
26+
appstudio.has/replicas: 1
27+
appstudio.has/route: route1
28+
appstudio.has/storageLimit: 400Mi
29+
appstudio.has/storageRequest: 200Mi
30+
appstudio.has/cpuLimit: "2"
31+
appstudio.has/cpuRequest: 700m
32+
appstudio.has/memoryLimit: 500Mi
33+
appstudio.has/memoryRequest: 400Mi
34+
alpha.dockerimage-port: 8081
2535
kubernetes:
2636
uri: outerloop-deploy.yaml
2737
commands:

0 commit comments

Comments
 (0)