Skip to content

Global Kubeconfig

Global Kubeconfig provides tools for creating, and listing resources in F5 Distributed Cloud.

ToolDescription
f5xc-api-sites-global-kubeconfig-createRevoke Global Kubeconfig.
f5xc-api-sites-global-kubeconfig-listList Global Kube Configs.
ParameterDescriptionExample
siteSite…-

Ask Claude to help you work with Global Kubeconfig resources:

“Create a global-kubeconfig named ‘example’ in the ‘production’ namespace”

“List all global-kubeconfigs in the ‘production’ namespace”

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/web/namespaces/system/sites/${PARAM}/global-kubeconfigs" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/web/namespaces/system/revoke/global-kubeconfigs" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @global_kubeconfig.json