ves-io-schema-fleet-API-Get

Examples of getting fleet

Usecase:

Get superstore-fleet

Request using vesctl:

vesctl configuration get fleet superstore-fleet --namespace system

vesctl yaml response:

metadata:
  annotations: {}
  labels: {}
  name: superstore-fleet
  namespace: system
referringObjects: []
resourceVersion: "328"
spec:
  allowAllUsb: {}
  defaultStorageClass: {}
  disableGpu: {}
  fleetLabel: superstore-fleet
  insideVirtualNetwork: []
  logsStreamingDisabled: {}
  networkConnectors:
  - kind: network_connector
    name: connect-in-out
    namespace: system
    tenant: acmecorp
  networkFirewall:
  - kind: network_firewall
    name: superstore-firewall
    namespace: system
    tenant: acmecorp
  noBondDevices: {}
  noDcClusterGroup: {}
  noStorageDevice: {}
  noStorageInterfaces: {}
  noStorageStaticRoutes: {}
  outsideVirtualNetwork: []
  volterraSoftwareVersion: 2019-build-9981
status: []
systemMetadata:
  creationTimestamp: "2021-08-25T09:03:02.261824898Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  tenant: acmecorp
  uid: c071f4f1-2246-4db0-8986-d39386f760a6

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build970361017_b001_apidocs.test/host=docker-desktop' 'https://acmecorp.console.ves.volterra.io/api/config/namespaces/system/fleets/superstore-fleet?response_format=0'

curl response:

HTTP/1.1 200 OK
Content-Type: application/json
Date: Wed, 25 Aug 2021 09:03:02 GMT
Vary: Accept-Encoding

{
  "object": null,
  "create_form": null,
  "replace_form": null,
  "resource_version": "328",
  "metadata": {
    "name": "superstore-fleet",
    "namespace": "system",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "c071f4f1-2246-4db0-8986-d39386f760a6",
    "creation_timestamp": "2021-08-25T09:03:02.261824898Z",
    "deletion_timestamp": null,
    "modification_timestamp": null,
    "initializers": null,
    "finalizers": [
    ],
    "tenant": "acmecorp",
    "creator_class": "examplesvc",
    "creator_id": "examplesvc",
    "object_index": 0,
    "owner_view": null
  },
  "spec": {
    "fleet_label": "superstore-fleet",
    "volterra_software_version": "2019-build-9981",
    "network_connectors": [
      {
        "kind": "network_connector",
        "uid": "",
        "tenant": "acmecorp",
        "namespace": "system",
        "name": "connect-in-out"
      }
    ],
    "network_firewall": [
      {
        "kind": "network_firewall",
        "uid": "",
        "tenant": "acmecorp",
        "namespace": "system",
        "name": "superstore-firewall"
      }
    ],
    "operating_system_version": "",
    "outside_virtual_network": [
    ],
    "inside_virtual_network": [
    ],
    "no_bond_devices": {

    },
    "no_storage_interfaces": {

    },
    "no_storage_device": {

    },
    "default_storage_class": {

    },
    "no_dc_cluster_group": {

    },
    "disable_gpu": {

    },
    "no_storage_static_routes": {

    },
    "enable_default_fleet_config_download": false,
    "logs_streaming_disabled": {

    },
    "allow_all_usb": {

    }
  },
  "status": [
  ],
  "referring_objects": [
  ]
}