File tree Expand file tree Collapse file tree 6 files changed +19
-3
lines changed
internal/namespaces/container/v1beta1 Expand file tree Collapse file tree 6 files changed +19
-3
lines changed Original file line number Diff line number Diff line change 2626 [local-storage-limit] Local storage limit of the container (in MB)
2727 [scaling-option.concurrent-requests-threshold]
2828 [scaling-option.cpu-usage-threshold]
29+ [scaling-option.memory-usage-threshold]
2930 [health-check.http.path] Path to use for the HTTP health check.
3031 [health-check.failure-threshold] Number of consecutive health check failures before considering the container unhealthy.
3132 [health-check.interval] Period between health checks.
Original file line number Diff line number Diff line change 2626 [local-storage-limit] Local storage limit of the container (in MB)
2727 [scaling-option.concurrent-requests-threshold]
2828 [scaling-option.cpu-usage-threshold]
29+ [scaling-option.memory-usage-threshold]
2930 [health-check.http.path] Path to use for the HTTP health check.
3031 [health-check.failure-threshold] Number of consecutive health check failures before considering the container unhealthy.
3132 [health-check.interval] Period between health checks.
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ scw container container create [arg=value ...]
8181| local-storage-limit | | Local storage limit of the container (in MB) |
8282| scaling-option.concurrent-requests-threshold | | |
8383| scaling-option.cpu-usage-threshold | | |
84+ | scaling-option.memory-usage-threshold | | |
8485| health-check.http.path | | Path to use for the HTTP health check. |
8586| health-check.failure-threshold | | Number of consecutive health check failures before considering the container unhealthy. |
8687| health-check.interval | | Period between health checks. |
@@ -209,6 +210,7 @@ scw container container update <container-id ...> [arg=value ...]
209210| local-storage-limit | | Local storage limit of the container (in MB) |
210211| scaling-option.concurrent-requests-threshold | | |
211212| scaling-option.cpu-usage-threshold | | |
213+ | scaling-option.memory-usage-threshold | | |
212214| health-check.http.path | | Path to use for the HTTP health check. |
213215| health-check.failure-threshold | | Number of consecutive health check failures before considering the container unhealthy. |
214216| health-check.interval | | Period between health checks. |
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ require (
2626 github.com/mattn/go-isatty v0.0.20
2727 github.com/moby/buildkit v0.13.2
2828 github.com/opencontainers/go-digest v1.0.0
29- github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241104173714-b6b9e5455a0e
29+ github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241105133405-807ee113e454
3030 github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966
3131 github.com/spf13/cobra v1.8.1
3232 github.com/spf13/pflag v1.0.5
Original file line number Diff line number Diff line change @@ -466,8 +466,8 @@ github.com/rogpeppe/go-internal v1.11.0/go.mod h1:ddIwULY96R17DhadqLgMfk9H9tvdUz
466466github.com/russross/blackfriday/v2 v2.1.0 /go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM =
467467github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 h1:OkMGxebDjyw0ULyrTYWeN0UNCCkmCWfjPnIA2W6oviI =
468468github.com/sabhiram/go-gitignore v0.0.0-20210923224102-525f6e181f06 /go.mod h1:+ePHsJ1keEjQtpvf9HHw0f4ZeJ0TLRsxhunSI2hYJSs =
469- github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241104173714-b6b9e5455a0e h1:BKhmO3BK1mI9K1DFjLHxOa7dSETU2QWksMhfUAmfJLU =
470- github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241104173714-b6b9e5455a0e /go.mod h1:3jrRJM7638J+P33hKy9MBvfOBxNo8pEGNQQoIv65Ihg =
469+ github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241105133405-807ee113e454 h1:RTzL4TzeyAZkOopN5zM99md3rHOFHFKIsnsuL6yxc7s =
470+ github.com/scaleway/scaleway-sdk-go v1.0.0-beta.30.0.20241105133405-807ee113e454 /go.mod h1:3jrRJM7638J+P33hKy9MBvfOBxNo8pEGNQQoIv65Ihg =
471471github.com/sclevine/spec v1.4.0 h1:z/Q9idDcay5m5irkZ28M7PtQM4aOISzOpj4bUPkDee8 =
472472github.com/sclevine/spec v1.4.0 /go.mod h1:LvpgJaFyvQzRvc1kaDs0bulYwzC70PbiYjC4QnFHkOM =
473473github.com/secure-systems-lab/go-securesystemslib v0.8.0 h1:mr5An6X45Kb2nddcFlbmfHkLguCE9laoZCUzEEpIZXA =
Original file line number Diff line number Diff line change @@ -624,6 +624,12 @@ func containerContainerCreate() *core.Command {
624624 Deprecated : false ,
625625 Positional : false ,
626626 },
627+ {
628+ Name : "scaling-option.memory-usage-threshold" ,
629+ Required : false ,
630+ Deprecated : false ,
631+ Positional : false ,
632+ },
627633 {
628634 Name : "health-check.http.path" ,
629635 Short : `Path to use for the HTTP health check.` ,
@@ -813,6 +819,12 @@ func containerContainerUpdate() *core.Command {
813819 Deprecated : false ,
814820 Positional : false ,
815821 },
822+ {
823+ Name : "scaling-option.memory-usage-threshold" ,
824+ Required : false ,
825+ Deprecated : false ,
826+ Positional : false ,
827+ },
816828 {
817829 Name : "health-check.http.path" ,
818830 Short : `Path to use for the HTTP health check.` ,
You can’t perform that action at this time.
0 commit comments