|
| 1 | +--- |
| 2 | +title: KubeBlocks CLI Overview |
| 3 | +description: KubeBlocks CLI overview |
| 4 | +sidebar_position: 1 |
| 5 | +--- |
| 6 | + |
| 7 | +## [addon](kbcli_addon.md) |
| 8 | + |
| 9 | +Addon command. |
| 10 | + |
| 11 | +* [kbcli addon describe](kbcli_addon_describe.md) - Describe an addon specification. |
| 12 | +* [kbcli addon disable](kbcli_addon_disable.md) - Disable an addon. |
| 13 | +* [kbcli addon enable](kbcli_addon_enable.md) - Enable an addon. |
| 14 | +* [kbcli addon index](kbcli_addon_index.md) - Manage custom addon indexes |
| 15 | +* [kbcli addon install](kbcli_addon_install.md) - Install KubeBlocks addon |
| 16 | +* [kbcli addon list](kbcli_addon_list.md) - List addons. |
| 17 | +* [kbcli addon purge](kbcli_addon_purge.md) - Purge the sub-resources of specified addon and versions |
| 18 | +* [kbcli addon search](kbcli_addon_search.md) - Search the addon from index |
| 19 | +* [kbcli addon uninstall](kbcli_addon_uninstall.md) - Uninstall an existed addon |
| 20 | +* [kbcli addon upgrade](kbcli_addon_upgrade.md) - Upgrade an existed addon to latest version or a specified version |
| 21 | + |
| 22 | + |
| 23 | +## [backuprepo](kbcli_backuprepo.md) |
| 24 | + |
| 25 | +BackupRepo command. |
| 26 | + |
| 27 | +* [kbcli backuprepo create](kbcli_backuprepo_create.md) - Create a backup repository |
| 28 | +* [kbcli backuprepo delete](kbcli_backuprepo_delete.md) - Delete a backup repository. |
| 29 | +* [kbcli backuprepo describe](kbcli_backuprepo_describe.md) - Describe a backup repository. |
| 30 | +* [kbcli backuprepo list](kbcli_backuprepo_list.md) - List Backup Repositories. |
| 31 | +* [kbcli backuprepo list-storage-provider](kbcli_backuprepo_list-storage-provider.md) - List storage providers. |
| 32 | +* [kbcli backuprepo update](kbcli_backuprepo_update.md) - Update a backup repository. |
| 33 | + |
| 34 | + |
| 35 | +## [cluster](kbcli_cluster.md) |
| 36 | + |
| 37 | +Cluster command. |
| 38 | + |
| 39 | +* [kbcli cluster backup](kbcli_cluster_backup.md) - Create a backup for the cluster. |
| 40 | +* [kbcli cluster cancel-ops](kbcli_cluster_cancel-ops.md) - Cancel the pending/creating/running OpsRequest which type is vscale or hscale. |
| 41 | +* [kbcli cluster configure](kbcli_cluster_configure.md) - Configure parameters with the specified components in the cluster. |
| 42 | +* [kbcli cluster connect](kbcli_cluster_connect.md) - Connect to a cluster or instance. |
| 43 | +* [kbcli cluster create](kbcli_cluster_create.md) - Create a cluster. |
| 44 | +* [kbcli cluster custom-ops](kbcli_cluster_custom-ops.md) - |
| 45 | +* [kbcli cluster delete](kbcli_cluster_delete.md) - Delete clusters. |
| 46 | +* [kbcli cluster delete-backup](kbcli_cluster_delete-backup.md) - Delete a backup. |
| 47 | +* [kbcli cluster delete-ops](kbcli_cluster_delete-ops.md) - Delete an OpsRequest. |
| 48 | +* [kbcli cluster describe](kbcli_cluster_describe.md) - Show details of a specific cluster. |
| 49 | +* [kbcli cluster describe-backup](kbcli_cluster_describe-backup.md) - Describe a backup. |
| 50 | +* [kbcli cluster describe-backup-policy](kbcli_cluster_describe-backup-policy.md) - Describe backup policy |
| 51 | +* [kbcli cluster describe-config](kbcli_cluster_describe-config.md) - Show details of a specific reconfiguring. |
| 52 | +* [kbcli cluster describe-ops](kbcli_cluster_describe-ops.md) - Show details of a specific OpsRequest. |
| 53 | +* [kbcli cluster describe-restore](kbcli_cluster_describe-restore.md) - Describe a restore |
| 54 | +* [kbcli cluster edit-backup-policy](kbcli_cluster_edit-backup-policy.md) - Edit backup policy |
| 55 | +* [kbcli cluster edit-config](kbcli_cluster_edit-config.md) - Edit the config file of the component. |
| 56 | +* [kbcli cluster explain-config](kbcli_cluster_explain-config.md) - List the constraint for supported configuration params. |
| 57 | +* [kbcli cluster expose](kbcli_cluster_expose.md) - Expose a cluster with a new endpoint, the new endpoint can be found by executing 'kbcli cluster describe NAME'. |
| 58 | +* [kbcli cluster label](kbcli_cluster_label.md) - Update the labels on cluster |
| 59 | +* [kbcli cluster list](kbcli_cluster_list.md) - List clusters. |
| 60 | +* [kbcli cluster list-backup-policies](kbcli_cluster_list-backup-policies.md) - List backups policies. |
| 61 | +* [kbcli cluster list-backups](kbcli_cluster_list-backups.md) - List backups. |
| 62 | +* [kbcli cluster list-components](kbcli_cluster_list-components.md) - List cluster components. |
| 63 | +* [kbcli cluster list-events](kbcli_cluster_list-events.md) - List cluster events. |
| 64 | +* [kbcli cluster list-instances](kbcli_cluster_list-instances.md) - List cluster instances. |
| 65 | +* [kbcli cluster list-logs](kbcli_cluster_list-logs.md) - List supported log files in cluster. |
| 66 | +* [kbcli cluster list-ops](kbcli_cluster_list-ops.md) - List all opsRequests. |
| 67 | +* [kbcli cluster list-restores](kbcli_cluster_list-restores.md) - List restores. |
| 68 | +* [kbcli cluster logs](kbcli_cluster_logs.md) - Access cluster log file. |
| 69 | +* [kbcli cluster promote](kbcli_cluster_promote.md) - Promote a non-primary or non-leader instance as the new primary or leader of the cluster |
| 70 | +* [kbcli cluster rebuild-instance](kbcli_cluster_rebuild-instance.md) - Rebuild the specified instances in the cluster. |
| 71 | +* [kbcli cluster register](kbcli_cluster_register.md) - Pull the cluster chart to the local cache and register the type to 'create' sub-command |
| 72 | +* [kbcli cluster restart](kbcli_cluster_restart.md) - Restart the specified components in the cluster. |
| 73 | +* [kbcli cluster restore](kbcli_cluster_restore.md) - Restore a new cluster from backup. |
| 74 | +* [kbcli cluster scale-in](kbcli_cluster_scale-in.md) - scale in replicas of the specified components in the cluster. |
| 75 | +* [kbcli cluster scale-out](kbcli_cluster_scale-out.md) - scale out replicas of the specified components in the cluster. |
| 76 | +* [kbcli cluster start](kbcli_cluster_start.md) - Start the cluster if cluster is stopped. |
| 77 | +* [kbcli cluster stop](kbcli_cluster_stop.md) - Stop the cluster and release all the pods of the cluster. |
| 78 | +* [kbcli cluster update](kbcli_cluster_update.md) - Update the cluster settings, such as enable or disable monitor or log. |
| 79 | +* [kbcli cluster upgrade](kbcli_cluster_upgrade.md) - Upgrade the service version(only support to upgrade minor version). |
| 80 | +* [kbcli cluster upgrade-to-v1](kbcli_cluster_upgrade-to-v1.md) - upgrade cluster to v1 api version. |
| 81 | +* [kbcli cluster volume-expand](kbcli_cluster_volume-expand.md) - Expand volume with the specified components and volumeClaimTemplates in the cluster. |
| 82 | +* [kbcli cluster vscale](kbcli_cluster_vscale.md) - Vertically scale the specified components in the cluster. |
| 83 | + |
| 84 | + |
| 85 | +## [clusterdefinition](kbcli_clusterdefinition.md) |
| 86 | + |
| 87 | +ClusterDefinition command. |
| 88 | + |
| 89 | +* [kbcli clusterdefinition describe](kbcli_clusterdefinition_describe.md) - Describe ClusterDefinition. |
| 90 | +* [kbcli clusterdefinition list](kbcli_clusterdefinition_list.md) - List ClusterDefinitions. |
| 91 | + |
| 92 | + |
| 93 | +## [componentdefinition](kbcli_componentdefinition.md) |
| 94 | + |
| 95 | +ComponentDefinition command. |
| 96 | + |
| 97 | +* [kbcli componentdefinition describe](kbcli_componentdefinition_describe.md) - Describe ComponentDefinition. |
| 98 | +* [kbcli componentdefinition list](kbcli_componentdefinition_list.md) - List ComponentDefinition. |
| 99 | + |
| 100 | + |
| 101 | +## [componentversion](kbcli_componentversion.md) |
| 102 | + |
| 103 | +ComponentVersions command. |
| 104 | + |
| 105 | +* [kbcli componentversion describe](kbcli_componentversion_describe.md) - Describe ComponentVersion. |
| 106 | +* [kbcli componentversion list](kbcli_componentversion_list.md) - List ComponentVersion. |
| 107 | + |
| 108 | + |
| 109 | +## [dataprotection](kbcli_dataprotection.md) |
| 110 | + |
| 111 | +Data protection command. |
| 112 | + |
| 113 | +* [kbcli dataprotection backup](kbcli_dataprotection_backup.md) - Create a backup for the cluster. |
| 114 | +* [kbcli dataprotection delete-backup](kbcli_dataprotection_delete-backup.md) - Delete a backup. |
| 115 | +* [kbcli dataprotection describe-backup](kbcli_dataprotection_describe-backup.md) - Describe a backup |
| 116 | +* [kbcli dataprotection describe-backup-policy](kbcli_dataprotection_describe-backup-policy.md) - Describe a backup policy |
| 117 | +* [kbcli dataprotection describe-restore](kbcli_dataprotection_describe-restore.md) - Describe a restore |
| 118 | +* [kbcli dataprotection edit-backup-policy](kbcli_dataprotection_edit-backup-policy.md) - Edit backup policy |
| 119 | +* [kbcli dataprotection list-action-sets](kbcli_dataprotection_list-action-sets.md) - List actionsets |
| 120 | +* [kbcli dataprotection list-backup-policies](kbcli_dataprotection_list-backup-policies.md) - List backup policies |
| 121 | +* [kbcli dataprotection list-backup-policy-templates](kbcli_dataprotection_list-backup-policy-templates.md) - List backup policy templates |
| 122 | +* [kbcli dataprotection list-backups](kbcli_dataprotection_list-backups.md) - List backups. |
| 123 | +* [kbcli dataprotection list-restores](kbcli_dataprotection_list-restores.md) - List restores. |
| 124 | +* [kbcli dataprotection restore](kbcli_dataprotection_restore.md) - Restore a new cluster from backup |
| 125 | + |
| 126 | + |
| 127 | +## [kubeblocks](kbcli_kubeblocks.md) |
| 128 | + |
| 129 | +KubeBlocks operation commands. |
| 130 | + |
| 131 | +* [kbcli kubeblocks compare](kbcli_kubeblocks_compare.md) - List the changes between two different version KubeBlocks. |
| 132 | +* [kbcli kubeblocks config](kbcli_kubeblocks_config.md) - KubeBlocks config. |
| 133 | +* [kbcli kubeblocks describe-config](kbcli_kubeblocks_describe-config.md) - Describe KubeBlocks config. |
| 134 | +* [kbcli kubeblocks install](kbcli_kubeblocks_install.md) - Install KubeBlocks. |
| 135 | +* [kbcli kubeblocks list-versions](kbcli_kubeblocks_list-versions.md) - List KubeBlocks versions. |
| 136 | +* [kbcli kubeblocks preflight](kbcli_kubeblocks_preflight.md) - Run and retrieve preflight checks for KubeBlocks. |
| 137 | +* [kbcli kubeblocks status](kbcli_kubeblocks_status.md) - Show list of resource KubeBlocks uses or owns. |
| 138 | +* [kbcli kubeblocks uninstall](kbcli_kubeblocks_uninstall.md) - Uninstall KubeBlocks. |
| 139 | +* [kbcli kubeblocks upgrade](kbcli_kubeblocks_upgrade.md) - Upgrade KubeBlocks. |
| 140 | + |
| 141 | + |
| 142 | +## [ops-definition](kbcli_ops-definition.md) |
| 143 | + |
| 144 | +ops-definitions command. |
| 145 | + |
| 146 | +* [kbcli ops-definition describe](kbcli_ops-definition_describe.md) - Describe OpsDefinition. |
| 147 | +* [kbcli ops-definition list](kbcli_ops-definition_list.md) - List OpsDefinition. |
| 148 | + |
| 149 | + |
| 150 | +## [options](kbcli_options.md) |
| 151 | + |
| 152 | +Print the list of flags inherited by all commands. |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | +## [playground](kbcli_playground.md) |
| 157 | + |
| 158 | +Bootstrap or destroy a playground KubeBlocks in local host or cloud. |
| 159 | + |
| 160 | +* [kbcli playground destroy](kbcli_playground_destroy.md) - Destroy the playground KubeBlocks and kubernetes cluster. |
| 161 | +* [kbcli playground init](kbcli_playground_init.md) - Bootstrap a kubernetes cluster and install KubeBlocks for playground. |
| 162 | + |
| 163 | + |
| 164 | +## [plugin](kbcli_plugin.md) |
| 165 | + |
| 166 | +Provides utilities for interacting with plugins. |
| 167 | + |
| 168 | + Plugins provide extended functionality that is not part of the major command-line distribution. |
| 169 | + |
| 170 | +* [kbcli plugin describe](kbcli_plugin_describe.md) - Describe a plugin |
| 171 | +* [kbcli plugin index](kbcli_plugin_index.md) - Manage custom plugin indexes |
| 172 | +* [kbcli plugin install](kbcli_plugin_install.md) - Install kbcli or kubectl plugins |
| 173 | +* [kbcli plugin list](kbcli_plugin_list.md) - List all visible plugin executables on a user's PATH |
| 174 | +* [kbcli plugin search](kbcli_plugin_search.md) - Search kbcli or kubectl plugins |
| 175 | +* [kbcli plugin uninstall](kbcli_plugin_uninstall.md) - Uninstall kbcli or kubectl plugins |
| 176 | +* [kbcli plugin upgrade](kbcli_plugin_upgrade.md) - Upgrade kbcli or kubectl plugins |
| 177 | + |
| 178 | + |
| 179 | +## [report](kbcli_report.md) |
| 180 | + |
| 181 | +Report kubeblocks or cluster info. |
| 182 | + |
| 183 | +* [kbcli report cluster](kbcli_report_cluster.md) - Report Cluster information |
| 184 | +* [kbcli report kubeblocks](kbcli_report_kubeblocks.md) - Report KubeBlocks information, including deployments, events, logs, etc. |
| 185 | + |
| 186 | + |
| 187 | +## [trace](kbcli_trace.md) |
| 188 | + |
| 189 | +trace management command |
| 190 | + |
| 191 | +* [kbcli trace create](kbcli_trace_create.md) - create a trace. |
| 192 | +* [kbcli trace delete](kbcli_trace_delete.md) - Delete a trace. |
| 193 | +* [kbcli trace list](kbcli_trace_list.md) - list all traces. |
| 194 | +* [kbcli trace update](kbcli_trace_update.md) - update a trace. |
| 195 | +* [kbcli trace watch](kbcli_trace_watch.md) - watch a trace. |
| 196 | + |
| 197 | + |
| 198 | +## [version](kbcli_version.md) |
| 199 | + |
| 200 | +Print the version information, include kubernetes, KubeBlocks and kbcli version. |
| 201 | + |
| 202 | + |
| 203 | + |
0 commit comments