Skip to content

Local Kubeconfig

Local Kubeconfig provides tools for creating, and retrieving resources in F5 Distributed Cloud.

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

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
# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/$${PARAM}/sites/$${PARAM}/local-kubeconfigs" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/$${PARAM}/sites/$${PARAM}/local-kubeconfig" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @local_kubeconfig.json