debuginfod: almost ready for -stg
- changed deploymentconfig to a template, to adapt to stg-sensitive PV name - tweaked debuginfod command line - to match expected PV mount points - to reduce verbosity - to specify scanning parallelism - specified a requested cpu (8) & ram (24GB) allocation
This commit is contained in:
parent
3509ca8a84
commit
ea334535d3
2 changed files with 16 additions and 12 deletions
|
@ -34,11 +34,6 @@
|
||||||
file: service.yml
|
file: service.yml
|
||||||
objectname: service.yml
|
objectname: service.yml
|
||||||
|
|
||||||
- role: openshift/object
|
|
||||||
app: debuginfod
|
|
||||||
file: deploymentconfig.yml
|
|
||||||
objectname: deploymentconfig.yml
|
|
||||||
|
|
||||||
- role: openshift/object
|
- role: openshift/object
|
||||||
app: debuginfod
|
app: debuginfod
|
||||||
file: storage.yml
|
file: storage.yml
|
||||||
|
@ -55,3 +50,8 @@
|
||||||
app: debuginfod
|
app: debuginfod
|
||||||
buildname: debuginfod-build
|
buildname: debuginfod-build
|
||||||
objectname: debuginfod-build
|
objectname: debuginfod-build
|
||||||
|
|
||||||
|
- role: openshift/object
|
||||||
|
app: debuginfod
|
||||||
|
template: deploymentconfig.yml
|
||||||
|
objectname: deploymentconfig.yml
|
||||||
|
|
|
@ -25,22 +25,26 @@ spec:
|
||||||
- name: debuginfod
|
- name: debuginfod
|
||||||
image: debuginfod:latest
|
image: debuginfod:latest
|
||||||
command: ["/usr/bin/debuginfod",
|
command: ["/usr/bin/debuginfod",
|
||||||
"-vvvvv",
|
"-vvv",
|
||||||
"-d", "/tmp/db.sqlite",
|
"-d", "/var/cache/debuginfod/db.sqlite",
|
||||||
|
"-c", "8",
|
||||||
"-t", "3600",
|
"-t", "3600",
|
||||||
"-g", "604800",
|
"-g", "604800",
|
||||||
"-R", "/mnt",
|
# exclude signed etc. variants, just want original RPMs
|
||||||
"-I", "zsh.*\\.fc(30|31|32|33|34|35)\\..*\\.rpm$"]
|
"-X", "/data/",
|
||||||
|
"-R", "/mnt/koji/packages",
|
||||||
|
"-I", "\\.fc(30|31|32|33|34|35)\\..*\\.rpm$"]
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8002
|
- containerPort: 8002
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
memory: 1000Mi
|
memory: 24000Mi
|
||||||
|
cpu: 8000m
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: debuginfod-volume
|
- name: debuginfod-volume{{ '-stg' if env == 'staging' else '' }}
|
||||||
mountPath: /var/cache/debuginfod
|
mountPath: /var/cache/debuginfod
|
||||||
readOnly: false
|
readOnly: false
|
||||||
- name: koji-volume
|
- name: fedora-koji
|
||||||
mountPath: /mnt
|
mountPath: /mnt
|
||||||
readOnly: true
|
readOnly: true
|
||||||
readinessProbe:
|
readinessProbe:
|
Loading…
Add table
Add a link
Reference in a new issue