diff --git a/data/deployments/production/azure_euwest.yaml b/data/deployments/production/azure_euwest.yaml index 0e1c16fa..ba942965 100644 --- a/data/deployments/production/azure_euwest.yaml +++ b/data/deployments/production/azure_euwest.yaml @@ -1,33 +1,35 @@ --- swh::deploy::worker::instances: - indexer_content_mimetype - indexer_fossology_license - indexer_origin_intrinsic_metadata - indexer_origin_extrinsic_metadata swh::remote_service::storage::config: "%{alias('swh::remote_service::storage::config::azure')}" swh::remote_service::indexer::config: "%{alias('swh::remote_service::indexer::config::azure')}" swh::remote_service::objstorage::config::azure_readonly_with_fallback: &swh_azure_readonly_with_fallback cls: multiplexer objstorages: - "%{alias('swh::remote_service::objstorage::config::azure::readonly')}" - "%{alias('swh::remote_service::objstorage::config::banco::readonly')}" - "%{alias('swh::remote_service::objstorage::config::saam::readonly')}" # Activate graph options to production cookers swh::deploy::worker::vault_cooker::config: storage: cls: retry storage: "%{alias('swh::remote_service::storage::config')}" vault: "%{alias('swh::remote_service::vault::config::writable')}" graph: "%{alias('swh::remote_service::graph::config')}" celery: task_broker: "%{alias('swh::deploy::worker::task_broker')}" task_modules: - swh.vault.cooking_tasks task_queues: - swh.vault.cooking_tasks.SWHCookingTask - swh.vault.cooking_tasks.SWHBatchCookingTask max_bundle_size: 1073741824 # 1GiB +tmpfs::size: 4096 +tmpfs::nr_inodes: 200m diff --git a/data/hostname/indexer-worker01.euwest.azure.internal.softwareheritage.org.yaml b/data/hostname/indexer-worker01.euwest.azure.internal.softwareheritage.org.yaml index 375166d1..b0ec09f2 100644 --- a/data/hostname/indexer-worker01.euwest.azure.internal.softwareheritage.org.yaml +++ b/data/hostname/indexer-worker01.euwest.azure.internal.softwareheritage.org.yaml @@ -1,6 +1,19 @@ --- swh::deploy::worker::instances: - indexer_origin_extrinsic_metadata - indexer_content_mimetype - indexer_fossology_license +mountpoints: + /tmp: + device: tmpfs + fstype: tmpfs + options: + - "size=%{lookup('tmpfs::size')}" + - "nr_inodes=%{lookup('tmpfs::nr_inodes')}" + - noexec + - nosuid + - nodev + - relatime + - rw + diff --git a/data/hostname/indexer-worker02.euwest.azure.internal.softwareheritage.org.yaml b/data/hostname/indexer-worker02.euwest.azure.internal.softwareheritage.org.yaml index 375166d1..b0ec09f2 100644 --- a/data/hostname/indexer-worker02.euwest.azure.internal.softwareheritage.org.yaml +++ b/data/hostname/indexer-worker02.euwest.azure.internal.softwareheritage.org.yaml @@ -1,6 +1,19 @@ --- swh::deploy::worker::instances: - indexer_origin_extrinsic_metadata - indexer_content_mimetype - indexer_fossology_license +mountpoints: + /tmp: + device: tmpfs + fstype: tmpfs + options: + - "size=%{lookup('tmpfs::size')}" + - "nr_inodes=%{lookup('tmpfs::nr_inodes')}" + - noexec + - nosuid + - nodev + - relatime + - rw + diff --git a/data/hostname/indexer-worker03.euwest.azure.internal.softwareheritage.org.yaml b/data/hostname/indexer-worker03.euwest.azure.internal.softwareheritage.org.yaml index 6832894f..b0ec09f2 100644 --- a/data/hostname/indexer-worker03.euwest.azure.internal.softwareheritage.org.yaml +++ b/data/hostname/indexer-worker03.euwest.azure.internal.softwareheritage.org.yaml @@ -1,7 +1,19 @@ --- swh::deploy::worker::instances: - indexer_origin_extrinsic_metadata - indexer_content_mimetype - indexer_fossology_license +mountpoints: + /tmp: + device: tmpfs + fstype: tmpfs + options: + - "size=%{lookup('tmpfs::size')}" + - "nr_inodes=%{lookup('tmpfs::nr_inodes')}" + - noexec + - nosuid + - nodev + - relatime + - rw diff --git a/data/hostname/indexer-worker04.euwest.azure.internal.softwareheritage.org.yaml b/data/hostname/indexer-worker04.euwest.azure.internal.softwareheritage.org.yaml index 4b4102dc..ef63c1d2 100644 --- a/data/hostname/indexer-worker04.euwest.azure.internal.softwareheritage.org.yaml +++ b/data/hostname/indexer-worker04.euwest.azure.internal.softwareheritage.org.yaml @@ -1,5 +1,18 @@ --- swh::deploy::worker::instances: - indexer_origin_extrinsic_metadata - indexer_origin_intrinsic_metadata +mountpoints: + /tmp: + device: tmpfs + fstype: tmpfs + options: + - "size=%{lookup('tmpfs::size')}" + - "nr_inodes=%{lookup('tmpfs::nr_inodes')}" + - noexec + - nosuid + - nodev + - relatime + - rw + diff --git a/data/hostname/indexer-worker05.euwest.azure.internal.softwareheritage.org.yaml b/data/hostname/indexer-worker05.euwest.azure.internal.softwareheritage.org.yaml index 4b4102dc..ef63c1d2 100644 --- a/data/hostname/indexer-worker05.euwest.azure.internal.softwareheritage.org.yaml +++ b/data/hostname/indexer-worker05.euwest.azure.internal.softwareheritage.org.yaml @@ -1,5 +1,18 @@ --- swh::deploy::worker::instances: - indexer_origin_extrinsic_metadata - indexer_origin_intrinsic_metadata +mountpoints: + /tmp: + device: tmpfs + fstype: tmpfs + options: + - "size=%{lookup('tmpfs::size')}" + - "nr_inodes=%{lookup('tmpfs::nr_inodes')}" + - noexec + - nosuid + - nodev + - relatime + - rw + diff --git a/data/hostname/indexer-worker06.euwest.azure.internal.softwareheritage.org.yaml b/data/hostname/indexer-worker06.euwest.azure.internal.softwareheritage.org.yaml index f720626c..ef63c1d2 100644 --- a/data/hostname/indexer-worker06.euwest.azure.internal.softwareheritage.org.yaml +++ b/data/hostname/indexer-worker06.euwest.azure.internal.softwareheritage.org.yaml @@ -1,6 +1,18 @@ --- swh::deploy::worker::instances: - indexer_origin_extrinsic_metadata - indexer_origin_intrinsic_metadata +mountpoints: + /tmp: + device: tmpfs + fstype: tmpfs + options: + - "size=%{lookup('tmpfs::size')}" + - "nr_inodes=%{lookup('tmpfs::nr_inodes')}" + - noexec + - nosuid + - nodev + - relatime + - rw