Skip to content

Commit

Permalink
feat(telemetric): collect SettingNameStorageNetworkForRWXVolumeEnabled
Browse files Browse the repository at this point in the history
longhorn/longhorn-8184

Signed-off-by: Chin-Ya Huang <chin-ya.huang@suse.com>
  • Loading branch information
c3y1huang committed Jul 11, 2024
1 parent 3f4efb2 commit 8c4da79
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions controller/setting_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -1806,6 +1806,7 @@ func (info *ClusterInfo) collectSettings() error {
types.SettingNameCRDAPIVersion: true,
types.SettingNameCreateDefaultDiskLabeledNodes: true,
types.SettingNameDefaultDataLocality: true,
types.SettingNameDefaultMinNumberOfBackingImageCopies: true,
types.SettingNameDefaultReplicaCount: true,
types.SettingNameDisableRevisionCounter: true,
types.SettingNameDisableSchedulingOnCordonedNode: true,
Expand All @@ -1816,6 +1817,7 @@ func (info *ClusterInfo) collectSettings() error {
types.SettingNameKubernetesClusterAutoscalerEnabled: true,
types.SettingNameNodeDownPodDeletionPolicy: true,
types.SettingNameNodeDrainPolicy: true,
types.SettingNameOfflineReplicaRebuilding: true,
types.SettingNameOrphanAutoDeletion: true,
types.SettingNameRecurringFailedJobsHistoryLimit: true,
types.SettingNameRecurringSuccessfulJobsHistoryLimit: true,
Expand All @@ -1832,6 +1834,7 @@ func (info *ClusterInfo) collectSettings() error {
types.SettingNameSnapshotDataIntegrity: true,
types.SettingNameSnapshotDataIntegrityImmediateCheckAfterSnapshotCreation: true,
types.SettingNameStorageMinimalAvailablePercentage: true,
types.SettingNameStorageNetworkForRWXVolumeEnabled: true,
types.SettingNameStorageOverProvisioningPercentage: true,
types.SettingNameStorageReservedPercentageForDefaultDisk: true,
types.SettingNameSupportBundleFailedHistoryLimit: true,
Expand All @@ -1840,8 +1843,6 @@ func (info *ClusterInfo) collectSettings() error {
types.SettingNameV1DataEngine: true,
types.SettingNameV2DataEngine: true,
types.SettingNameV2DataEngineGuaranteedInstanceManagerCPU: true,
types.SettingNameOfflineReplicaRebuilding: true,
types.SettingNameDefaultMinNumberOfBackingImageCopies: true,
}

settings, err := info.ds.ListSettings()
Expand Down

0 comments on commit 8c4da79

Please sign in to comment.