github scaleway/scaleway-cli v2.68.0

one hour ago

Release Notes — v2.68.0

v2.67.0 → v2.68.0 · 15 commits

Table of Contents

  • Highlights
  • Breaking changes and migrations
  • Annotations
    • Flat key and value listing
  • Block Storage
    • Block Storage v1
  • Container Registry
    • Milan region
  • Instance
    • Dedicated server lifecycle commands
    • Enforced availability in placement groups
  • IPAM
    • Find IP addresses for KVDB instances
  • Bug fixes
  • Contributors
  • Internal and tooling

Highlights

  • Instance lifecycle commands add dedicated actions to pause or stop and delete a server. #6897 · commit 4ed9231
  • Block Storage commands now use the v1 API and can include deleted resources that have yet to be erased. #6884 · commit f0840b2
  • Container Registry now supports the Milan region in the CLI. #6920 · commit f538138
  • Annotations displays keys and values in a flat list that’s easier to scan and process. #6878 · commit c52cb3d

Breaking changes and migrations

  • Annotations. Pass IDs positionally for binding delete, key delete/get/update and value delete/get/update. For example, use scw annotations key get "$KEY_ID". #6889 · commit b2ec8ae
  • Annotations. If you consume the JSON output of key-value list, update parsers to read one row per key and value combination, with key_id, key, value_id and value fields. Keys without values have a row of their own. #6878 · commit c52cb3d
  • Annotations. Replace binding delete-all-matching-srn, binding delete-all-matching-value and value delete-all-matching-key with individual deletes. The bulk commands are deprecated. #6875 · commit 945c13e
  • Instance. Replace deprecated server action calls with dedicated commands such as server start and server stop. Move from server standby to server pause and review server stop-and-delete when migrating from server terminate, especially if scripts also delete attached resources. Review the output consumed by scripts that use the migrated lifecycle commands, which now return Instance v2 API responses. #6897 · commit 4ed9231

Annotations

Flat key and value listing

The listing shows key and value names alongside their IDs, making it easier to find the ID needed for an update or binding.

scw annotations key-value list
scw annotations key get "$KEY_ID"

#6878 · commit c52cb3d · #6889 · commit b2ec8ae

Block Storage

Block Storage v1

The block namespace now uses the v1 API. Volume listings can filter by volume type, and snapshot and volume listings can include deleted resources that have yet to be erased.

scw block snapshot list include-deleted=true
scw block volume list include-deleted=true

#6884 · commit f0840b2

Container Registry

Milan region

Use region=it-mil to manage Container Registry resources in Milan.

scw registry namespace list region=it-mil

#6920 · commit f538138

Instance

Dedicated server lifecycle commands

Start, reboot, pause, stop and stop-and-delete now use the Instance v2 API. Pause an Instance with server pause. For a running or paused Instance that you intend to remove, use server stop-and-delete and review its options for attached volumes, IPs and private network interfaces.

scw instance server pause "$SERVER_ID"
scw instance server stop-and-delete --help

#6897 · commit 4ed9231

Enforced availability in placement groups

Choose max_availability_enforced when group members must run on separate physical hosts. A member fails to start if the platform cannot satisfy that placement constraint.

scw instance placement-group create name=separate-hosts policy-type=max_availability_enforced

#6910 · commit 0da9fea

IPAM

Find IP addresses for KVDB instances

Filter IPs by kvdb_instance to find addresses attached to KVDB instances.

scw ipam ip list resource-types.0=kvdb_instance

#6893 · commit df55d2b

Bug fixes

  • Annotations. The human-readable binding list now shows the key and value names carried by each binding. #6871 · commit ee0b789

Contributors

Internal and tooling

Updated the Go SDK and sweeper dependencies.

Don't miss a new scaleway-cli release

NewReleases is sending notifications on new releases.