NSX-T Data Center REST API

Get information about Kubernetes tools

To show information about Kubernetes tools version. It will list kubectl
client version, kube-apiserver version. Also show, whether kubectl client
version is compatible with kube-apiserver version.kubectl is supported
within one minor version (older or newer) of kube-apiserver.
This API is available when using VMware Cloud (AWS, Dell-EMC, Outpost, Hyperscalers) or VMware NSX-T.

Request:

Method:
GET
URI Path(s):
/policy/api/v1/infra/sites/<site-id>/napp/deployment/kubernetes-tools
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
n/a

Example Request:

GET https://<policy-mgr>/policy/api/v1/infra/sites//napp/deployment/kubernetes-tools

Successful Response:

Response Code:
200 OK
Response Headers:
Content-type: application/json
Response Body:
KubernetesToolsInfo+

Example Response:

{ "client_version": "v1.19.3", "server_version": "v1.17.8", "compatible": False }

Required Permissions:

read

Feature:

policy_napp

Additional Errors: