forked from AICoE/elyra-aidevsecops-tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeploymentconfig.yaml
54 lines (54 loc) · 1.5 KB
/
deploymentconfig.yaml
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
43
44
45
46
47
48
49
50
51
52
53
54
---
kind: DeploymentConfig
apiVersion: apps.openshift.io/v1
metadata:
name: elyra-aidevsecops-tutorial
spec:
replicas: 1
selector:
service: elyra-aidevsecops-tutorial
app.kubernetes.io/name: thoth
app.kubernetes.io/component: aicoe-gather-metrics-pipeline
app.kubernetes.io/managed-by: aicoe-thoth-devops
template:
metadata:
labels:
service: elyra-aidevsecops-tutorial
app.kubernetes.io/name: thoth
app.kubernetes.io/component: aicoe-gather-metrics-pipeline
app.kubernetes.io/managed-by: aicoe-thoth-devops
spec:
containers:
- name: elyra-aidevsecops-tutorial
image: quay.io/thoth-station/elyra-aidevsecops-tutorial
env:
- name: WEB_CONCURRENCY
value: "1"
imagePullPolicy: Always
ports:
- containerPort: 8080
protocol: TCP
resources:
requests:
memory: "384Mi"
cpu: "100m"
limits:
memory: "768Mi"
cpu: "100m"
livenessProbe:
httpGet:
path: /liveness
port: 8080
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 60
timeoutSeconds: 10
readinessProbe:
httpGet:
path: /readiness
port: 8080
scheme: HTTP
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 10
test: false