Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove deprecated class command #305

Merged
merged 5 commits into from
Apr 8, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion addons
Submodule addons updated 122 files
2 changes: 1 addition & 1 deletion docs/user_docs/cli/kbcli_cluster_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ kbcli cluster create [NAME] [flags]
--rbac-enabled Specify whether rbac resources will be created by kbcli, otherwise KubeBlocks server will try to create rbac resources
--restore-to-time string Set a time for point in time recovery
--service-reference stringArray Set the other KubeBlocks cluster dependencies, each '--service-reference' corresponds to a cluster service. (e.g --service-reference name=pulsarZookeeper,cluster=zookeeper,namespace=default)
--set stringArray Set the cluster resource including cpu, memory, replicas and storage, each set corresponds to a component.(e.g. --set cpu=1,memory=1Gi,replicas=3,storage=20Gi or --set class=general-1c1g)
--set stringArray Set the cluster resource including cpu, memory, replicas and storage, each set corresponds to a component.(e.g. --set cpu=1,memory=1Gi,replicas=3,storage=20Gi)
-f, --set-file string Use yaml file, URL, or stdin to set the cluster resource
--tenancy string Tenancy options, one of: (SharedNode, DedicatedNode) (default "SharedNode")
--termination-policy string Termination policy, one of: (DoNotTerminate, Halt, Delete, WipeOut) (default "Delete")
Expand Down
2 changes: 1 addition & 1 deletion docs/user_docs/cli/kbcli_cluster_create_llm.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ kbcli cluster create llm NAME [flags]
```
--availability-policy string The availability policy of cluster. Legal values [none, node, zone]. (default "node")
--cpu float CPU cores. Value range [0, 64].
--cpu-mode Set to true if no GPU is available
--cpu-mode Set to true if no GPU is available, default true (default true)
--extra-args string extra arguments that will be passed to run model (default "--trust-remote-code")
--gpu float GPU cores. Value range [0, 64]. (default 1)
-h, --help help for llm
Expand Down
4 changes: 0 additions & 4 deletions docs/user_docs/cli/kbcli_cluster_vscale.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,12 @@ kbcli cluster vscale NAME [flags]
```
# scale the computing resources of specified components, separate with commas for multiple components
kbcli cluster vscale mycluster --components=mysql --cpu=500m --memory=500Mi

# scale the computing resources of specified components by class, run command 'kbcli class list --cluster-definition cluster-definition-name' to get available classes
kbcli cluster vscale mycluster --components=mysql --class=general-2c4g
```

### Options

```
--auto-approve Skip interactive approval before vertically scaling the cluster
--class string Component class
--components strings Component names to this operations
--cpu string Request and limit size of component cpu
--dry-run string[="unchanged"] Must be "client", or "server". If with client strategy, only print the object that would be sent, and no data is actually sent. If with server strategy, submit the server-side request, but no data is persistent. (default "none")
Expand Down
Binary file modified pkg/cluster/charts/kafka-cluster.tgz
Binary file not shown.
Binary file modified pkg/cluster/charts/llm-cluster.tgz
Binary file not shown.
Binary file modified pkg/cluster/charts/redis-cluster.tgz
Binary file not shown.
40 changes: 0 additions & 40 deletions pkg/cmd/class/class.go

This file was deleted.

47 changes: 0 additions & 47 deletions pkg/cmd/class/class_test.go

This file was deleted.

Loading
Loading