Skip to content

Commit da638e6

Browse files
committed
crabserver helm - added values for test2 and test11
1 parent f4a43f8 commit da638e6

File tree

2 files changed

+18
-169
lines changed

2 files changed

+18
-169
lines changed

helm/crabserver/values-test11.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
environment: "test"
2+
3+
image:
4+
tag: "v3.240325"
5+
6+
livenessProbeTest:
7+
failureThreshold: 3
8+
initialDelaySeconds: 120
9+
periodSeconds: 600
10+
timeoutSeconds: 60
11+
12+
readinessProbeTest:
13+
periodSeconds: 600
14+
timeoutSeconds: 60

helm/crabserver/values-test2.yaml

Lines changed: 4 additions & 169 deletions
Original file line numberDiff line numberDiff line change
@@ -1,179 +1,14 @@
1-
# Default values for crabserver.
2-
# This is a YAML-formatted file.
3-
# Declare variables to be passed into your templates.
4-
5-
replicaCount:
6-
prod: 8
7-
test: 1
1+
environment: "test"
82

93
image:
10-
path: registry.cern.ch/cmsweb/crabserver
11-
pullPolicy: Always
12-
# Overrides the image tag whose default is the chart appVersion.
13-
tag: "v3.240219"
14-
command:
15-
- /bin/bash
16-
- /opt/setup-certs-and-run/setup-certs-and-run.sh
17-
env:
18-
- name: CRABSERVER_LOGSTDOUT
19-
value: "t"
20-
21-
environment:
22-
23-
imagePullSecrets: []
24-
nameOverride: ""
25-
fullnameOverride: ""
26-
27-
serviceAccount:
28-
# Specifies whether a service account should be created
29-
create: false
30-
# Annotations to add to the service account
31-
annotations: {}
32-
# The name of the service account to use.
33-
# If not set and create is true, a name is generated using the fullname template
34-
name: ""
35-
36-
podAnnotations:
37-
prometheus.io/scrape: 'true'
38-
prometheus.io/port: "18270"
39-
40-
podSecurityContext:
41-
runAsUser: 1000
42-
runAsGroup: 1000
43-
fsGroup: 2000
44-
45-
imageFilebeatSecurityContext:
46-
allowPrivilegeEscalation: false
47-
48-
securityContext:
49-
privileged: true
50-
51-
serviceMon:
52-
name: crabserver-mon
53-
port: 18720
54-
protocol: TCP
55-
56-
ingress:
57-
enabled: false
58-
annotations: {}
59-
# kubernetes.io/ingress.class: nginx
60-
# kubernetes.io/tls-acme: "true"
61-
62-
resources:
63-
limits:
64-
cpu: 1500m
65-
memory: 3Gi
66-
requests:
67-
cpu: 200m
68-
memory: 256Mi
69-
70-
71-
deamonset:
72-
name: filebeat
73-
path: docker.elastic.co/beats/filebeat:8.5.1
74-
policy: IfNotPresent
75-
args:
76-
- bash
77-
- -c
78-
- filebeat -c /etc/filebeat.yml --path.data /data/filebeat/${MY_NODE_NAME}/data -e
79-
env:
80-
- name: MY_NODE_NAME
81-
valueFrom:
82-
fieldRef:
83-
fieldPath: spec.nodeName
84-
- name: NODE_NAME
85-
valueFrom:
86-
fieldRef:
87-
fieldPath: spec.nodeName
88-
- name: MY_NAMESPACE
89-
valueFrom:
90-
fieldRef:
91-
apiVersion: v1
92-
fieldPath: metadata.namespace
93-
resources:
94-
requests:
95-
memory: "128Mi"
96-
cpu: "200m"
97-
limits:
98-
cpu: "1"
99-
memory: "1Gi"
100-
101-
102-
livenessProbe:
103-
exec:
104-
command:
105-
- /bin/sh
106-
- -c
107-
- |
108-
cmsweb-ping --url=http://localhost:8270/crabserver/prod/info --authz=/etc/hmac/hmac -verbose 0 | egrep "^[2-4]"
109-
failureThreshold: 3
110-
initialDelaySeconds: 120
111-
periodSeconds: 60
112-
timeoutSeconds: 60
113-
114-
readinessProbe:
115-
exec:
116-
command:
117-
- /bin/sh
118-
- -c
119-
- |
120-
cmsweb-ping --url=http://localhost:8270/crabserver/prod/info --authz=/etc/hmac/hmac -verbose 0 | egrep "^[2-4]"
121-
periodSeconds: 60
122-
timeoutSeconds: 60
123-
124-
livenessProbePreProd:
125-
exec:
126-
command:
127-
- /bin/sh
128-
- -c
129-
- |
130-
cmsweb-ping --url=http://localhost:8270/crabserver/preprod/info --authz=/etc/hmac/hmac -verbose 0 | egrep "^[2-4]"
131-
failureThreshold: 3
132-
initialDelaySeconds: 120
133-
periodSeconds: 60
134-
timeoutSeconds: 60
135-
136-
readinessProbePreProd:
137-
exec:
138-
command:
139-
- /bin/sh
140-
- -c
141-
- |
142-
cmsweb-ping --url=http://localhost:8270/crabserver/preprod/info --authz=/etc/hmac/hmac -verbose 0 | egrep "^[2-4]"
143-
periodSeconds: 60
144-
timeoutSeconds: 60
4+
tag: "v3.240325"
1455

1466
livenessProbeTest:
147-
exec:
148-
command:
149-
- /bin/sh
150-
- -c
151-
- |
152-
cmsweb-ping --url=http://localhost:8270/crabserver/dev/info --authz=/etc/hmac/hmac -verbose 0 | egrep "^[2-4]"
1537
failureThreshold: 3
1548
initialDelaySeconds: 120
155-
periodSeconds: 60
9+
periodSeconds: 600
15610
timeoutSeconds: 60
15711

15812
readinessProbeTest:
159-
exec:
160-
command:
161-
- /bin/sh
162-
- -c
163-
- |
164-
cmsweb-ping --url=http://localhost:8270/crabserver/dev/info --authz=/etc/hmac/hmac -verbose 0 | egrep "^[2-4]"
165-
periodSeconds: 60
13+
periodSeconds: 600
16614
timeoutSeconds: 60
167-
168-
autoscaling:
169-
enabled: false
170-
minReplicas: 1
171-
maxReplicas: 100
172-
targetCPUUtilizationPercentage: 80
173-
# targetMemoryUtilizationPercentage: 80
174-
175-
nodeSelector: {}
176-
177-
tolerations: []
178-
179-
affinity: {}

0 commit comments

Comments
 (0)