Skip to content

Commit

Permalink
Rebase int for 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
ericvaandering committed Dec 30, 2024
1 parent 9b06338 commit 134ad52
Show file tree
Hide file tree
Showing 14 changed files with 6,925 additions and 2,306 deletions.
44 changes: 43 additions & 1 deletion apps/base/rucio-newui/cms-rucio-newui.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
replicaCount: 1

image:
repository: registry.cern.ch/cmsrucio/rucio-webui
tag: release-35.3.1
# repository: registry.cern.ch/cmsrucio/rucio-webui

resources:
limits:
Expand All @@ -14,6 +15,26 @@ ingress:
# kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
nginx.ingress.kubernetes.io/ssl-redirect: "true"
hosts:
- "cms-rucio-newui.cern.ch"

config:
webui:
# hostname of the rucio server, include http:// or https://
rucio_host: "https://cms-rucio.cern.ch"
# hostname of the rucio-auth server, include http:// or https://
rucio_auth_host: "https://cms-rucio-auth.cern.ch"
# hostname of the webui ( without http:// or https://, just the hostname, no port or scheme required)
hostname: "cms-rucio-newui-int.cern.ch"
project_url: "https://rucio.cern.ch"
multivo_enabled: "False"
# A csv string of vos containing their short names. For example: "def,atl,cms"
vo_list: "def"
vo_default: "def"
oidc_enabled: "False"
# A csv string of names of supported oidc providers that will be configured in the webui. For example: "cern,indico"
oidc_providers: ""


proxy:
rucioProxyScheme: "http"
Expand All @@ -30,5 +51,26 @@ service:
port: 443
targetPort: https
portName: https
allocateLoadBalancerNodePorts: false

exposeErrorLogs: False

secretMounts:
- secretFullName: hostcert
mountPath: /etc/grid-security/hostcert.pem
subPath: hostcert.pem
- secretFullName: hostkey
mountPath: /etc/grid-security/hostkey.pem
subPath: hostkey.pem
- secretFullName: ca-bundle
mountPath: /etc/grid-security/CERN-bundle.pem
subPath: CERN-bundle.pem

additionalEnvs:
- name: RUCIO_CA_PATH
value: "/cvmfs/grid.cern.ch/etc/grid-security/certificates"
- name: RUCIO_WEBUI_SERVER_CA_BUNDLE
value: "/etc/grid-security/CERN-bundle.pem"
- name: RUCIO_SSL_PROTOCOL
value: "-SSLv3 -TLSv1 -TLSv1.1 +TLSv1.2"

2 changes: 1 addition & 1 deletion apps/base/rucio-newui/rucio-newui-helm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ spec:
chart:
spec:
chart: rucio-webui
version: "<1.32.0"
version: "<36"
sourceRef:
kind: HelmRepository
name: rucio
Expand Down
7 changes: 7 additions & 0 deletions apps/integration/int-cms-cron.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
cronjobSettings:
daemonName: "daemons"
instance: "int"
usercert: "rootcert"
userkey: "rootkey"
additionalEnvs:
- name: USERCERT_NAME
value: "rootcert.pem"
- name: USERKEY_NAME
value: "rootkey.pem"

image:
repository: registry.cern.ch/cmsrucio/rucio_client
Expand Down
13 changes: 1 addition & 12 deletions apps/integration/int-consistency-jobs.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,4 @@
consistency:
ignore:
- /store/test/rucio/int/store/backfill
- /store/test/rucio/int/store/test
sites:
T2_US_Purdue:
interval: 1
server: cms-m001.rcac.purdue.edu
server_root: /store/test/rucio/int/store
T2_US_Wisconsin:
server: g22n07.hep.wisc.edu:1094
interval: 1
T2_US_Nebraska:
server: red-gridftp10.unl.edu:1094
interval: 1
- /store/test/rucio/int/store/test
14 changes: 11 additions & 3 deletions apps/integration/int-consistency.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
consistency:
instance: "int"
defaultRoot: "/store/test/rucio/int/store"
prometheus_servers: "prometheus-prometheus-pushgateway.prometheus:9091"
prometheus_prefix: "rucio.consistency"
prometheus_labels: "'{\"rucioInstance\": \"int\"}'"
rucio_host: "http://cms-rucio.cern.ch"
auth_host: "https://cms-rucio-auth.cern.ch"
auth_type: "x509_proxy"
ca_cert: "/etc/grid-security/certificates/"
request_retries: "3"
reportStorageClass:
osShareID: 635ac65d-f995-43a0-be8c-f502fa4d7b2c
osShareAccessID: c5d8db3f-4465-4913-8c96-e1613307638d
osShareID: 8fdf6903-e97d-4733-a377-b374205355bc
osShareAccessID: 4eba641d-6a38-4e88-8e4b-b127e6c92867
image:
repository: registry.cern.ch/cmsrucio/rucio-consistency
tag: release-4.0.3
tag: release-4.8.1
4 changes: 3 additions & 1 deletion apps/integration/int-globus-daemons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ cacheConsumerCount: 0

