Skip to content

TCP Loadbalancer

Shape of the TCP load balancer replace specification.

ToolDescription
f5xc-api-virtual-tcp-loadbalancer-createCreate TCP Load Balancer.
f5xc-api-virtual-tcp-loadbalancer-getGET TCP Load Balancer.
f5xc-api-virtual-tcp-loadbalancer-listList Configure TCP Load Balancer.
f5xc-api-virtual-tcp-loadbalancer-updateReplace TCP Load Balancer.
f5xc-api-virtual-tcp-loadbalancer-deleteDELETE Configure TCP Load Balancer.
ParameterDescriptionExample
metadata.namespaceNamespace-
nameName-
namespaceNamespace-
metadata.nameName-
ParameterDescriptionExample
response_formatThe format in which the configuration object is to be fetched. This could be for example-
label_filterA LabelSelectorType expression that every item in list response will satisfy.-
report_fieldsThe report_fields parameter-
report_status_fieldsThe report_status_fields parameter-

This resource includes mutually exclusive configuration options:

OptionDescriptionRecommended
spec.advertise_custom-
spec.advertise_on_public-
spec.advertise_on_public_default_vip-
spec.do_not_advertise-
OptionDescriptionRecommended
spec.do_not_retract_cluster-
spec.retract_cluster-
OptionDescriptionRecommended
spec.hash_policy_choice_least_active-
spec.hash_policy_choice_random-
spec.hash_policy_choice_round_robin-
spec.hash_policy_choice_source_ip_stickiness-
OptionDescriptionRecommended
spec.tcp-
spec.tls_tcp-
spec.tls_tcp_auto_cert-
OptionDescriptionRecommended
spec.listen_port-
spec.port_ranges-
OptionDescriptionRecommended
spec.active_service_policies-
spec.no_service_policies-
spec.service_policies_from_namespace-
OptionDescriptionRecommended
spec.default_lb_with_sni-
spec.no_sni-
spec.sni-
OptionDescriptionRecommended
spec.advertise_custom.advertise_where[].advertise_on_public-
spec.advertise_custom.advertise_where[].cloud_edge_segment-
spec.advertise_custom.advertise_where[].segment-
spec.advertise_custom.advertise_where[].site-
spec.advertise_custom.advertise_where[].site_segment-
spec.advertise_custom.advertise_where[].virtual_network-
spec.advertise_custom.advertise_where[].virtual_site-
spec.advertise_custom.advertise_where[].virtual_site_segment-
spec.advertise_custom.advertise_where[].virtual_site_with_vip-
spec.advertise_custom.advertise_where[].vk8s_service-
OptionDescriptionRecommended
spec.advertise_custom.advertise_where[].virtual_network.default_v6_vip-
spec.advertise_custom.advertise_where[].virtual_network.specific_v6_vip-
OptionDescriptionRecommended
spec.advertise_custom.advertise_where[].virtual_network.default_vip-
spec.advertise_custom.advertise_where[].virtual_network.specific_vip-
OptionDescriptionRecommended
spec.origin_pools_weights[].cluster-
spec.origin_pools_weights[].pool-
OptionDescriptionRecommended
spec.tls_tcp.tls_cert_params-
spec.tls_tcp.tls_parameters-
OptionDescriptionRecommended
spec.tls_tcp.tls_cert_params.no_mtls-
spec.tls_tcp.tls_cert_params.use_mtls-
OptionDescriptionRecommended
spec.tls_tcp.tls_cert_params.use_mtls.crl-
spec.tls_tcp.tls_cert_params.use_mtls.no_crl-
OptionDescriptionRecommended
spec.tls_tcp.tls_cert_params.use_mtls.trusted_ca-
spec.tls_tcp.tls_cert_params.use_mtls.trusted_ca_url-
OptionDescriptionRecommended
spec.tls_tcp.tls_cert_params.use_mtls.xfcc_disabled-
spec.tls_tcp.tls_cert_params.use_mtls.xfcc_options-
OptionDescriptionRecommended
spec.tls_tcp.tls_parameters.tls_certificates[].custom_hash_algorithms-
spec.tls_tcp.tls_parameters.tls_certificates[].disable_ocsp_stapling-
spec.tls_tcp.tls_parameters.tls_certificates[].use_system_defaults-
OptionDescriptionRecommended
spec.tls_tcp.tls_parameters.tls_certificates[].private_key.blindfold_secret_info-
spec.tls_tcp.tls_parameters.tls_certificates[].private_key.clear_secret_info-

Ask Claude to help you work with TCP Loadbalancer resources:

“Create a tcp-loadbalancer named ‘example’ in the ‘production’ namespace”

“List all tcp-loadbalancers in the ‘production’ namespace”

“Get details of the tcp-loadbalancer named ‘example’ in namespace ‘production‘“

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/tcp_loadbalancers" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/tcp_loadbalancers/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/tcp_loadbalancers" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @tcp_loadbalancer.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/tcp_loadbalancers/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"