Local Kubeconfig
Local Kubeconfig provides tools for creating, and retrieving resources in F5 Distributed Cloud.
| 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… | example-resource |
namespace | Namespace… | system |
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”# Get specific resourcecurl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/$${PARAM}/sites/$${PARAM}/local-kubeconfigs" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Create resourcecurl -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