Skip to content
Snippets Groups Projects
Unverified Commit 00301edb authored by andyli's avatar andyli Committed by GitHub
Browse files

Merge pull request #177 from andyli029/statefulset

api,config: fix the incorrect description about MetricsOpts
parents 4a5ad564 a808d7fd
Branches
Tags v2.0.0
No related merge requests found
......@@ -51,7 +51,7 @@ type ClusterSpec struct {
// +kubebuilder:default:={image: "radondb/xenon:1.1.5-alpha", admitDefeatHearbeatCount: 5, electionTimeout: 10000, resources: {limits: {cpu: "100m", memory: "256Mi"}, requests: {cpu: "50m", memory: "128Mi"}}}
XenonOpts XenonOpts `json:"xenonOpts,omitempty"`
// XenonOpts is the options of metrics container.
// MetricsOpts is the options of metrics container.
// +optional
// +kubebuilder:default:={image: "prom/mysqld-exporter:v0.12.1", resources: {limits: {cpu: "100m", memory: "128Mi"}, requests: {cpu: "10m", memory: "32Mi"}}, enabled: false}
MetricsOpts MetricsOpts `json:"metricsOpts,omitempty"`
......
......@@ -61,7 +61,7 @@ spec:
requests:
cpu: 10m
memory: 32Mi
description: XenonOpts is the options of metrics container.
description: MetricsOpts is the options of metrics container.
properties:
enabled:
default: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment