Skip to content

Healthcheck

Healthcheck object defines method to determine if the given Endpoint is healthy. Single Healthcheck object can be referred to by one or many Cluster objects.

ToolDescription
f5xc-api-virtual-healthcheck-createCreate Health Check.
f5xc-api-virtual-healthcheck-getGET Health Check.
f5xc-api-virtual-healthcheck-listList Health Check.
f5xc-api-virtual-healthcheck-updateReplace Health Check.
f5xc-api-virtual-healthcheck-deleteDELETE Health Check.
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.http_health_check-
spec.tcp_health_check-
spec.udp_icmp_health_check-
OptionDescriptionRecommended
spec.http_health_check.host_header-
spec.http_health_check.use_origin_server_name-✅ Yes

Ask Claude to help you work with Healthcheck resources:

“Create a healthcheck named ‘example’ in the ‘production’ namespace”

“List all healthchecks in the ‘production’ namespace”

“Get details of the healthcheck named ‘example’ in namespace ‘production‘“

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/healthchecks" \
-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}/healthchecks/<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}/healthchecks" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @healthcheck.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/healthchecks/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"