Skip to content

Commit e7961b2

Browse files
fixes
1 parent c73033e commit e7961b2

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

pages/serverless-jobs/concepts.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import ServerlessConcepts from '@macros/serverless/serverless-concepts.mdx'
1010

1111
## Commands and arguments
1212

13-
Field `command` is deprecated prior `startup_command` in `v1alpha2`.
13+
Field `command` is deprecated in favor of `startup_command` in `v1alpha2`.
1414

1515
For more details see [startup command and arguments](/serverless-jobs/concepts/#startup-commands-and-arguments) and [v1alpha2 migration guide](/serverless-jobs/reference-content/v1alpha1-to-v1alpha2/).
1616

@@ -102,6 +102,7 @@ Refer to the [official Kubernetes documentation](https://kubernetes.io/docs/task
102102
## Status
103103
104104
A Serverless Job run can have the following statuses:
105+
* **Running**: your Serverless Job run is currently executing.
105106
* **Succeeded**: your Serverless Job run finished in a successful state.
106107
* **Queued**: your Serverless Job run is waiting for resources to run.
107108
* **Error**: your Serverless Job run finished with an error or timeout. [Check our troubleshooting documentation](/serverless-jobs/troubleshooting/job-in-error-state/) to solve the issue.
@@ -117,7 +118,7 @@ To store data you can use [Scaleway Object Storage](/object-storage/), [Scaleway
117118
118119
## Terraform/OpenTofu
119120
120-
Terraform/OpenTofu is an infrastructure-as-code tool, owned by Hashicorp. Serverless Jobs integrate easily with your infrastructure as code, via our [Terraform/OpenTofu provider and resources](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/job_definition).
121+
Terraform is an infrastructure-as-code tool developed by HashiCorp, while OpenTofu is an open-source fork of Terraform. Serverless Jobs integrate easily with your infrastructure as code, via our [Terraform/OpenTofu provider and resources](https://registry.terraform.io/providers/scaleway/scaleway/latest/docs/resources/job_definition).
121122
122123
Examples using Terraform/OpenTofu can be found in our [Serverless Examples repository](https://github.com/scaleway/serverless-examples), such as our [example using Terraform/OpenTofu with Serverless Jobs](https://github.com/scaleway/serverless-examples/blob/main/jobs/terraform-hello-world).
123124

pages/serverless-jobs/how-to/migrate-command-to-startup-command.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: How to migrate from startup command to command and arguments
3-
description: Learn how to migrate from the legacy startup command system to the modern commands and arguments for Scaleway Serverless Jobs.
2+
title: How to migrate from command to startup command and arguments
3+
description: Learn how to migrate from the legacy command system to the modern startup command and arguments for Scaleway Serverless Jobs.
44
tags: containers
55
dates:
66
validation: 2025-12-23
@@ -9,23 +9,23 @@ dates:
99

1010
import Requirements from '@macros/iam/requirements.mdx'
1111

12-
The Serverless Jobs `v1alpha2` API introduces a new startup execution mechanism based on [commands and arguments](/serverless-containers/concepts/#startup-command-and-arguments), replacing the legacy `command`.
12+
The Serverless Jobs `v1alpha2` API introduces a new startup execution mechanism based on [commands and arguments](/serverless-jobs/concepts/#startup-commands-and-arguments), replacing the legacy `command`.
1313

1414
The Scaleway console allows you to quickly and easily migrate your existing jobs to the new system.
1515

1616
Migration from `command` field to `startup_command` field is mostly transparent for customers using Scaleway Console but can require some attention of API, CLI and other devtools users.
1717

1818
The change allows for:
19-
- More customisation for executing complex command, by separating `startup_command` and `args`.
20-
- To match our underlying [Kubernetes implementation](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/).
21-
- It allows to compute environment variables used in command and argument strings.
19+
- More customization for executing complex commands, by separating `startup_command` and `args`.
20+
- Better alignment with our underlying [Kubernetes implementation](https://kubernetes.io/docs/tasks/inject-data-application/define-command-argument-container/).
21+
- The ability to compute environment variables used in command and argument strings.
2222
- `startup_command` is now an array of commands instead of a single string.
2323

2424
<Requirements />
2525

2626
- A Scaleway account logged into the [console](https://console.scaleway.com)
2727
- [Owner](/iam/concepts/#owner) status or [IAM permissions](/iam/concepts/#permission) allowing you to perform actions in the intended Organization
28-
- An existing job that uses a startup command
28+
- An existing job that uses the legacy command field
2929

3030
## How to migrate from command to startup commands and arguments
3131

0 commit comments

Comments
 (0)