core: multiClusterService API spec changes

Add API changes for export services to peer cluster

Signed-off-by: sp98 <sapillai@redhat.com>
This commit is contained in:
sp98 committed 2023-02-27 21:05:48 +05:30
1 parent 3daf90e884
commit dd941de241
5 files changed
+48

No files matched your search

@@ -1905,6 +1905,13 @@ spec:
- IPv6
nullable: true
type: string
multiClusterService:
description: Enable multiClusterService to export the Services between peer clusters
properties:
enabled:
description: Enable multiClusterService to export the mon and OSD services to peer cluster. Ensure that peer clusters are connected using an MCS API compatible application, like Globalnet Submariner.
type: boolean
type: object
provider:
description: Provider is what provides network connectivity to the cluster e.g. "host" or "multus"
nullable: true
+6
View File
@@ -110,6 +110,12 @@ spec:
#ipFamily: "IPv6"
# Ceph daemons to listen on both IPv4 and Ipv6 networks
#dualStack: false
# Enable multiClusterService to export the mon and OSD services to peer cluster.
# This is useful to support RBD mirroring between two clusters having overlapping CIDRs.
# Ensure that peer clusters are connected using an MCS API compatible application, like Globalnet Submariner.
#multiClusterService:
# enabled: false
# enable the crash collector for ceph daemon crash collection
crashCollector:
disable: false
+7
View File
@@ -1903,6 +1903,13 @@ spec:
- IPv6
nullable: true
type: string
multiClusterService:
description: Enable multiClusterService to export the Services between peer clusters
properties:
enabled:
description: Enable multiClusterService to export the mon and OSD services to peer cluster. Ensure that peer clusters are connected using an MCS API compatible application, like Globalnet Submariner.
type: boolean
type: object
provider:
description: Provider is what provides network connectivity to the cluster e.g. "host" or "multus"
nullable: true
+11
View File
@@ -2158,8 +2158,19 @@ type NetworkSpec struct {
// DualStack determines whether Ceph daemons should listen on both IPv4 and IPv6
// +optional
DualStack bool `json:"dualStack,omitempty"`
// Enable multiClusterService to export the Services between peer clusters
// +optional
MultiClusterService MultiClusterServiceSpec `json:"multiClusterService,omitempty"`
}
type MultiClusterServiceSpec struct {
// Enable multiClusterService to export the mon and OSD services to peer cluster.
// Ensure that peer clusters are connected using an MCS API compatible application,
// like Globalnet Submariner.
// +optional
Enabled bool `json:"enabled,omitempty"`
}
type ConnectionsSpec struct {
// Encryption settings for the network connections.
// +nullable
@@ -2804,6 +2804,22 @@ func (in *MonitoringSpec) DeepCopy() *MonitoringSpec {
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *MultiClusterServiceSpec) DeepCopyInto(out *MultiClusterServiceSpec) {
*out = *in
return
}
// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MultiClusterServiceSpec.
func (in *MultiClusterServiceSpec) DeepCopy() *MultiClusterServiceSpec {
if in == nil {
return nil
}
out := new(MultiClusterServiceSpec)
in.DeepCopyInto(out)
return out
}
// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (in *NFSGaneshaSpec) DeepCopyInto(out *NFSGaneshaSpec) {
*out = *in
@@ -2902,6 +2918,7 @@ func (in *NetworkSpec) DeepCopyInto(out *NetworkSpec) {
*out = new(ConnectionsSpec)
(*in).DeepCopyInto(*out)
}
out.MultiClusterService = in.MultiClusterService
return
}