-
Notifications
You must be signed in to change notification settings - Fork 149
Expand file tree
/
Copy pathoutput.yaml
More file actions
100 lines (100 loc) · 2.95 KB
/
Copy pathoutput.yaml
File metadata and controls
100 lines (100 loc) · 2.95 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
---
# Source: bamboo-agent/templates/serviceaccount.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
name: unittest-bamboo-agent
labels:
helm.sh/chart: bamboo-agent-2.0.13
app.kubernetes.io/name: bamboo-agent
app.kubernetes.io/instance: unittest-bamboo-agent
app.kubernetes.io/version: "12.1.6"
app.kubernetes.io/managed-by: Helm
---
# Source: bamboo-agent/templates/config-jvm.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: unittest-bamboo-agent-jvm-config
labels:
helm.sh/chart: bamboo-agent-2.0.13
app.kubernetes.io/name: bamboo-agent
app.kubernetes.io/instance: unittest-bamboo-agent
app.kubernetes.io/version: "12.1.6"
app.kubernetes.io/managed-by: Helm
data:
max_heap: 512m
min_heap: 256m
---
# Source: bamboo-agent/templates/deployment-agent.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: unittest-bamboo-agent
labels:
helm.sh/chart: bamboo-agent-2.0.13
app.kubernetes.io/name: bamboo-agent
app.kubernetes.io/instance: unittest-bamboo-agent
app.kubernetes.io/version: "12.1.6"
app.kubernetes.io/managed-by: Helm
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: bamboo-agent
app.kubernetes.io/instance: unittest-bamboo-agent
template:
metadata:
annotations:
checksum/config-jvm: d4ebf8887d91b71507c2fbaadd0a7acddb7d61248b427ccbeff869373399e4c0
labels:
app.kubernetes.io/name: bamboo-agent
app.kubernetes.io/instance: unittest-bamboo-agent
spec:
serviceAccountName: unittest-bamboo-agent
terminationGracePeriodSeconds: 30
hostAliases:
- hostnames:
- foo.local
- bar.local
ip: 127.0.0.1
securityContext:
fsGroup: 2005
fsGroupChangePolicy: OnRootMismatch
initContainers:
containers:
- name: bamboo-agent
image: "atlassian/bamboo-agent-base:12.1.6"
imagePullPolicy: IfNotPresent
env:
- name: BAMBOO_SERVER
value: http://bamboo.bamboo.svc.cluster.local
- name: WRAPPER_JAVA_INITMEMORY
valueFrom:
configMapKeyRef:
key: min_heap
name: unittest-bamboo-agent-jvm-config
- name: WRAPPER_JAVA_MAXMEMORY
valueFrom:
configMapKeyRef:
key: max_heap
name: unittest-bamboo-agent-jvm-config
startupProbe:
exec:
command: ["sh", "-c", "/probe-startup.sh"]
initialDelaySeconds: 1
periodSeconds: 1
failureThreshold: 120
readinessProbe:
exec:
command: ["sh", "-c", "/probe-readiness.sh"]
initialDelaySeconds: 1
periodSeconds: 5
failureThreshold: 30
resources:
requests:
cpu: "1"
memory: 2G
volumeMounts:
priorityClassName: high
volumes: