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: "303"
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-07-14T08:07:03.934024288Z"
  creatorClass: examplesvc
  creatorId: examplesvc
  finalizers: []
  tenant: acmecorp
  uid: ca198bcf-b42d-44b0-af3d-6d65e524a2e8

Request using curl:

curl -X 'GET' -H 'X-Volterra-Useragent: v1/pgm=_tmp_go-build381173587_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, 14 Jul 2021 08:07:03 GMT
Vary: Accept-Encoding

{
  "object": null,
  "create_form": null,
  "replace_form": null,
  "resource_version": "303",
  "metadata": {
    "name": "superstore-fleet",
    "namespace": "system",
    "labels": {
    },
    "annotations": {
    },
    "description": "",
    "disable": false
  },
  "system_metadata": {
    "uid": "ca198bcf-b42d-44b0-af3d-6d65e524a2e8",
    "creation_timestamp": "2021-07-14T08:07:03.934024288Z",
    "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": [
  ]
}