Skip to content

Commit

Permalink
Merge branch 'master' into brs3
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielZhangQD authored Dec 30, 2019
2 parents dc5de36 + 129c4e1 commit d08e9ad
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 24 deletions.
10 changes: 0 additions & 10 deletions manifests/crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -828,16 +828,6 @@ spec:
replication:
description: PDReplicationConfig is the replication configuration.
properties:
location-labels:
description: The label keys specified the location of a
store. The placement priorities is implied by the order
of label keys. For example, ["zone", "rack"] means that
we should place replicas to different zones first, then
to different racks if we don't have enough zones. Immutable,
change should be made through pd-ctl after cluster creation
items:
type: string
type: array
max-replicas:
description: 'MaxReplicas is the number of replicas for
each region. Immutable, change should be made through
Expand Down
14 changes: 0 additions & 14 deletions pkg/apis/pingcap/v1alpha1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pkg/apis/pingcap/v1alpha1/pd_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ type PDReplicationConfig struct {
// For example, ["zone", "rack"] means that we should place replicas to
// different zones first, then to different racks if we don't have enough zones.
// Immutable, change should be made through pd-ctl after cluster creation
// +k8s:openapi-gen=false
// +optional
LocationLabels StringSlice `toml:"location-labels,omitempty" json:"location-labels,omitempty"`
// StrictlyMatchLabel strictly checks if the label of TiKV is matched with LocaltionLabels.
Expand Down

0 comments on commit d08e9ad

Please sign in to comment.