-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6034185
commit 3a8385b
Showing
2 changed files
with
90 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
apiVersion: operations.kubeblocks.io/v1alpha1 | ||
kind: OpsRequest | ||
metadata: | ||
name: ch-reconfiguring | ||
namespace: default | ||
spec: | ||
# Specifies the name of the Cluster resource that this operation is targeting. | ||
clusterName: clickhouse-cluster | ||
# Instructs the system to bypass pre-checks (including cluster state checks and customized pre-conditions hooks) and immediately execute the opsRequest, except for the opsRequest of 'Start' type, which will still undergo pre-checks even if `force` is true. Note: Once set, the `force` field is immutable and cannot be updated. | ||
force: false | ||
# Specifies a component and its configuration updates. This field is deprecated and replaced by `reconfigures`. | ||
reconfigures: | ||
# Specifies the name of the Component. | ||
- componentName: clickhouse | ||
# Contains a list of ConfigurationItem objects, specifying the Component's configuration template name, upgrade policy, and parameter key-value pairs to be updated. | ||
configurations: | ||
# Sets the parameters to be updated. It should contain at least one item. | ||
# The keys are merged and retained during patch operations. | ||
- keys: | ||
# Represents the unique identifier for the ConfigMap. | ||
- key: user.xml | ||
# Defines a list of key-value pairs for a single configuration file. | ||
# These parameters are used to update the specified configuration settings. | ||
parameters: | ||
# Represents the name of the parameter that is to be updated. | ||
- key: clickhouse.profiles.web.max_bytes_to_read | ||
# Represents the parameter values that are to be updated. | ||
# If set to nil, the parameter defined by the Key field will be removed from the configuration file. | ||
value: '200000000000' | ||
# Specifies the name of the configuration template. | ||
name: clickhouse-user-tpl | ||
# Specifies the maximum number of seconds the OpsRequest will wait for its start conditions to be met before aborting. If set to 0 (default), the start conditions must be met immediately for the OpsRequest to proceed. | ||
preConditionDeadlineSeconds: 0 | ||
type: Reconfiguring |