Skip to content

Local Kubeconfig

Medium Risk

Some operations on this resource may modify or delete data.

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

Tools

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

Path Parameters

Parameter Description Example
name Name -
namespace Namespace -

Side Effects

Operations on this resource may have the following effects:

Creates:

  • local-kubeconfig

Example Usage

Ask Claude to help you work with Local Kubeconfig resources:

Create Local Kubeconfig

"Create a local-kubeconfig named 'example' in the 'production' namespace"

Get Local Kubeconfig Details

"Get details of the local-kubeconfig named 'example' in namespace 'production'"

CURL Examples

# 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}"