Create a config

Creates a NodeBalancer configuration, which allows the NodeBalancer to accept traffic on a new port. You will need to add NodeBalancer nodes to the new configuration before it can actually serve requests.

linode-cli nodebalancers config-create 12345 \ --port 443 \ --protocol https \ --algorithm roundrobin \ --stickiness http_cookie \ --check http_body \ --check_interval 90 \ --check_timeout 10 \ --check_attempts 3 \ --check_path "/test" \ --check_body "it works" \ --check_passive true \ --proxy_protocol "none" \ --ssl_cert "-----BEGIN CERTIFICATE----- CERTIFICATE_INFORMATION -----END CERTIFICATE-----" \ --ssl_key "-----BEGIN PRIVATE KEY----- PRIVATE_KEY_INFORMATION -----END PRIVATE KEY-----" \ --cipher_suite recommended \ <https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli>
linode-cli nodebalancers config-create 12345 \ --port 80 \ --protocol tcp \ --algorithm roundrobin \ --stickiness none \ --check http_body \ --check_interval 90 \ --check_timeout 10 \ --check_attempts 3 \ --check_path "/test" \ --check_body "it works" \ --proxy_protocol "v2" <https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli>
linode-cli nodebalancers config-create 12345 \ --port 440 \ --protocol http \ --algorithm roundrobin \ --stickiness http_cookie \ --check http_body \ --check_interval 90 \ --check_timeout 10 \ --check_attempts 3 \ --check_path "/test" \ --check_body "it works" \ <https://techdocs.akamai.com/cloud-computing/docs/getting-started-with-the-linode-cli>
nodebalancers:read_write <https://techdocs.akamai.com/linode-api/reference/get-started#oauth>
Path Params
string
required

Enum Call either the v4 URL, or v4beta for operations still in Beta.

integer
required

The ID of the NodeBalancer.

Body Params

NodeBalancer configuration details for the port based on the routing protocol.

Responses

Response body

Language
Credentials