Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ARGS:
node-type-name Name of the node type to use
[tags.{index}] List of tags to apply to the deployment
[min-size] Defines the minimum size of the pool
[max-size] Defines the maximum size of the pool
[max-size] Defines the maximum size of the pool. Currently, autoscaling is not yet supported, and this value must be equal to `min_size`
[endpoints.{index}.is-public=true] Will configure your public endpoint if true
[endpoints.{index}.private-network.private-network-id]
[endpoints.{index}.disable-auth=false] Disable the authentication on the endpoint.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARGS:
[name] Name of the deployment
[tags.{index}] List of tags to apply to the deployment
[min-size] Defines the new minimum size of the pool
[max-size] Defines the new maximum size of the pool
[max-size] Defines the maximum size of the pool. Currently, autoscaling is not yet supported, and this value must be equal to `min_size`
[model-id] Id of the model to set to the deployment
[quantization.bits] The number of bits each model parameter should be quantized to. The quantization method is chosen based on this value.
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ USAGE:
scw inference model list [arg=value ...]

ARGS:
[order-by] Order in which to return results (display_rank_asc | created_at_asc | created_at_desc | name_asc | name_desc)
[project-id] Filter by Project ID
[name] Filter by model name
[tags.{index}] Filter by tags
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)
[order-by] Order in which to return results (display_rank_asc | created_at_asc | created_at_desc | name_asc | name_desc)
[project-id] Filter by Project ID
[name] Filter by model name
[tags.{index}] Filter by tags
[organization-id] Filter by Organization ID
[region=fr-par] Region to target. If none is passed will use default region from the config (fr-par | all)

FLAGS:
-h, --help help for list
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ ARGS:
[zone] Filter products by zone.
[datacenter] Filter products by datacenter.
[status.{index}] The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_new_features, end_of_growth, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned. (unknown_status | public_beta | preview | general_availability | end_of_new_features | end_of_growth | end_of_deployment | end_of_support | end_of_sale | end_of_life | retired)
[api-ids.{index}] Filter products by API IDs. Each ID is matched against product-specific identifiers: `dedibox.offer_id` (converted to string), `elastic_metal.offer_id`, `apple_silicon.server_type`, `instance.offer_id`, and `load_balancer.node.offer_id`. Products that do not support API ID filtering are excluded from the results. If empty, no filtering is applied.

FLAGS:
-h, --help help for list
Expand Down
5 changes: 3 additions & 2 deletions docs/commands/inference.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ scw inference deployment create [arg=value ...]
| node-type-name | Required | Name of the node type to use |
| tags.{index} | | List of tags to apply to the deployment |
| min-size | | Defines the minimum size of the pool |
| max-size | | Defines the maximum size of the pool |
| max-size | | Defines the maximum size of the pool. Currently, autoscaling is not yet supported, and this value must be equal to `min_size` |
| endpoints.{index}.is-public | Default: `true` | Will configure your public endpoint if true |
| endpoints.{index}.private-network.private-network-id | | |
| endpoints.{index}.disable-auth | Default: `false` | Disable the authentication on the endpoint. |
Expand Down Expand Up @@ -162,7 +162,7 @@ scw inference deployment update <deployment-id ...> [arg=value ...]
| name | | Name of the deployment |
| tags.{index} | | List of tags to apply to the deployment |
| min-size | | Defines the new minimum size of the pool |
| max-size | | Defines the new maximum size of the pool |
| max-size | | Defines the maximum size of the pool. Currently, autoscaling is not yet supported, and this value must be equal to `min_size` |
| model-id | | Id of the model to set to the deployment |
| quantization.bits | | The number of bits each model parameter should be quantized to. The quantization method is chosen based on this value. |
| region | Default: `fr-par`<br />One of: `fr-par` | Region to target. If none is passed will use default region from the config |
Expand Down Expand Up @@ -324,6 +324,7 @@ scw inference model list [arg=value ...]
| project-id | | Filter by Project ID |
| name | | Filter by model name |
| tags.{index} | | Filter by tags |
| organization-id | | Filter by Organization ID |
| region | Default: `fr-par`<br />One of: `fr-par`, `all` | Region to target. If none is passed will use default region from the config |


