Skip to content

Commit 54db6c5

Browse files
authored
chore: update copyright for 2025 (#544)
Co-authored-by: ldming <ldming@users.noreply.github.com>
1 parent 3717822 commit 54db6c5

File tree

371 files changed

+500
-451
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

371 files changed

+500
-451
lines changed

addons

Submodule addons updated 1018 files

cmd/cli/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
Copyright (C) 2022-2024 ApeCloud Co., Ltd
2+
Copyright (C) 2022-2025 ApeCloud Co., Ltd
33
44
This file is part of KubeBlocks project
55

docker/docker.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
#Copyright (C) 2022-2024 ApeCloud Co., Ltd
2+
#Copyright (C) 2022-2025 ApeCloud Co., Ltd
33
#
44
#This file is part of KubeBlocks project
55
#

docs/user_docs/cli/kbcli_cluster_create_apecloud-mysql.md

Lines changed: 31 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -21,26 +21,37 @@ kbcli cluster create apecloud-mysql NAME [flags]
2121
### Options
2222

2323
```
24-
--cpu float CPU cores. Value range [0.5, 64]. (default 0.5)
25-
--disable-exporter Enable or disable monitor. (default true)
26-
--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")
27-
--edit Edit the API resource before creating
28-
-h, --help help for apecloud-mysql
29-
--memory float Memory, the unit is Gi. Value range [0.5, 1000]. (default 0.5)
30-
--mode string Cluster topology mode. Legal values [standalone, raftGroup]. (default "standalone")
31-
--node-labels stringToString Node label selector (default [])
32-
-o, --output format Prints the output in the specified format. Allowed values: JSON and YAML (default yaml)
33-
--pod-anti-affinity string Pod anti-affinity type, one of: (Preferred, Required) (default "Preferred")
34-
--proxy-enabled Enable proxy or not.
35-
--rbac-enabled Specify whether rbac resources will be created by client, otherwise KubeBlocks server will try to create rbac resources.
36-
--replicas int The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3. Value range [1, 5]. (default 1)
37-
--storage float Storage size, the unit is Gi. Value range [1, 10000]. (default 20)
38-
--storage-class-name string Storage class name of the data volume
39-
--tenancy string Tenancy options, one of: (SharedNode, DedicatedNode) (default "SharedNode")
40-
--termination-policy string The termination policy of cluster. Legal values [DoNotTerminate, Halt, Delete, WipeOut]. (default "Delete")
41-
--tolerations strings Tolerations for cluster, such as "key=value:effect,key:effect", for example '"engineType=mongo:NoSchedule", "diskType:NoSchedule"'
42-
--topology-keys stringArray Topology keys for affinity
43-
--version string Cluster version. (default "ac-mysql-8.0.30")
24+
--cpu float CPU cores. Value range [0.5, 64]. (default 0.5)
25+
--disable-exporter Enable or disable monitor. (default true)
26+
--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")
27+
--edit Edit the API resource before creating
28+
--etcd.local.etcdctl-api string (default "3")
29+
--etcd.local.replicas int Value range [1, 3]. (default 3)
30+
--etcd.local.resources.storage string (default "20Gi")
31+
--etcd.local.service-version string (default "3.5.6")
32+
--etcd.mode string Legal values [serviceRef, local]. (default "local")
33+
--etcd.service-ref.cluster.component string (default "etcd")
34+
--etcd.service-ref.cluster.credential string
35+
--etcd.service-ref.cluster.name string
36+
--etcd.service-ref.cluster.port string (default "client")
37+
--etcd.service-ref.cluster.service string (default "headless")
38+
--etcd.service-ref.namespace string (default "default")
39+
--etcd.service-ref.service-descriptor string
40+
-h, --help help for apecloud-mysql
41+
--memory float Memory, the unit is Gi. Value range [0.5, 1000]. (default 0.5)
42+
--mode string Cluster topology mode. Legal values [standalone, raftGroup]. (default "standalone")
43+
--node-labels stringToString Node label selector (default [])
44+
-o, --output format Prints the output in the specified format. Allowed values: JSON and YAML (default yaml)
45+
--pod-anti-affinity string Pod anti-affinity type, one of: (Preferred, Required) (default "Preferred")
46+
--proxy-enabled Enable proxy or not.
47+
--replicas int The number of replicas, for standalone mode, the replicas is 1, for raftGroup mode, the default replicas is 3. Value range [1, 5]. (default 1)
48+
--storage float Storage size, the unit is Gi. Value range [1, 10000]. (default 20)
49+
--storage-class-name string Storage class name of the data volume
50+
--tenancy string Tenancy options, one of: (SharedNode, DedicatedNode) (default "SharedNode")
51+
--termination-policy string The termination policy of cluster. Legal values [DoNotTerminate, Halt, Delete, WipeOut]. (default "Delete")
52+
--tolerations strings Tolerations for cluster, such as "key=value:effect,key:effect", for example '"engineType=mongo:NoSchedule", "diskType:NoSchedule"'
53+
--topology-keys stringArray Topology keys for affinity
54+
--version string MySQL Service Version. (default "8.0.30")
4455
```
4556

4657
### Options inherited from parent commands

docs/user_docs/cli/kbcli_cluster_create_elasticsearch.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ kbcli cluster create elasticsearch NAME [flags]
3131
--node-labels stringToString Node label selector (default [])
3232
-o, --output format Prints the output in the specified format. Allowed values: JSON and YAML (default yaml)
3333
--pod-anti-affinity string Pod anti-affinity type, one of: (Preferred, Required) (default "Preferred")
34-
--rbac-enabled Specify whether rbac resources will be created by client, otherwise KubeBlocks server will try to create rbac resources.
3534
--replicas int The number of replicas, for single-node mode, the replicas is 1, for multi-node mode, the default replicas is 3. Value range [1, 5]. (default 1)
3635
--storage float Storage size, the unit is Gi. Value range [1, 10000]. (default 20)
3736
--tenancy string Tenancy options, one of: (SharedNode, DedicatedNode) (default "SharedNode")

docs/user_docs/cli/kbcli_cluster_create_etcd.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ kbcli cluster create etcd NAME [flags]
2929
--memory float Memory, the unit is Gi. Value range [0.5, 1000]. (default 0.5)
3030
--node-labels stringToString Node label selector (default [])
3131
-o, --output format Prints the output in the specified format. Allowed values: JSON and YAML (default yaml)
32+
--peer-service.enabled Enable peer service (no need to enable for single cluster).
33+
--peer-service.type string Service type for etcd peers, default peer service for single cluster use headless ClusterIP. Valid option is LoadBalancer, will support NodePort in the future. Legal values [ClusterIP, LoadBalancer]. (default "LoadBalancer")
3234
--pod-anti-affinity string Pod anti-affinity type, one of: (Preferred, Required) (default "Preferred")
33-
--rbac-enabled Specify whether rbac resources will be created by client, otherwise KubeBlocks server will try to create rbac resources.
3435
--replicas int The number of replicas, the default replicas is 3. Value range [1, 5]. (default 3)
3536
--storage float Data Storage size, the unit is Gi. Value range [1, 10000]. (default 10)
3637
--tenancy string Tenancy options, one of: (SharedNode, DedicatedNode) (default "SharedNode")

docs/user_docs/cli/kbcli_cluster_create_kafka.md

Lines changed: 34 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -21,36 +21,40 @@ kbcli cluster create kafka NAME [flags]
2121
### Options
2222

2323
```
24-
--broker-heap string Kafka broker's jvm heap setting. (default "-XshowSettings:vm -XX:MaxRAMPercentage=100 -Ddepth=64")
25-
--broker-replicas int The number of Kafka broker replicas for separated mode. Value range [1, 100]. (default 1)
26-
--controller-heap string Kafka controller's jvm heap setting for separated mode (default "-XshowSettings:vm -XX:MaxRAMPercentage=100 -Ddepth=64")
27-
--controller-replicas int The number of Kafka controller replicas for separated mode. Legal values [1, 3, 5]. (default 1)
28-
--cpu float CPU cores. Value range [0.5, 64]. (default 0.5)
29-
--disable-exporter Enable or disable monitor. (default true)
30-
--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")
31-
--edit Edit the API resource before creating
32-
-h, --help help for kafka
33-
--memory float Memory, the unit is Gi. Value range [0.5, 1000]. (default 0.5)
34-
--meta-storage float Metadata Storage size, the unit is Gi. Value range [1, 10000]. (default 5)
35-
--meta-storage-class string The StorageClass for Kafka Metadata Storage.
36-
--mode string Mode for Kafka kraft cluster, 'combined' is combined Kafka controller and broker,'separated' is broker and controller running independently. Legal values [combined, separated]. (default "combined")
37-
--monitor-enable Enable monitor for Kafka. (default true)
38-
--monitor-replicas int The number of Kafka monitor replicas. Value range [1, 5]. (default 1)
39-
--node-labels stringToString Node label selector (default [])
40-
--node-port-enabled Whether NodePort service is enabled, default is false
41-
-o, --output format Prints the output in the specified format. Allowed values: JSON and YAML (default yaml)
42-
--pod-anti-affinity string Pod anti-affinity type, one of: (Preferred, Required) (default "Preferred")
43-
--rbac-enabled Specify whether rbac resources will be created by client, otherwise KubeBlocks server will try to create rbac resources.
44-
--replicas int The number of Kafka broker replicas for combined mode. Legal values [1, 3, 5]. (default 1)
45-
--sasl-enable Enable authentication using SASL/PLAIN for Kafka.
46-
--storage float Data Storage size, the unit is Gi. Value range [1, 10000]. (default 10)
47-
--storage-class string The StorageClass for Kafka Data Storage.
48-
--storage-enable Enable storage for Kafka.
49-
--tenancy string Tenancy options, one of: (SharedNode, DedicatedNode) (default "SharedNode")
50-
--termination-policy string The termination policy of cluster. Legal values [DoNotTerminate, Halt, Delete, WipeOut]. (default "Delete")
51-
--tolerations strings Tolerations for cluster, such as "key=value:effect,key:effect", for example '"engineType=mongo:NoSchedule", "diskType:NoSchedule"'
52-
--topology-keys stringArray Topology keys for affinity
53-
--version string Cluster version. (default "kafka-3.3.2")
24+
--broker-heap string Kafka broker's jvm heap setting. (default "-XshowSettings:vm -XX:MaxRAMPercentage=100 -Ddepth=64")
25+
--broker-replicas int The number of Kafka broker replicas for separated mode. Value range [1, 100]. (default 1)
26+
--controller-heap string Kafka controller's jvm heap setting for separated mode (default "-XshowSettings:vm -XX:MaxRAMPercentage=100 -Ddepth=64")
27+
--controller-replicas int The number of Kafka controller replicas for separated mode. Legal values [1, 3, 5]. (default 1)
28+
--cpu float CPU cores. Value range [0.5, 64]. (default 0.5)
29+
--disable-exporter Enable or disable monitor. (default true)
30+
--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")
31+
--edit Edit the API resource before creating
32+
--fixed-pod-ip-enabled advertised.listeners Whether to enable fixed Pod IP mode in Kafka's advertised.listeners
33+
-h, --help help for kafka
34+
--memory float Memory, the unit is Gi. Value range [0.5, 1000]. (default 0.5)
35+
--meta-storage float Metadata Storage size, the unit is Gi. Value range [1, 10000]. (default 5)
36+
--meta-storage-class string The StorageClass for Kafka Metadata Storage.
37+
--mode string Mode for Kafka kraft cluster, 'combined' is combined Kafka controller and broker,'separated' is broker and controller running independently. Legal values [combined, separated]. (default "combined")
38+
--monitor-enable Enable monitor for Kafka. (default true)
39+
--monitor.limit.cpu float (default 0.5)
40+
--monitor.limit.memory float (default 1)
41+
--monitor.replicas int Number of replicas for the monitor component. Value range [1]. (default 1)
42+
--monitor.request.cpu float (default 0.1)
43+
--monitor.request.memory float (default 0.2)
44+
--node-labels stringToString Node label selector (default [])
45+
--node-port-enabled advertised.listeners Whether to enable NodePort mode in Kafka's advertised.listeners
46+
-o, --output format Prints the output in the specified format. Allowed values: JSON and YAML (default yaml)
47+
--pod-anti-affinity string Pod anti-affinity type, one of: (Preferred, Required) (default "Preferred")
48+
--replicas int The number of Kafka broker replicas for combined mode. Legal values [1, 3, 5]. (default 1)
49+
--sasl-enable Enable authentication using SASL/PLAIN for Kafka.
50+
--storage float Data Storage size, the unit is Gi. Value range [1, 10000]. (default 10)
51+
--storage-class string The StorageClass for Kafka Data Storage.
52+
--storage-enable Enable storage for Kafka.
53+
--tenancy string Tenancy options, one of: (SharedNode, DedicatedNode) (default "SharedNode")
54+
--termination-policy string The termination policy of cluster. Legal values [DoNotTerminate, Halt, Delete, WipeOut]. (default "Delete")
55+
--tolerations strings Tolerations for cluster, such as "key=value:effect,key:effect", for example '"engineType=mongo:NoSchedule", "diskType:NoSchedule"'
56+
--topology-keys stringArray Topology keys for affinity
57+
--version string Cluster version. (default "3.3.2")
5458
```
5559

5660
### Options inherited from parent commands

docs/user_docs/cli/kbcli_cluster_create_mongodb.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,20 @@ kbcli cluster create mongodb NAME [flags]
2626
--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")
2727
--edit Edit the API resource before creating
2828
-h, --help help for mongodb
29+
--hostnetwork string Legal values [enabled, disabled]. (default "enabled")
2930
--memory float Memory, the unit is Gi. Value range [0.5, 1000]. (default 0.5)
3031
--mode string Cluster topology mode. Legal values [standalone, replicaset]. (default "standalone")
3132
--node-labels stringToString Node label selector (default [])
3233
-o, --output format Prints the output in the specified format. Allowed values: JSON and YAML (default yaml)
3334
--pod-anti-affinity string Pod anti-affinity type, one of: (Preferred, Required) (default "Preferred")
34-
--rbac-enabled Specify whether rbac resources will be created by client, otherwise KubeBlocks server will try to create rbac resources.
3535
--replicas int The number of replicas, for standalone mode, the replicas is 1, for replicaset mode, the default replicas is 3. Value range [1, 5]. (default 1)
3636
--storage float Storage size, the unit is Gi. Value range [1, 10000]. (default 20)
3737
--storage-class-name string Storage class name of the data volume
3838
--tenancy string Tenancy options, one of: (SharedNode, DedicatedNode) (default "SharedNode")
3939
--termination-policy string The termination policy of cluster. Legal values [DoNotTerminate, Halt, Delete, WipeOut]. (default "Delete")
4040
--tolerations strings Tolerations for cluster, such as "key=value:effect,key:effect", for example '"engineType=mongo:NoSchedule", "diskType:NoSchedule"'
4141
--topology-keys stringArray Topology keys for affinity
42-
--version string Cluster version. Legal values [7.0.12, 6.0.16, 5.0.28, 4.4.29, 4.2.24, 4.0.28]. (default "6.0.16")
42+
--version string Cluster version. Legal values [8.0.4, 7.0.16, 7.0.12, 6.0.20, 6.0.16, 5.0.30, 5.0.28, 4.4.29, 4.2.24, 4.0.28]. (default "6.0.16")
4343
```
4444

4545
### Options inherited from parent commands

0 commit comments

Comments
 (0)