Container Configuration

Edit advanced settings

Edit advanced settings by returning table of advanced settings.

put/container/{containerId}/advancedSettings

Request

Path parameters

containerIdstring uuid required

Container ID

Request body

deployment.custom_domain_check_enabledboolean

disable custom domain check when deploying an application

deployment.termination_grace_period_secondsinteger

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

deployment.affinity.node.requiredobject

Set pod placement on specific Kubernetes nodes labels

deployment.antiaffinity.pod'Preferred' | 'Requirred'

Define how you want pods affinity to behave:

  • Preferred allows, but does not require, pods of a given service are not co-located (or co-hosted) on a single node
  • Requirred ensures that the pods of a given service are not co-located (or co-hosted) on a single node (safer in term of availability but can be expensive depending on the number of replicas)
deployment.update_strategy.type'RollingUpdate' | 'Recreate'
  • RollingUpdate gracefully rollout new versions, and automatically rollback if the new version fails to start
  • Recreate stop all current versions and create new ones once all old ones have been shutdown
deployment.update_strategy.rolling_update.max_unavailable_percentinteger

Define the percentage of a maximum number of pods that can be unavailable during the update process

deployment.update_strategy.rolling_update.max_surge_percentinteger

Define the percentage of the maximum number of pods that can be created over the desired number of pods

network.ingress.proxy_body_size_mbinteger
network.ingress.force_ssl_redirectboolean

When using SSL offloading outside of cluster, you can enforce a redirect to HTTPS even when there is no TLS certificate available

network.ingress.enable_corsboolean
network.ingress.cors_allow_originstring
network.ingress.cors_allow_methodsstring
network.ingress.cors_allow_headersstring
network.ingress.proxy_buffer_size_kbinteger

header buffer size used while reading response header from upstream

network.ingress.keepalive_time_secondsinteger

Limits the maximum time (in seconds) during which requests can be processed through one keepalive connection

network.ingress.keepalive_timeout_secondsinteger

Sets a timeout (in seconds) during which an idle keepalive connection to an upstream server will stay open.

network.ingress.send_timeout_secondsinteger

Sets a timeout (in seconds) for transmitting a response to the client

network.ingress.proxy_connect_timeout_secondsinteger

Sets a timeout (in seconds) for establishing a connection to a proxied server

network.ingress.proxy_send_timeout_secondsinteger

Sets a timeout (in seconds) for transmitting a request to the proxied server

network.ingress.proxy_read_timeout_secondsinteger

Sets a timeout (in seconds) for reading a response from the proxied server

network.ingress.proxy_bufferingstring

Allows to enable or disable nginx proxy-buffering

network.ingress.proxy_request_bufferingstring

Allows to enable or disable nginx proxy-request-buffering

network.ingress.grpc_send_timeout_secondsinteger

Sets a timeout (in seconds) for transmitting a request to the grpc server

network.ingress.grpc_read_timeout_secondsinteger

Sets a timeout (in seconds) for transmitting a request to the grpc server

network.ingress.whitelist_source_rangestring

list of source ranges to allow access to ingress proxy. This property can be used to whitelist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1 To allow all source ranges, set 0.0.0.0/0.

network.ingress.denylist_source_rangestring

list of source ranges to deny access to ingress proxy. This property can be used to blacklist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1

network.ingress.extra_headersstring

Allows to define response headers

network.ingress.basic_auth_env_varstring

Set the name of an environment variable to use as a basic authentication (login:crypted_password) from htpasswd command. You can add multiples comma separated values.

network.ingress.enable_sticky_sessionboolean

Enable the load balancer to bind a user's session to a specific target. This ensures that all requests from the user during the session are sent to the same target

security.service_account_namestring

Allows you to set an existing Kubernetes service account name

hpa.cpu.average_utilization_percentinteger

Percentage value of cpu usage at which point pods should scale up.

security.automount_service_account_tokenboolean

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

security.read_only_root_filesystemboolean

Mounts the container's root filesystem as read-only

Example request

{
  "network.ingress.extra_headers": "{\"X-Frame-Options\":\"DENY \",\"X-Content-Type-Options\":\"nosniff\"}"
}

Response

