Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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 api/v1beta2/mysqlcluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ type MySQLClusterSpec struct {
// +kubebuilder:validation:Minimum=0
// +kubebuilder:default=3600
// +optional
StartupWaitSeconds int32 `json:"startupDelaySeconds,omitempty"`
StartupWaitSeconds int32 `json:"startupWaitSeconds,omitempty"`

// LogRotationSchedule specifies the schedule to rotate MySQL logs.
// If not set, the default is to rotate logs every 5 minutes.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8216,7 +8216,7 @@ spec:
serverIDBase:
format: int32
type: integer
startupDelaySeconds:
startupWaitSeconds:
default: 3600
format: int32
minimum: 0
Expand Down
2 changes: 1 addition & 1 deletion config/crd/bases/moco.cybozu.com_mysqlclusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8202,7 +8202,7 @@ spec:
serverIDBase:
format: int32
type: integer
startupDelaySeconds:
startupWaitSeconds:
default: 3600
format: int32
minimum: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8210,7 +8210,7 @@ spec:
serverIDBase:
format: int32
type: integer
startupDelaySeconds:
startupWaitSeconds:
default: 3600
format: int32
minimum: 0
Expand Down
2 changes: 1 addition & 1 deletion docs/crd_mysqlcluster_v1beta2.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ MySQLClusterSpec defines the desired state of MySQLCluster
| collectors | Collectors is the list of collector flag names of mysqld_exporter. If this field is not empty, MOCO adds mysqld_exporter as a sidecar to collect and export mysqld metrics in Prometheus format.\n\nSee https://github.com/prometheus/mysqld_exporter/blob/master/README.md#collector-flags for flag names.\n\nExample: [\"engine_innodb_status\", \"info_schema.innodb_metrics\"] | []string | false |
| serverIDBase | ServerIDBase, if set, will become the base number of server-id of each MySQL instance of this cluster. For example, if this is 100, the server-ids will be 100, 101, 102, and so on. If the field is not given or zero, MOCO automatically sets a random positive integer. | int32 | false |
| maxDelaySeconds | MaxDelaySeconds, if set, configures the readiness probe of mysqld container. For a replica mysqld instance, if it is delayed to apply transactions over this threshold, the mysqld instance will be marked as non-ready. The default is 60 seconds. | int | false |
| startupDelaySeconds | StartupWaitSeconds is the maximum duration to wait for `mysqld` container to start working. The default is 3600 seconds. | int32 | false |
| startupWaitSeconds | StartupWaitSeconds is the maximum duration to wait for `mysqld` container to start working. The default is 3600 seconds. | int32 | false |
| logRotationSchedule | LogRotationSchedule specifies the schedule to rotate MySQL logs. If not set, the default is to rotate logs every 5 minutes. See https://pkg.go.dev/github.com/robfig/cron/v3#hdr-CRON_Expression_Format for the field format. | string | false |
| backupPolicyName | The name of BackupPolicy custom resource in the same namespace. If this is set, MOCO creates a CronJob to take backup of this MySQL cluster periodically. | *string | true |
| restore | Restore is the specification to perform Point-in-Time-Recovery from existing cluster. If this field is not null, MOCO restores the data as specified and create a new cluster with the data. This field is not editable. | *[RestoreSpec](#restorespec) | false |
Expand Down