production: Migrate loader-directory to use dynamic storage rw instance
Only test it on one loader for now to incrementally test it's ok.
make swh-helm-diff
[swh] Comparing changes between branches production and migrate-rw-storage-clients (per environment)...
Your branch is up to date with 'origin/production'.
[swh] Generate config in production branch for environment staging, namespace swh...
[swh] Generate config in production branch for environment staging, namespace swh-cassandra...
[swh] Generate config in production branch for environment staging, namespace swh-cassandra-next-version...
[swh] Generate config in migrate-rw-storage-clients branch for environment staging...
[swh] Generate config in migrate-rw-storage-clients branch for environment staging...
[swh] Generate config in migrate-rw-storage-clients branch for environment staging...
Your branch is up to date with 'origin/production'.
[swh] Generate config in production branch for environment production, namespace swh...
[swh] Generate config in production branch for environment production, namespace swh-cassandra...
[swh] Generate config in production branch for environment production, namespace swh-cassandra-next-version...
[swh] Generate config in migrate-rw-storage-clients branch for environment production...
[swh] Generate config in migrate-rw-storage-clients branch for environment production...
[swh] Generate config in migrate-rw-storage-clients branch for environment production...
------------- diff for environment staging namespace swh -------------
No differences
------------- diff for environment staging namespace swh-cassandra -------------
No differences
------------- diff for environment staging namespace swh-cassandra-next-version -------------
No differences
------------- diff for environment production namespace swh -------------
--- /tmp/swh-chart.swh.AKGO5Fyc/production-swh.before 2024-01-25 07:37:01.182345650 +0100
+++ /tmp/swh-chart.swh.AKGO5Fyc/production-swh.after 2024-01-25 07:37:01.674341414 +0100
@@ -4400,21 +4400,21 @@
directory_entries: 12000
extid: 1000
release: 1000
release_bytes: 52428800
revision: 1000
revision_bytes: 52428800
revision_parents: 2000
- cls: filter
- cls: retry
- cls: remote
- url: http://saam.internal.softwareheritage.org:5002
+ url: http://storage-read-write-rpc-ingress
celery:
task_broker: amqp://swhconsumer:${AMQP_PASSWORD}@rabbitmq.internal.softwareheritage.org:5672/%2f
task_acks_late: false
task_queues:
- swh.loader.core.tasks.LoadTarballDirectory
sentry_settings_for_celery_tasks:
__sentry-settings-for-celery-tasks__
metadata_fetcher_credentials:
__metadata-fetcher-credentials__
@@ -25508,21 +25508,21 @@
strategy:
type: RollingUpdate
rollingUpdate:
maxSurge: 1
template:
metadata:
labels:
app: loader-directory
annotations:
# Force a rollout upgrade if the configuration changes
- checksum/config: 6fef31db2074bdb39102720b4e99e51b828cea62e4dd92e3e67da490f9449df5
+ checksum/config: 75c4e2341abad85fed9062872953dedfcd3a5a91fdf1d1329fc0beb104be63a1
spec:
affinity:
nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms:
- matchExpressions:
- key: swh/loader
operator: In
values:
- "true"
------------- diff for environment production namespace swh-cassandra -------------
No differences
Edited by Antoine R. Dumont