From b340e09120ce6cbc4777a32a5b366fa1404b8aa3 Mon Sep 17 00:00:00 2001 From: Antonin Stefanutti Date: Wed, 9 Oct 2024 15:34:42 +0200 Subject: [PATCH] Let Kubernetes default the PVC StorageClass --- standalone/standalone.py | 4 +--- standalone/standalone.tpl | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/standalone/standalone.py b/standalone/standalone.py index 14425cf4..9a91fc7d 100755 --- a/standalone/standalone.py +++ b/standalone/standalone.py @@ -360,7 +360,6 @@ def cli(): @click.option( "--storage-class", type=str, - default="standard", help="Storage class to use for the PersistentVolumeClaim - for SDG only", ) @click.option( @@ -433,7 +432,6 @@ def show( @click.option( "--storage-class", type=str, - default="standard", help="Storage class to use for the PersistentVolumeClaim - for SDG only", ) @click.option( @@ -542,7 +540,7 @@ def run( taxonomy_repo_url: str = "", taxonomy_repo_branch: typing.Optional[str] = "", taxonomy_repo_pr: typing.Optional[str] = "", - storage_class: typing.Optional[str] = "standard", + storage_class: typing.Optional[str] = None, serving_endpoint: typing.Optional[str] = None, serving_model: typing.Optional[str] = None, nproc_per_node: typing.Optional[int] = 1, diff --git a/standalone/standalone.tpl b/standalone/standalone.tpl index 4c0cd2e6..6982e7d7 100755 --- a/standalone/standalone.tpl +++ b/standalone/standalone.tpl @@ -345,7 +345,6 @@ def cli(): @click.option( "--storage-class", type=str, - default="standard", help="Storage class to use for the PersistentVolumeClaim - for SDG only", ) @click.option( @@ -418,7 +417,6 @@ def show( @click.option( "--storage-class", type=str, - default="standard", help="Storage class to use for the PersistentVolumeClaim - for SDG only", ) @click.option( @@ -527,7 +525,7 @@ def run( taxonomy_repo_url: str = "", taxonomy_repo_branch: typing.Optional[str] = "", taxonomy_repo_pr: typing.Optional[str] = "", - storage_class: typing.Optional[str] = "standard", + storage_class: typing.Optional[str] = None, serving_endpoint: typing.Optional[str] = None, serving_model: typing.Optional[str] = None, nproc_per_node: typing.Optional[int] = 1,