- Home
- API MCP Server
- tools
- sites
- other
- Local Kubeconfig
Local Kubeconfig
Returns list of all local active kubeconfig minted for this site.
| Tool | Description |
|---|---|
f5xc-api-sites-local-kubeconfig-create | Create K8s Cluster Local Kube Config. |
f5xc-api-sites-local-kubeconfig-get | List Local Kube Configs. |
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”| Parameter | Description | Example |
|---|---|---|
name | Name | - |
namespace | Namespace | - |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with Local Kubeconfig resources:
Create Local Kubeconfig
Section titled “Create Local Kubeconfig”“Create a local-kubeconfig named ‘example’ in the ‘production’ namespace”
Get Local Kubeconfig Details
Section titled “Get Local Kubeconfig Details”“Get details of the local-kubeconfig named ‘example’ in namespace ‘production‘“
CURL Examples
Section titled “CURL Examples”# List resourcescurl -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 resourcecurl -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 resourcecurl -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 resourcecurl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/local_kubeconfigs/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"