Skip to content

Workload

List the set of workload in a namespace.

ToolDescription
f5xc-api-containerservices-workload-createCreate Workload.
f5xc-api-containerservices-workload-getGET Workload.
f5xc-api-containerservices-workload-listList Workload.
f5xc-api-containerservices-workload-updateReplace Workload.
f5xc-api-containerservices-workload-deleteDELETE Workload.
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.job-
spec.service-
spec.simple_service-
spec.stateful_service-
OptionDescriptionRecommended
spec.job.configuration.parameters[].env_var-
spec.job.configuration.parameters[].file-
OptionDescriptionRecommended
spec.job.containers[].custom_flavor-
spec.job.containers[].default_flavor-
spec.job.containers[].flavor-
OptionDescriptionRecommended
spec.job.containers[].image.container_registry-
spec.job.containers[].image.public-
OptionDescriptionRecommended
spec.job.containers[].liveness_check.exec_health_check-
spec.job.containers[].liveness_check.http_health_check-
spec.job.containers[].liveness_check.tcp_health_check-
OptionDescriptionRecommended
spec.job.containers[].liveness_check.http_health_check.port.name-
spec.job.containers[].liveness_check.http_health_check.port.num-
OptionDescriptionRecommended
spec.job.deploy_options.all_res-
spec.job.deploy_options.default_virtual_sites-
spec.job.deploy_options.deploy_ce_sites-
spec.job.deploy_options.deploy_ce_virtual_sites-
spec.job.deploy_options.deploy_re_sites-
spec.job.deploy_options.deploy_re_virtual_sites-
OptionDescriptionRecommended
spec.job.volumes[].empty_dir-
spec.job.volumes[].host_path-
spec.job.volumes[].persistent_volume-
OptionDescriptionRecommended
spec.job.volumes[].persistent_volume.storage.class_name-
spec.job.volumes[].persistent_volume.storage.default-
OptionDescriptionRecommended
spec.service.num_replicas-
spec.service.scale_to_zero-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom-
spec.service.advertise_options.advertise_in_cluster-
spec.service.advertise_options.advertise_on_public-
spec.service.advertise_options.do_not_advertise-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.http-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https_auto_cert-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.default_route-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.specific_routes-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.default_route.auto_host_rewrite-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.default_route.disable_host_rewrite-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.default_route.host_rewrite-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.default_loadbalancer-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.non_default_loadbalancer-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.disable_path_normalize-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.enable_path_normalize-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.append_server_name-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.default_header-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.pass_through-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.server_name-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.tls_cert_params-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.tls_parameters-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.coalescing_options.default_coalescing-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.coalescing_options.strict_coalescing-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.http_protocol_options.http_protocol_enable_v1_only-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.http_protocol_options.http_protocol_enable_v1_v2-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.http_protocol_options.http_protocol_enable_v2_only-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.http_protocol_options.http_protocol_enable_v1_only.header_transformation.default_header_transformation-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.http_protocol_options.http_protocol_enable_v1_only.header_transformation.legacy_header_transformation-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.http_protocol_options.http_protocol_enable_v1_only.header_transformation.preserve_case_header_transformation-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.http_protocol_options.http_protocol_enable_v1_only.header_transformation.proper_case_header_transformation-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.tls_cert_params.no_mtls-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.tls_cert_params.use_mtls-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.tls_cert_params.use_mtls.crl-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.tls_cert_params.use_mtls.no_crl-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.tls_cert_params.use_mtls.trusted_ca-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.tls_cert_params.use_mtls.trusted_ca_url-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.tls_cert_params.use_mtls.xfcc_disabled-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.tls_cert_params.use_mtls.xfcc_options-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.tls_parameters.tls_certificates[].custom_hash_algorithms-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.tls_parameters.tls_certificates[].disable_ocsp_stapling-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.tls_parameters.tls_certificates[].use_system_defaults-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.tls_parameters.tls_certificates[].private_key.blindfold_secret_info-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.https.tls_parameters.tls_certificates[].private_key.clear_secret_info-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.specific_routes.routes[].direct_response_route.headers[].exact-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.specific_routes.routes[].direct_response_route.headers[].presence-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.specific_routes.routes[].direct_response_route.headers[].regex-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.specific_routes.routes[].direct_response_route.incoming_port.no_port_match-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.specific_routes.routes[].direct_response_route.incoming_port.port-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.specific_routes.routes[].direct_response_route.incoming_port.port_ranges-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.specific_routes.routes[].direct_response_route.path.path-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.specific_routes.routes[].direct_response_route.path.prefix-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.specific_routes.routes[].direct_response_route.path.regex-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.specific_routes.routes[].redirect_route.route_redirect.remove_all_params-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.specific_routes.routes[].redirect_route.route_redirect.replace_params-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.specific_routes.routes[].redirect_route.route_redirect.retain_all_params-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.specific_routes.routes[].redirect_route.route_redirect.path_redirect-
spec.service.advertise_options.advertise_custom.ports[].http_loadbalancer.specific_routes.routes[].redirect_route.route_redirect.prefix_rewrite-
OptionDescriptionRecommended
spec.service.advertise_options.advertise_custom.ports[].port.info.same_as_port-
spec.service.advertise_options.advertise_custom.ports[].port.info.target_port-
OptionDescriptionRecommended
spec.simple_service.disabled-
spec.simple_service.enabled-

Ask Claude to help you work with Workload resources:

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

“List all workloads in the ‘production’ namespace”

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

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