Updated advanced settings

deployment.custom_domain_check_enabledboolean

disable custom domain check when deploying an application

deployment.termination_grace_period_secondsinteger

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

deployment.affinity.node.requiredobject

Set pod placement on specific Kubernetes nodes labels

deployment.antiaffinity.pod'Preferred' | 'Requirred'

Define how you want pods affinity to behave:

  • Preferred allows, but does not require, pods of a given service are not co-located (or co-hosted) on a single node
  • Requirred ensures that the pods of a given service are not co-located (or co-hosted) on a single node (safer in term of availability but can be expensive depending on the number of replicas)
deployment.update_strategy.type'RollingUpdate' | 'Recreate'
  • RollingUpdate gracefully rollout new versions, and automatically rollback if the new version fails to start
  • Recreate stop all current versions and create new ones once all old ones have been shutdown
deployment.update_strategy.rolling_update.max_unavailable_percentinteger

Define the percentage of a maximum number of pods that can be unavailable during the update process

deployment.update_strategy.rolling_update.max_surge_percentinteger

Define the percentage of the maximum number of pods that can be created over the desired number of pods

network.ingress.proxy_body_size_mbinteger
network.ingress.force_ssl_redirectboolean

When using SSL offloading outside of cluster, you can enforce a redirect to HTTPS even when there is no TLS certificate available

network.ingress.enable_corsboolean
network.ingress.cors_allow_originstring
network.ingress.cors_allow_methodsstring
network.ingress.cors_allow_headersstring
network.ingress.proxy_buffer_size_kbinteger

header buffer size used while reading response header from upstream

network.ingress.keepalive_time_secondsinteger

Limits the maximum time (in seconds) during which requests can be processed through one keepalive connection

network.ingress.keepalive_timeout_secondsinteger

Sets a timeout (in seconds) during which an idle keepalive connection to an upstream server will stay open.

network.ingress.send_timeout_secondsinteger

Sets a timeout (in seconds) for transmitting a response to the client

network.ingress.proxy_connect_timeout_secondsinteger

Sets a timeout (in seconds) for establishing a connection to a proxied server

network.ingress.proxy_send_timeout_secondsinteger

Sets a timeout (in seconds) for transmitting a request to the proxied server

network.ingress.proxy_read_timeout_secondsinteger

Sets a timeout (in seconds) for reading a response from the proxied server

network.ingress.proxy_bufferingstring

Allows to enable or disable nginx proxy-buffering

network.ingress.proxy_request_bufferingstring

Allows to enable or disable nginx proxy-request-buffering

network.ingress.grpc_send_timeout_secondsinteger

Sets a timeout (in seconds) for transmitting a request to the grpc server

network.ingress.grpc_read_timeout_secondsinteger

Sets a timeout (in seconds) for transmitting a request to the grpc server

network.ingress.whitelist_source_rangestring

list of source ranges to allow access to ingress proxy. This property can be used to whitelist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1 To allow all source ranges, set 0.0.0.0/0.

network.ingress.denylist_source_rangestring

list of source ranges to deny access to ingress proxy. This property can be used to blacklist source IP ranges for ingress proxy. The value is a comma separated list of CIDRs, e.g. 10.0.0.0/24,172.10.0.1

network.ingress.extra_headersstring

Allows to define response headers

network.ingress.basic_auth_env_varstring

Set the name of an environment variable to use as a basic authentication (login:crypted_password) from htpasswd command. You can add multiples comma separated values.

network.ingress.enable_sticky_sessionboolean

Enable the load balancer to bind a user's session to a specific target. This ensures that all requests from the user during the session are sent to the same target

security.service_account_namestring

Allows you to set an existing Kubernetes service account name

hpa.cpu.average_utilization_percentinteger

Percentage value of cpu usage at which point pods should scale up.

security.automount_service_account_tokenboolean

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

security.read_only_root_filesystemboolean

Mounts the container's root filesystem as read-only

Example response

{
  "network.ingress.extra_headers": "{\"X-Frame-Options\":\"DENY \",\"X-Content-Type-Options\":\"nosniff\"}"
}

Changes

No recorded changes to this operation across all 1 revision of this API.