Skip to content

Virtual K8S

Replacing an endpoint object will update the object by replacing the existing spec with the provided one. For read-then-write operations a resourceVersion mismatch will occur if the object was modified between the read and write.

ToolDescription
f5xc-api-containerservices-virtual-k8s-createCreate Virtual Kubernetes.
f5xc-api-containerservices-virtual-k8s-getGET Virtual Kubernetes.
f5xc-api-containerservices-virtual-k8s-listList Virtual Kubernetes.
f5xc-api-containerservices-virtual-k8s-updateReplace Virtual Kubernetes.
f5xc-api-containerservices-virtual-k8s-deleteDELETE Virtual Kubernetes.
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.disabled-
spec.isolated-

Ask Claude to help you work with Virtual K8S resources:

“Create a virtual-k8s named ‘example’ in the ‘production’ namespace”

“List all virtual-k8ss in the ‘production’ namespace”

“Get details of the virtual-k8s named ‘example’ in namespace ‘production‘“

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