Getting Information About Worker Nodes Snapshots

You can get information about the snapshots of your worker nodes, at project level, using one of our CLIs.

Getting Information About Worker Nodes Snapshots Using octl

The GetProjectSnapshots command retrieves the snapshot details for a specific project by its ID. Returns the snapshot information associated with the specified project.

Request sample
$ octl kube api GetProjectSnapshots <project_id> --profile "default"

The GetProjectSnapshots command returns the following elements:

  • ResponseContext: Information about the context of the response.

    • RequestId: The ID of the API request.

  • Snapshots: Snapshot details associated with the project.

    • VolumeSize: The size of the volume used to create the snapshot, in gibibytes (GiB).

    • AccountId: The account ID of the owner of the snapshot.

    • VolumeId: The ID of the volume used to create the snapshot.

    • CreationDate: The date and time (UTC) at which the snapshot was created.

    • Progress: The progress of the snapshot, as a percentage.

    • SnapshotId: The ID of the snapshot.

    • State: The state of the snapshot (in-queue | pending | completed | error | deleting).

    • Description: The description of the snapshot.

    • Tags: One or more tags associated with the snapshot.

      • Key: The key for the tag.

      • Value: The value for the tag.

    • PermissionsToCreateVolume: Permissions for the resource.

      • GlobalPermission: A global permission for all accounts.

      • AccountIds: One or more account IDs that the permission is associated with.

Result sample
{
  "ResponseContext": {
    "RequestId": "string"
  },
  "Snapshots": [
    {
      "VolumeSize": 0,
      "AccountId": "string",
      "VolumeId": "string",
      "CreationDate": "string",
      "Progress": 0,
      "SnapshotId": "string",
      "State": "string",
      "Description": "string",
      "Tags": [
        {
          "Key": "string",
          "Value": "string"
        }
      ],
      "PermissionsToCreateVolume": {
        "GlobalPermission": 0,
        "AccountIds": [
          "string"
        ]
      }
    }
  ]
}

Getting Information About Worker Nodes Snapshots Using OKS CLI

Before you begin: Install and configure OKS CLI. For more information, see Installing and Configuring OKS CLI.

The project snapshots command allows you to retrieve the list of snapshots of your worker nodes at project level:

Request sample
$ oks-cli project snapshots \
    --project-name NAME_OF_PROJECT

This command contains the following option that you need to specify:

  • project-name: The name of the project you want to retrieve snapshot information from.

  • (optional) output: The output format for the response (json| yaml). By default, the response format is JSON.

The project snapshots command returns the following elements:

  • VolumeSize: The size of the volume, in gibibytes (GiB).

  • AccountId: The unique identifier of the OUTSCALE account where the project’s infrastructure (such as the VPC and node pools) is deployed.

  • VolumeId: The ID of the volume.

  • CreationDate: The date and time of the snapshot creation, in ISO 8601 format.

  • Progress: The progress of the snapshot (a percentage).

  • SnapshotId: The ID of the snapshot.

  • State: The state of the snapshot (in-queue | pending | completed).

  • Description: The description of the snapshot.

  • Tags: One or more tags associated with the volume. This element contains the following information:

    • Key: The key of the tag.

    • Value: The value of the tag.

  • PermissionsToCreateVolume: Permissions for the resource. This element contains the following information:

    • GlobalPermission: The number of global permissions for all accounts.

    • AccountIds: One or more OUTSCALE account IDs that are associated with the permission.

Result sample
[
    {
        "VolumeSize": 4,
        "AccountId": "123456789012",
        "VolumeId": "vol-12345678",
        "CreationDate": "2025-07-08T11:38:03.131Z",
        "Progress": 100,
        "SnapshotId": "snap-87654321",
        "State": "completed",
        "Description": "Created by Outscale BSU CSI driver for volume vol-12345678",
        "Tags": [
            {
                "Key": "CSIVolumeSnapshotName",
                "Value": "snapshot-12345678-1234-4321-1234-123456789123"
            }
        ],
        "PermissionsToCreateVolume": {
            "GlobalPermission": 0,
            "AccountIds": []
        }
    }
]

Related Pages

Corresponding API Method