Skip to content

Commit

Permalink
Unified Distributed Storage API implementation and go dependency pack…
Browse files Browse the repository at this point in the history
…age updates. Furthermore modified distributed proposal based on actual API implementation.

Signed-off-by: LiZhenCheng9527 <lizhencheng6@huawei.com>
  • Loading branch information
LiZhenCheng9527 committed Oct 21, 2023
1 parent f919f33 commit 748073b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/proposals/distributedstorage/distributedstorage.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ type MonSpec struct {
// +kubebuilder:validation:Minimum=0
// +kubebuilder:validation:Maximum=9
// +optional
Count int `json:"count,omitempty"`
Count *int `json:"count,omitempty"`
// In a ceph cluster, it is recommended that the monitor pod be deployed on a different node in order to ensure high availability of data.
// In practice, you can label the node where the monitor pod is deployed with Annotation/Labels.
Expand Down Expand Up @@ -277,7 +277,7 @@ type MgrSpec struct {
// +kubebuilder:validation:Minimum=0
// +kubebuilder:validation:Maximum=2
// +optional
Count int `json:"count,omitempty"`
Count *int `json:"count,omitempty"`

// Use Annotations/labels to achieve the goal of placing two managers on different nodes.
// The annotations-related configuration to add/set on each Pod related object.
Expand Down Expand Up @@ -388,7 +388,6 @@ StorageClusterSpec:
storage:
# Cluster-level configuration, used by nodes not specifically specified in the configuration.
# The specially designated nodes use their own configuration, as shown below.
useAllDevices: true
nodes:
- name: "172.17.4.201"
devices:
Expand Down

0 comments on commit 748073b

Please sign in to comment.