You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pages/serverless-containers/how-to/deploy-container.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ You can deploy a container from the [Scaleway Container Registry](/container-reg
44
44
-**Request concurrency**: your container automatically scales up/down within the minimum and maximum values entered based on the number of concurrent requests received on each active instance of your container.
45
45
-**CPU percentage**: your container automatically scales up/down within the minimum and maximum values entered based on the CPU load.
46
46
-**RAM percentage**: your container automatically scales up/down within the minimum and maximum values entered based on the RAM used.
47
-
6. In the **Advanced options** section set the following:
47
+
6. In the **Advanced options** section, set the following:
48
48
<Tabs>
49
49
<TabsTablabel="Data">
50
50
- Declare [environment variables](/serverless-containers/concepts/#environment-variables) you want to inject into your container. For each environment variable, click **+Add variable** and enter the key/value pair.
@@ -107,7 +107,7 @@ Private external container registries are currently not supported.
107
107
-**Request concurrency**: your container automatically scales up/down within the minimum and maximum values entered based on the number of concurrent requests received on each active instance of your container.
108
108
-**CPU percentage**: your container automatically scales up/down within the minimum and maximum values entered based on the CPU load.
109
109
-**RAM percentage**: your container automatically scales up/down within the minimum and maximum values entered based on the RAM used.
110
-
6. In the **Advanced options** section set the following:
110
+
6. In the **Advanced options** section, set the following:
111
111
<Tabs>
112
112
<TabsTablabel="Data">
113
113
- Declare [environment variables](/serverless-containers/concepts/#environment-variables) you want to inject into your container. For each environment variable, click **+Add variable** and enter the key/value pair.
Copy file name to clipboardExpand all lines: pages/serverless-containers/how-to/manage-a-container.mdx
+76-20Lines changed: 76 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,34 +28,90 @@ This page shows you how to manage a container, should you need to verify or edit
28
28
29
29
1. Click **Containers** in the **Serverless** section of the side menu. The Containers page displays.
30
30
2. Click the relevant containers namespace.
31
-
3. Click the name of the container you want to manage.
32
-
4.Check or edit any of the following information as required, on the **Deployment**tab:
31
+
3. Click the name of the container you want to manage, then select the **Settings** tab.
32
+
4.In the **Container image**section:
33
33
- Select the **Scaleway** Container Registry.
34
34
- Choose an **image** from your Container Registry. Select the required Container Registry namespace from the drop-down list, and then select the container and tag.
35
-
- Choose the **Port** your container is listening on. We recommend configuring your container to listen on the **PORT** environment variable.
36
-
- Choose the **resources** to be allocated to your container at runtime. These define the performance characteristics of your container.
37
-
- Set your **scaling** preferences, or leave them at default values. The Scaleway platform autoscales the number of available instances of your container to match the incoming load, depending on the settings you define here.
38
-
- Define any **environment variables** you want to inject into your container. For each environment variable, click **+Add new variable** and enter the key/value pair.
39
-
- Add **secrets** for your container. Secrets are environment variables which are injected into your container, but the values are not retained or displayed by Scaleway after initial validation.
40
-
- Set the desired **privacy policy** for your container. This defines whether container invocation may be done anonymously (**public**) or only via an authentication mechanism provided by the [Scaleway API](https://www.scaleway.com/en/developers/api/serverless-containers/#authentication) (**private**).
41
-
- Click **Advanced Options** if you wish to set a custom timeout for your container.
42
-
5. Click **Deploy container** to save any changes you have made.
35
+
- Choose the [port](/serverless-containers/concepts/#port) your container is listening on. We recommend configuring your container to listen on the **PORT** environment variable.
36
+
5. In the **Resources** section, select the vCPU and memory to allocate to your container at runtime. These values define the performance characteristics of your container.
37
+
6. Set your [autoscaling](/serverless-containers/) preferences, or leave them at default values. The Scaleway platform automatically scales the number of available instances of your container to match the incoming load, depending on the settings you define here.
38
+
7. In the **Advanced options** section, check or edit any of the following:
39
+
<Tabs>
40
+
<TabsTablabel="Data">
41
+
- Declare [environment variables](/serverless-containers/concepts/#environment-variables) you want to inject into your container. For each environment variable, click **+Add variable** and enter the key/value pair.
42
+
- Declare [secrets](/serverless-containers/concepts/#secrets) for your container. Secrets are environment variables that are injected into your container, but the values are not retained or displayed by Scaleway after initial validation.
43
+
<Messagetype="note">
44
+
Encode your environment variables and secrets to `base64` if they are too large, and contain carriage returns.
45
+
</Message>
46
+
</TabsTab>
47
+
<TabsTablabel="Security">
48
+
- Set the desired [privacy policy](/serverless-containers/concepts/#privacy-policy) for your container. This defines whether container invocation may be done anonymously (**public**) or only via an authentication mechanism provided by the [Scaleway API](https://www.scaleway.com/en/developers/api/serverless-containers/#authentication) (**private**).
49
+
- Tick the box under **HTTPS connections only** to prevent your container from being called from insecure HTTP connections.
50
+
</TabsTab>
51
+
<TabsTablabel="Requests">
52
+
- Set a custom [timeout](/serverless-containers/concepts/#timeout) for the duration of the requests received by your container.
53
+
- Tick the box under [HTTP protocol](/serverless-containers/concepts/#protocol) to listen to HTTP/2 requests if it is required by your application. Otherwise, we recommend you use HTTP/1.
54
+
</TabsTab>
55
+
<TabsTablabel="Performances">
56
+
- Select a [sandbox](/serverless-containers/concepts/#sandbox) version:
57
+
- Sandbox v2 for shorter cold starts (recommended).
58
+
- Sandbox v1 if you require full compatibility with the Linux system call interface (legacy).
59
+
</TabsTab>
60
+
<TabsTablabel="Health checks">
61
+
- Update the [health check](/serverless-containers/concepts/#health-check) behavior according to your needs:
- Modify the [ephemeral storage](/serverless-containers/concepts/#ephemeral-storage) according to your needs.
68
+
</TabsTab>
69
+
</Tabs>
70
+
8. Click **Deploy container** to save any changes you have made.
43
71
44
72
### Manage a deployment from an external container registry
45
73
46
74
1. Click **Containers** in the **Serverless** section of the side menu. The Containers page displays.
47
75
2. Click the relevant containers namespace.
48
-
3. Click the name of the container you want to manage.
49
-
4.Check or edit any of the following information as required, on the **Deployment**tab:
76
+
3. Click the name of the container you want to manage, then select the **Settings** tab.
77
+
4.In the **Container image**section:
50
78
- Select the **External** container registry.
51
79
- Enter the public container **image URL** provided by the external registry.
52
-
- Choose the **Port** your container is listening on. We recommend configuring your container to listen on the **PORT** environment variable.
53
-
- Choose the **resources** to be allocated to your container at runtime. These define the performance characteristics of your container.
54
-
- Set your **scaling** preferences, or leave them at default values. The Scaleway platform autoscales the number of available instances of your container to match the incoming load, depending on the settings you define here.
55
-
- Define any **environment variables** you want to inject into your container. For each environment variable, click **+Add new variable** and enter the key/value pair.
56
-
- Add **secrets** for your container. Secrets are environment variables which are injected into your container, but the values are not retained or displayed by Scaleway after initial validation.
57
-
- Set the desired **privacy policy** for your container. This defines whether container invocation may be done anonymously (**public**) or only via an authentication mechanism provided by the [Scaleway API](https://www.scaleway.com/en/developers/api/serverless-containers/#authentication) (**private**).
58
-
- Click **Advanced Options** if you wish to set a custom timeout for your container.
59
-
5. Click **Deploy container** to save any changes you have made.
80
+
- Choose the [port](/serverless-containers/concepts/#port) your container is listening on. We recommend configuring your container to listen on the **PORT** environment variable.
81
+
5. In the **Resources** section, select the vCPU and memory to allocate to your container at runtime. These values define the performance characteristics of your container.
82
+
6. Set your [autoscaling](/serverless-containers/) preferences, or leave them at default values. The Scaleway platform automatically scales the number of available instances of your container to match the incoming load, depending on the settings you define here.
83
+
7. In the **Advanced options** section, check or edit any of the following:
84
+
<Tabs>
85
+
<TabsTablabel="Data">
86
+
- Declare [environment variables](/serverless-containers/concepts/#environment-variables) you want to inject into your container. For each environment variable, click **+Add variable** and enter the key/value pair.
87
+
- Declare [secrets](/serverless-containers/concepts/#secrets) for your container. Secrets are environment variables that are injected into your container, but the values are not retained or displayed by Scaleway after initial validation.
88
+
<Messagetype="note">
89
+
Encode your environment variables and secrets to `base64` if they are too large, and contain carriage returns.
90
+
</Message>
91
+
</TabsTab>
92
+
<TabsTablabel="Security">
93
+
- Set the desired [privacy policy](/serverless-containers/concepts/#privacy-policy) for your container. This defines whether container invocation may be done anonymously (**public**) or only via an authentication mechanism provided by the [Scaleway API](https://www.scaleway.com/en/developers/api/serverless-containers/#authentication) (**private**).
94
+
- Tick the box under **HTTPS connections only** to prevent your container from being called from insecure HTTP connections.
95
+
</TabsTab>
96
+
<TabsTablabel="Requests">
97
+
- Set a custom [timeout](/serverless-containers/concepts/#timeout) for the duration of the requests received by your container.
98
+
- Tick the box under [HTTP protocol](/serverless-containers/concepts/#protocol) to listen to HTTP/2 requests if it is required by your application. Otherwise, we recommend you use HTTP/1.
99
+
</TabsTab>
100
+
<TabsTablabel="Performances">
101
+
- Select a [sandbox](/serverless-containers/concepts/#sandbox) version:
102
+
- Sandbox v2 for shorter cold starts (recommended).
103
+
- Sandbox v1 if you require full compatibility with the Linux system call interface (legacy).
104
+
</TabsTab>
105
+
<TabsTablabel="Health checks">
106
+
- Update the [health check](/serverless-containers/concepts/#health-check) behavior according to your needs:
0 commit comments