Skip to content

Global Kubeconfig

Returns list of all global active kubeconfig minted for this site.

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