Skip to content

Commit caa0ad0

Browse files
committed
docs(srv): merge create/manage/delete containers namespace MTA-5252
1 parent 108e04d commit caa0ad0

File tree

13 files changed

+75
-123
lines changed

13 files changed

+75
-123
lines changed

menu/navigation.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3796,12 +3796,8 @@
37963796
{
37973797
"items": [
37983798
{
3799-
"label": "Create a Containers namespace",
3800-
"slug": "create-a-containers-namespace"
3801-
},
3802-
{
3803-
"label": "Manage a Containers namespace",
3804-
"slug": "manage-a-containers-namespace"
3799+
"label": "Create and manage a containers namespace",
3800+
"slug": "create-manage-containers-namespace"
38053801
},
38063802
{
38073803
"label": "Deploy a container",
@@ -3838,10 +3834,6 @@
38383834
{
38393835
"label": "Delete a container",
38403836
"slug": "delete-a-container"
3841-
},
3842-
{
3843-
"label": "Delete a Containers namespace",
3844-
"slug": "delete-a-containers-namespace"
38453837
}
38463838
],
38473839
"label": "How to",

serverless/containers/concepts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ A vCPU (Virtual Central Processing Unit) is equivalent to 1000 mVCPU.
6565

6666
## Namespace
6767

68-
A namespace is a project that allows you to [group your containers](/serverless/containers/how-to/create-a-containers-namespace/). Containers in the same Namespace can share environment variables and access tokens, defined at the namespace level.
68+
A namespace is a project that allows you to [group your containers](/serverless/containers/how-to/create-manage-containers-namespace/). Containers in the same Namespace can share environment variables and access tokens, defined at the namespace level.
6969

7070
## NATS trigger
7171

serverless/containers/how-to/add-trigger-to-a-container.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ A trigger can be an HTTP request, a message from a queue or stream, a CRON sched
2424

2525
- A Scaleway account logged into the [console](https://console.scaleway.com)
2626
- [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization
27-
- Created a [containers namespace](/serverless/containers/how-to/create-a-containers-namespace/)
27+
- Created a [containers namespace](/serverless/containers/how-to/create-manage-containers-namespace/)
2828
- Deployed a container from [Scaleway Container Registry](/serverless/containers/how-to/deploy-container/) or an [external registry](/serverless/containers/how-to/deploy-container/)
2929
- [Activated SQS](/serverless/messaging/how-to/get-started/#how-to-activate-sqs-or-sns)
3030
- [Created credentials](/serverless/messaging/how-to/create-credentials/) for SQS

serverless/containers/how-to/create-a-containers-namespace.mdx

Lines changed: 0 additions & 34 deletions
This file was deleted.

serverless/containers/how-to/create-auth-token-from-console.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This page shows you how to create and manage an authentication token from the Sc
2020

2121
- A Scaleway account logged into the [console](https://console.scaleway.com)
2222
- [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization
23-
- [Created a containers namespace](/serverless/containers/how-to/create-a-containers-namespace/)
23+
- [Created a containers namespace](/serverless/containers/how-to/create-manage-containers-namespace/)
2424
- [Deployed a container](/serverless/containers/how-to/deploy-container/)
2525

2626
## Creating authentication tokens from the Scaleway console
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
meta:
3+
title: How to create and manage a Containers namespace
4+
description: Create, manage, and delete namespaces in Scaleway Serverless Containers.
5+
content:
6+
h1: How to create and manage a Containers namespace
7+
paragraph: Create, manage, and delete namespaces in Scaleway Serverless Containers.
8+
tags: container namespace manage create delete environment variable secret
9+
dates:
10+
validation: 2024-11-14
11+
posted: 2021-05-26
12+
categories:
13+
- serverless
14+
- containers
15+
---
16+
17+
This page shows you how to create and manage a Serverless Containers namespace. [Namespaces](/serverless/containers/concepts/#namespace) allow you to group your containers and share environment variables between them.
18+
19+
<Macro id="requirements" /><Macro id="requirements" />
20+
21+
- A Scaleway account logged into the [console](https://console.scaleway.com)
22+
- [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization
23+
24+
## Creating a Serverless Containers namespace
25+
26+
1. Click **Containers** in the **Serverless** section of the side menu. The list of your containers namespaces displays.
27+
2. Click **Create namespace**. If you have no existing Serverless Containers resources in your current Project, click **Deploy container**.
28+
3. Complete the following steps in the wizard:
29+
- Enter a **name**, and optionally a **description** for your namespace. The name must only contain alphanumeric characters and dashes.
30+
- Choose a **region**, which is the geographical location in which your namespace will be deployed.
31+
- Enter any **environment variables** required for your namespace. Environment variables configured in a namespace will be available in all containers/apps within the same namespace. For each environment variable, click **+Add new variable** and enter the key / value pair.
32+
- Set secret environment variables (optional). **Secrets** are environment variables that are injected into your container and stored securely, but not displayed in the console after initial validation. Add a **key** and a **value**.
33+
- Verify the **estimated cost**.
34+
4. Click **Create namespace only** to finish, or click **Create namespace and add container** if you want to [deploy a container](/serverless/containers/how-to/deploy-container/) next.
35+
36+
## Managing a Serverless Containers namespace
37+
38+
1. Click **Containers** in the **Serverless** section of the side menu. The containers page displays.
39+
40+
2. Click the containers namespace you want to manage.
41+
42+
3. Click the **Namespace settings** tab. Here, you can view information about the region, registry endpoint and description of your namespace.
43+
44+
4. Add any additional environment variables you wish to add by clicking **+Add**, entering the key/value pair, and clicking **Save**.
45+
46+
5. 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.
47+
48+
## Deleting a Serverless Containers namespace
49+
50+
<Message type="important">
51+
- This action will permanently delete your namespace and all your containers will be lost.
52+
- This action is irreversible.
53+
- The Container Registry namespace associated with your Serverless Containers namespace will be deleted.
54+
</Message>
55+
56+
1. Click **Containers** in the **Serverless** section of the side menu. The containers page displays.
57+
58+
2. Click the <Icon name="more" /> icon next to the namespace you want to delete, and select **Delete** from the drop-down menu.
59+
60+
3. Type **DELETE** in the pop-up that asks you to confirm the action, then click **Delete namespace**.
61+
62+
<Message type="tip">
63+
You can also delete a namespace from the **Namespace settings** tab.
64+
</Message>

serverless/containers/how-to/delete-a-containers-namespace.mdx

Lines changed: 0 additions & 39 deletions
This file was deleted.

serverless/containers/how-to/deploy-container.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ You can deploy a container from the [Scaleway Container Registry](/containers/co
2222

2323
- A Scaleway account logged into the [console](https://console.scaleway.com)
2424
- [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization
25-
- [Created a containers namespace](/serverless/containers/how-to/create-a-containers-namespace/)
25+
- [Created a containers namespace](/serverless/containers/how-to/create-manage-containers-namespace/)
2626
- [Created a Container Registry namespace](/containers/container-registry/how-to/create-namespace/) and [pushed a container image](/containers/container-registry/how-to/push-images/) to it
2727

2828
## Deploy from the Scaleway Container Registry

serverless/containers/how-to/manage-a-containers-namespace.mdx

Lines changed: 0 additions & 31 deletions
This file was deleted.

serverless/containers/how-to/secure-a-container.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ This page explains how to secure your container.
2020

2121
- A Scaleway account logged into the [console](https://console.scaleway.com)
2222
- [Owner](/identity-and-access-management/iam/concepts/#owner) status or [IAM permissions](/identity-and-access-management/iam/concepts/#permission) allowing you to perform actions in the intended Organization
23-
- [Created a containers namespace](/serverless/containers/how-to/create-a-containers-namespace/)
23+
- [Created a containers namespace](/serverless/containers/how-to/create-manage-containers-namespace/)
2424
- [Deployed a container](/serverless/containers/how-to/deploy-container/)
2525
- Created an [authentication token](/serverless/containers/how-to/create-auth-token-from-console/) for your container
2626

0 commit comments

Comments
 (0)