Skip to content

Local Kubeconfig

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

ToolDescription
f5xc-api-sites-local-kubeconfig-createCreate K8s Cluster Local Kube Config.
f5xc-api-sites-local-kubeconfig-getList Local Kube Configs.
ParameterDescriptionExample
nameName-
namespaceNamespace-

Ask Claude to help you work with Local Kubeconfig resources:

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

“Get details of the local-kubeconfig named ‘example’ in namespace ‘production‘“

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