Skip to main content
This page contains a list of commonly used snctl commands and flags.

snctl autocomplete

BASH

You can also use a shorthand alias for snctl that also works with completion:

ZSH

snctl apply

apply manages resources through files defining StreamNative Cloud resources. It creates and updates StreamNative Cloud resources through running snctl apply. This is recommended way of managing StreamNative Cloud resources in production.

Creating and updating resources

The manifests of StreamNative Cloud resources can be defined in YAML or JSON. The file extension .yaml, .yml, and .json can be used.

Viewing and finding resources

Deleting resources

Resource types

List all supported resource types along with their shortnames, API group, whether they are namespaced (organizational scoped), and kind.

Service Context Management

Manage and use service contexts to interact with Pulsar and Kafka clusters via snctl. The active context determines the target cluster for pulsar and kafka commands.