Expand Down
1 change: 1 addition & 0 deletions docs/commands/product-catalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ scw product-catalog product list [arg=value ...]
| zone | | Filter products by zone. |
| datacenter | | Filter products by datacenter. |
| status.{index} | One of: `unknown_status`, `public_beta`, `preview`, `general_availability`, `end_of_new_features`, `end_of_growth`, `end_of_deployment`, `end_of_support`, `end_of_sale`, `end_of_life`, `retired` | The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_new_features, end_of_growth, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned. |
| api-ids.{index} | | Filter products by API IDs. Each ID is matched against product-specific identifiers: `dedibox.offer_id` (converted to string), `elastic_metal.offer_id`, `apple_silicon.server_type`, `instance.offer_id`, and `load_balancer.node.offer_id`. Products that do not support API ID filtering are excluded from the results. If empty, no filtering is applied. |



2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ require (
github.com/moby/buildkit v0.29.0
github.com/moby/go-archive v0.2.0
github.com/opencontainers/go-digest v1.0.0
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260331080437-5f0a357c9670
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260407155337-c7324437042d
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
github.com/spf13/cobra v1.10.2
github.com/spf13/pflag v1.0.10
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,8 @@ github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7
github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI=
github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06/go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260331080437-5f0a357c9670 h1:ikt732h6stIZ+7HLBvf6WjovfCakUwsZSgBClC3H05Y=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260331080437-5f0a357c9670/go.mod h1:SKcIU6lqwljcpjOlTnSfMFfURd/XT+08spQyqN9OTWA=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260407155337-c7324437042d h1:9sT/BfLItlKOO2JpfrIjjV4I9+f1byWEBPob9CFYNDQ=
github.com/scaleway/scaleway-sdk-go v1.0.0-beta.36.0.20260407155337-c7324437042d/go.mod h1:SKcIU6lqwljcpjOlTnSfMFfURd/XT+08spQyqN9OTWA=
github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8=
github.com/sclevine/spec v1.4.0/go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM=
github.com/secure-systems-lab/go-securesystemslib v0.10.0 h1:l+H5ErcW0PAehBNrBxoGv1jjNpGYdZ9RcheFkB2WI14=
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ ExpendablePodsPriorityCutoff -10
ScaleDownUnneededTime 10m
ScaleDownUtilizationThreshold 0.5
MaxGracefulTerminationSec 600
SkipNodesWithLocalStorage false
LogLevel 0

Auto-upgrade settings:
Enabled false
Expand Down Expand Up @@ -77,7 +79,9 @@ ID NAME STATUS VERSION NODE TYPE MIN
"expendable_pods_priority_cutoff": -10,
"scale_down_unneeded_time": "10m",
"scale_down_utilization_threshold": 0.5,
"max_graceful_termination_sec": 600
"max_graceful_termination_sec": 600,
"skip_nodes_with_local_storage": false,
"log_level": 0
},
"auto_upgrade": {
"enabled": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ ExpendablePodsPriorityCutoff -10
ScaleDownUnneededTime 10m
ScaleDownUtilizationThreshold 0.5
MaxGracefulTerminationSec 600
SkipNodesWithLocalStorage false
LogLevel 0

Auto-upgrade settings:
Enabled false
Expand Down Expand Up @@ -73,7 +75,9 @@ GroupsPrefix -
"expendable_pods_priority_cutoff": -10,
"scale_down_unneeded_time": "10m",
"scale_down_utilization_threshold": 0.5,
"max_graceful_termination_sec": 600
"max_graceful_termination_sec": 600,
"skip_nodes_with_local_storage": false,
"log_level": 0
},
"auto_upgrade": {
"enabled": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,13 @@ func productCatalogProductList() *core.Command {
"retired",
},
},
{
Name: "api-ids.{index}",
Short: `Filter products by API IDs. Each ID is matched against product-specific identifiers: ` + "`" + `dedibox.offer_id` + "`" + ` (converted to string), ` + "`" + `elastic_metal.offer_id` + "`" + `, ` + "`" + `apple_silicon.server_type` + "`" + `, ` + "`" + `instance.offer_id` + "`" + `, and ` + "`" + `load_balancer.node.offer_id` + "`" + `. Products that do not support API ID filtering are excluded from the results. If empty, no filtering is applied.`,
Required: false,
Deprecated: false,
Positional: false,
},
},
Run: func(ctx context.Context, args any) (i any, e error) {
request := args.(*product_catalog.PublicCatalogAPIListPublicCatalogProductsRequest)
Expand Down
Loading