-
Notifications
You must be signed in to change notification settings - Fork 258
docs(srv): split troubleshootings into multiple pages MTA-5198 #3955
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
a1d6b24
docs(srv): split troubleshootings into multiple pages MTA-5198
SamyOubouaziz b44d2da
docs(srv): update
SamyOubouaziz 985f5c1
docs(srv): update
SamyOubouaziz 5a3ebf4
docs(srv): update
SamyOubouaziz 06ee289
docs(srv): update
SamyOubouaziz 58c54d0
Apply suggestions from code review
SamyOubouaziz 624ac20
Update serverless/containers/troubleshooting/cannot-create-namespace.mdx
SamyOubouaziz 4214846
Update serverless/functions/troubleshooting/handler-not-found.mdx
SamyOubouaziz e539265
Update serverless/functions/troubleshooting/cannot-create-namespace.mdx
SamyOubouaziz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
serverless/containers/troubleshooting/cannot-create-namespace.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| --- | ||
| meta: | ||
| title: I am unable to create a Serverless Containers namespace | ||
| description: Troubleshoot problems encountered while creating namespaces for Scaleway Serverless Containers. | ||
| content: | ||
| h1: I am unable to create a Serverless Containers namespace | ||
| paragraph: Troubleshoot problems encountered while creating namespaces for Scaleway Serverless Containers. | ||
| tags: serverless Containers troubleshooting issue error namespace creation unable | ||
| dates: | ||
| validation: 2024-11-06 | ||
| posted: 2024-11-06 | ||
| categories: | ||
| - serverless | ||
| --- | ||
|
|
||
| ## Problem | ||
|
|
||
| I cannot create a Serverless Containers namespace. | ||
|
|
||
| ### Cause | ||
|
|
||
| This issue can happen for the following reasons: | ||
|
|
||
| - You have created too many Serverless Containers namespaces and reached [your account's quota](/identity-and-access-management/organizations-and-projects/additional-content/organization-quotas/#serverless-containers). | ||
|
|
||
| - You have created too many Registry namespaces and reached [your account's quota](/identity-and-access-management/organizations-and-projects/additional-content/organization-quotas/#container-registry). | ||
|
|
||
| ### Possible solutions | ||
|
|
||
| Make sure that you have not exceeded the maximum number of allowed namespaces with the [Scaleway console](https://console.scaleway.com/) or with the [API](https://www.scaleway.com/en/developers/api/serverless-containers/#path-namespaces-list-all-your-namespaces). |
37 changes: 37 additions & 0 deletions
37
serverless/containers/troubleshooting/cannot-deploy-image.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| --- | ||
| meta: | ||
| title: I am unable to deploy my image | ||
| description: Troubleshoot errors encountered while deploying images with Scaleway Serverless Containers. | ||
| content: | ||
| h1: I am unable to deploy my image | ||
| paragraph: Troubleshoot errors encountered while deploying images with Scaleway Serverless Containers. | ||
| tags: serverless containers troubleshooting issue error message deploy image failed | ||
| dates: | ||
| validation: 2024-11-07 | ||
| posted: 2024-11-07 | ||
| categories: | ||
| - serveless | ||
| --- | ||
|
|
||
| ## Problem | ||
|
|
||
| I am unable to deploy my image using Serverless Containers. | ||
|
|
||
| ## Possible solutions | ||
|
|
||
| - Make sure the container is listening on the specified PORT for HTTP requests (or use variable `$PORT`). | ||
|
|
||
| - Make sure the container is bound to `0.0.0.0`. | ||
|
|
||
| - Containers cannot start due to insufficient provisioned resources. Update your container's resources by provisioning more memory and more vCPU. | ||
|
|
||
| - Make sure you have built your image for an `amd64` architecture, as `arm64` is not supported. See the [Architecture](/serverless/containers/reference-content/containers-limitations/#Architecture) documentation for more information. | ||
|
|
||
| - Make sure your deployment does not exceed the limitations of [Serverless Containers](/serverless/containers/reference-content/containers-limitations/). | ||
|
|
||
| <Message type="tip"> | ||
| Run the [`docker inspect`](https://docs.docker.com/engine/reference/commandline/inspect/) command to get detailed information on your image: | ||
| ``` | ||
| docker inspect myimage | ||
| ``` | ||
| </Message> |
33 changes: 33 additions & 0 deletions
33
serverless/containers/troubleshooting/cannot-inject-secret-variable.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| --- | ||
| meta: | ||
| title: My secrets and variables are not injected properly in my container | ||
| description: Troubleshoot issues with secrets and environment variables while using Scaleway Serverless Containers. | ||
| content: | ||
| h1: My secrets and variables are not injected properly in my container | ||
| paragraph: Troubleshoot issues with secrets and environment variables while using Scaleway Serverless Containers. | ||
| tags: serverless containers troubleshooting issue error image env var environment variables secrets secret manager | ||
| dates: | ||
| validation: 2024-11-06 | ||
| posted: 2024-11-06 | ||
| categories: | ||
| - serverless | ||
| --- | ||
|
|
||
| ## Problem | ||
|
|
||
| My environment variables and secrets are not properly injected in my Serverless Container. | ||
|
|
||
| ## Cause | ||
|
|
||
| Environment variables or secrets that are too large, contain carriage returns and spread over several lines, as shown below, will not be injected properly. | ||
|
|
||
| ``` | ||
| "hello | ||
| world | ||
| . | ||
| " | ||
| ``` | ||
|
|
||
| ### Solution | ||
|
|
||
| To avoid issues while injecting environment variables and secrets, we recommend encoding them to `base64`. |
28 changes: 28 additions & 0 deletions
28
serverless/containers/troubleshooting/cannot-retrieve-external-image.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| --- | ||
| meta: | ||
| title: I am unable to retrieve an external image for my container | ||
| description: Troubleshoot errors while retrieving external images while using Scaleway Serverless Containers. | ||
| content: | ||
| h1: I am unable to retrieve an external image for my container | ||
| paragraph: Troubleshoot errors while retrieving external images while using Scaleway Serverless Containers. | ||
| tags: serverless containers troubleshooting issue error image retrieve external public registry | ||
| dates: | ||
| validation: 2024-11-06 | ||
| posted: 2024-11-06 | ||
| categories: | ||
| - serverless | ||
| --- | ||
|
|
||
| ## Problem | ||
|
|
||
| I am experiencing issues when retrieving an image stored in an external container registry. | ||
|
|
||
| ## Cause | ||
|
|
||
| Serverless products support external public registries (such as [Docker Hub](https://hub.docker.com/)), but we do not recommend using them due to uncontrolled rate limiting, which can lead to failures when starting resources, unexpected usage conditions, and pricing changes. | ||
|
|
||
| ## Solution | ||
|
|
||
| We recommend using the [Scaleway Container Registry](/containers/container-registry/) instead, as it allows for a seamless integration with Serverless Containers and Containers at a [competitive price](/faq/containerregistry/#how-am-i-billed-for-scaleway-container-registry). | ||
|
|
||
| Refer to the [dedicated documentation](/serverless/containers/api-cli/migrate-external-image-to-scaleway-registry/) for more information on how to migrate images to the Scaleway Container Registry. | ||
This file was deleted.
Oops, something went wrong.
26 changes: 26 additions & 0 deletions
26
serverless/containers/troubleshooting/container-stopped-after-redeploy.mdx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| --- | ||
| meta: | ||
| title: My container stopped working after a redeploy | ||
| description: Troubleshoot issues with Scaleway Serverless Containers not working properly following a redeploy. | ||
| content: | ||
| h1: My container stopped working after a redeploy | ||
| paragraph: Troubleshoot issues with Scaleway Serverless Containers not working properly following a redeploy. | ||
| tags: serverless containers troubleshooting issue error state failed fail redeploy | ||
| dates: | ||
| validation: 2024-11-06 | ||
| posted: 2024-11-06 | ||
| categories: | ||
| - serverless | ||
| --- | ||
|
|
||
| ## Problem | ||
|
|
||
| My Serverless Container stopped working (up to several hours) after a redeploy. | ||
|
|
||
| ## Cause | ||
|
|
||
| The new deploy failed, and the [fallback mechanism has been triggered](/serverless/containers/reference-content/containers-limitations/#versioning-and-rollback). | ||
|
|
||
| ## Possible solution | ||
|
|
||
| Identify the element that caused the deployment to fail, fix the error, and deploy the container again. |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.