-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy path02-runtimecomponent.yaml
More file actions
42 lines (40 loc) · 912 Bytes
/
02-runtimecomponent.yaml
File metadata and controls
42 lines (40 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
apiVersion: rc.app.stacks/v1
kind: RuntimeComponent
metadata:
name: payment-service
spec:
applicationImage: icr.io/appcafe/open-liberty/samples/getting-started@sha256:80a28b6a71ec02369cc13f621e4c3cca0d63b1977be76e15dabbfba48411107f
manageTLS: true
resources:
limits:
cpu: 500m
memory: 1Gi
requests:
cpu: 200m
memory: 512Mi
replicas: 2
priorityClassName: service-critical
service:
port: 9443
serviceAccount:
mountToken: true
probes:
startup:
failureThreshold: 12
periodSeconds: 5
httpGet:
path: /health/started
port: 9443
readiness:
httpGet:
path: /health/ready
port: 9443
initialDelaySeconds: 1
periodSeconds: 5
failureThreshold: 24
liveness:
httpGet:
path: /health/live
port: 9443
initialDelaySeconds: 8
periodSeconds: 5