ves-io-schema-virtual_k8s-API-List

Examples of listing virtual_k8s

Usecase:

List virtual-k8s

Request using vesctl:

vesctl configuration list virtual_k8s --namespace documentation

vesctl yaml response:

errors: []
items:
- annotations: {}
  labels: {}
  name: virtual-k8s-1
  namespace: documentation
  statusSet: []
  tenant: acmecorp
  uid: 57019578-c570-4388-978e-04fd8f1d7c92

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build1372770011_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/documentation/virtual_k8ss'

curl response

HTTP/1.1 200 OK
Content-Length: 465
Content-Type: application/json
Date: Thu, 28 Jul 2022 12:15:37 GMT
Vary: Accept-Encoding

{
  "items": [
    {
      "tenant": "acmecorp",
      "namespace": "documentation",
      "name": "virtual-k8s-1",
      "uid": "57019578-c570-4388-978e-04fd8f1d7c92",
      "description": "",
      "disabled": false,
      "labels": {
      },
      "annotations": {
      },
      "owner_view": null,
      "metadata": null,
      "system_metadata": null,
      "object": null,
      "get_spec": null,
      "status_set": [
      ]
    }
  ],
  "errors": [
  ]
}