From aadb92e1b060a1bd14182dc9d750571ae4bdf920 Mon Sep 17 00:00:00 2001 From: Francesco Timperi Tiberi Date: Wed, 24 Sep 2025 21:43:54 +0200 Subject: [PATCH 1/2] fix: ETCD volume size was not usin corresponding env variable if passsed --- deploy/nuvolaris-permissions/whisk-crd.yaml | 14 ++++++++------ nuvolaris/util.py | 2 +- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/deploy/nuvolaris-permissions/whisk-crd.yaml b/deploy/nuvolaris-permissions/whisk-crd.yaml index 78f3f03..73dc3e7 100644 --- a/deploy/nuvolaris-permissions/whisk-crd.yaml +++ b/deploy/nuvolaris-permissions/whisk-crd.yaml @@ -152,7 +152,7 @@ spec: type: boolean seaweedfs: description: deploys an S3 compatible layer using a standalone deployment of seaweedfs - type: boolean + type: boolean required: - openwhisk - couchdb @@ -754,10 +754,7 @@ spec: type: integer ledgers: description: pulsar bookie ledgers instance volume size - type: integer - bucket: - description: used to setup a quota on the S3 bucket when running under seaweedfs (default to 10240MB) - type: integer + type: integer replicas: description: number of total milvus replicas. Defaulted to 1 type: integer @@ -997,4 +994,9 @@ spec: type: string priority: 0 jsonPath: .status.whisk_create.registry - description: Registry \ No newline at end of file + description: Registry + - name: Seaweedfs + type: string + priority: 0 + jsonPath: .status.whisk_create.seaweedfs + description: Seaweedfs \ No newline at end of file diff --git a/nuvolaris/util.py b/nuvolaris/util.py index 009c0c4..0d0211a 100644 --- a/nuvolaris/util.py +++ b/nuvolaris/util.py @@ -761,7 +761,7 @@ def get_etcd_config_data(): "applypodsecurity":get_enable_pod_security(), "name": "nuvolaris-etcd", "container": "nuvolaris-etcd", - "size": cfg.get("etcd.volume-size", "REDIS_VOLUME_SIZE", 5), + "size": cfg.get("etcd.volume-size", "STORAGE_SIZE_ETCD", 5), "storageClass": cfg.get("nuvolaris.storageclass"), "root_password":cfg.get("etcd.root.password") or "s0meP@ass3wd", "etcd_replicas":get_etcd_replica(), From 9c3a7cf7ec6f05579d40cc48ddfc0d2b6635df48 Mon Sep 17 00:00:00 2001 From: Francesco Timperi Tiberi Date: Wed, 24 Sep 2025 21:52:55 +0200 Subject: [PATCH 2/2] chore: added a parameter to cusotmize the milvus S3 bucket size --- deploy/nuvolaris-permissions/whisk-crd.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/deploy/nuvolaris-permissions/whisk-crd.yaml b/deploy/nuvolaris-permissions/whisk-crd.yaml index 73dc3e7..5cc235d 100644 --- a/deploy/nuvolaris-permissions/whisk-crd.yaml +++ b/deploy/nuvolaris-permissions/whisk-crd.yaml @@ -754,7 +754,11 @@ spec: type: integer ledgers: description: pulsar bookie ledgers instance volume size - type: integer + type: integer + bucket: + description: used to setup a quota on the S3 bucket when running under seaweedfs (default to 10240MB) + type: integer + type: integer replicas: description: number of total milvus replicas. Defaulted to 1 type: integer