Skip to main content
GET
/
job
/
{jobId}
/
advancedSettings
Get advanced settings
curl --request GET \
  --url https://api.qovery.com/job/{jobId}/advancedSettings \
  --header 'Authorization: <api-key>'
{
  "build.timeout_max_sec": 123,
  "build.cpu_max_in_milli": 123,
  "build.ram_max_in_gib": 123,
  "deployment.termination_grace_period_seconds": 123,
  "deployment.affinity.node.required": {},
  "job.delete_ttl_seconds_after_finished": 123,
  "cronjob.concurrency_policy": "<string>",
  "cronjob.failed_jobs_history_limit": 123,
  "cronjob.success_jobs_history_limit": 123,
  "security.service_account_name": "<string>",
  "security.automount_service_account_token": true,
  "security.read_only_root_filesystem": true
}

Authorizations

Authorization
string
header
required

Token API are generated by Qovery to manage machine to machine interaction and do not have a TTL. Prefix your token with "Token ". Curl Example: curl https://console.qovery.com/organization -H "Authorization: Token $qovery_token"

Path Parameters

jobId
string<uuid>
required

Job ID

Response

Advanced settings list

build.timeout_max_sec
integer

define the max timeout for the build

build.cpu_max_in_milli
integer

define the max cpu resources (in milli)

build.ram_max_in_gib
integer

define the max ram resources (in gib)

deployment.termination_grace_period_seconds
integer

define how long in seconds an application is supposed to be stopped gracefully

deployment.affinity.node.required
object

Set pod placement on specific Kubernetes nodes labels

job.delete_ttl_seconds_after_finished
integer | null
cronjob.concurrency_policy
string
cronjob.failed_jobs_history_limit
integer
cronjob.success_jobs_history_limit
integer
security.service_account_name
string

Allows you to set an existing Kubernetes service account name

security.automount_service_account_token
boolean

Automount Kubernetes service account token to have access to Kubernetes API from pods

security.read_only_root_filesystem
boolean

Mounts the container's root filesystem as read-only