Skip to main content

set

Addedv0.1.x

This operation sets the current cluster context.

Synopsis

zilliz context set
[--cluster-id <value>]
[--endpoint <value>]
[--database <value>]

Options

  • --cluster-id (string) -

    Indicates a cluster ID. Once set, the specified cluster always applies unless otherwise specified.

  • --endpoint (string) -

    Indicates a cluster endpoint URL. This is optional, and will be auto-resolved from the specified cluster ID.

  • --database (string) -

    Indicates a database name in the specified cluster.

Example

zilliz context set --cluster-id inxx-xxxxx