config:
common:
# loglevel: "DEBUG"
loglevel: "INFO"
oidc:
admin_issuer: "def"
conveyor:
use_preparer: "True"
scheme: "srm,gsiftp,root,http,https"
Expand All @@ -39,6 +40,7 @@ config:

conveyorTransferSubmitter:
activities: "'User Subscriptions'"
# Same size or smaller than bulk which is 100
threads: 1
bulk: 50
groupBulk: 50
Expand Down
2 changes: 1 addition & 1 deletion apps/integration/int-release.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
image:
tag: release-35.2.1.cms6
tag: release-35.6.0.cms3

# Sometimes we need to explicitly note the database schema name
config:
Expand Down
12 changes: 10 additions & 2 deletions apps/integration/int-rucio-daemons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,20 @@ conveyorPollerCount: 1
conveyorFinisherCount: 1
conveyorPreparerCount: 1
darkReaperCount: 1
tracerKronosCount: 1
cacheConsumerCount: 0
tracerKronosCount: 0

reaper:
includeRses: "cms_type=int"
greedy: 1
threads: 1

darkReaper:
includeRses: "T2_US_Purdue"

tracerKronos:
threads: 4

conveyorTransferSubmitter:
threads: 1

Expand All @@ -28,8 +34,10 @@ config:
use_preparer: "True"
transfertool: "fts3,globus"
transfertype: "bulk"
scheme: "srm,gsiftp,root,http,https,globus"
scheme: "davs,root,gsiftp,srm,globus"
globus_auth_app: "CMSRucioProduction"
messaging_hermes:
brokers: "cms-test-mb.cern.ch"

conveyorPoller:
config:
Expand Down
19 changes: 19 additions & 0 deletions apps/integration/int-rucio-newui.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
replicaCount: 1

image:
tag: release-35.5.0
# repository: registry.cern.ch/cmsrucio/rucio-webui

ingress:
enabled: true

config:
webui:
# hostname of the rucio server, include http:// or https://
rucio_host: "https://cms-rucio.cern.ch"
# hostname of the rucio-auth server, include http:// or https://
rucio_auth_host: "https://cms-rucio-auth.cern.ch"
# hostname of the webui ( without http:// or https://, just the hostname, no port or scheme required)
hostname: "cms-rucio-newui.cern.ch"
project_url: "https://rucio.cern.ch"

3 changes: 0 additions & 3 deletions apps/integration/int-rucio-probes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,3 @@ probes:
config:
monitor:
prometheus_labels: '{"rucioInstance": "int"}'

image:
tag: release-1.29.8.cms2
10 changes: 10 additions & 0 deletions apps/integration/int-rucio-webui.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,13 @@ ingress:
proxy:
rucioProxy: "cms-rucio-int.cern.ch"
rucioAuthProxy: "cms-rucio-auth-int.cern.ch:443"

service:
type: NodePort
useSSL: true
port: 443
targetPort: https
portName: https

httpd_config:
rucio_hostname: "cms-rucio-webui-int.cern.ch"
15 changes: 10 additions & 5 deletions apps/integration/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@ resources:
- ../base/rucio-traceserver
- ../base/rucio-webui
- ../base/rucio-probes
# - ../base/cms-rucio-traces
- ../base/cms-rucio-consistency
- ../base/cms-rucio-cron
- ../base/cms-rucio-cvmfs
- ../options/globus-daemons
# - ../options/loadtest
# - ../options/webdav-loadtest
# - ../base/cms-rucio-consistency
- ../base/rucio-newui

configMapGenerator:
- name: instance-rucio-server
Expand All @@ -28,9 +30,12 @@ configMapGenerator:
- name: instance-rucio-daemons
files:
- values.yaml=int-rucio-daemons.yaml
#- name: instance-rucio-webui
# files:
# - values.yaml=int-rucio-webui.yaml
- name: instance-rucio-webui
files:
- values.yaml=int-rucio-webui.yaml
- name: instance-rucio-newui
files:
- values.yaml=int-rucio-newui.yaml
- name: instance-rucio-probes
files:
- values.yaml=int-rucio-probes.yaml
Expand Down
Loading

0 comments on commit 134ad52

Please sign in to comment.