Skip to content

Commit

Permalink
Merge pull request #553 from BlaineEXE/bz-2257296-force-enable-nfs-rp…
Browse files Browse the repository at this point in the history
…c-liveness-probe-odf-415

Bug 2257296: nfs: enable the rpc liveness probe in d/s 4.15
  • Loading branch information
BlaineEXE authored Jan 8, 2024
2 parents edab3a1 + a2eec49 commit 2c7f55c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/operator/ceph/nfs/spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func (r *ReconcileCephNFS) daemonContainer(nfs *cephv1.CephNFS, cfg daemonConfig

func (r *ReconcileCephNFS) defaultGaneshaLivenessProbe(nfs *cephv1.CephNFS) *v1.Probe {
failureThreshold := int32(10)
cephVersionWithRpcinfo := version.CephVersion{Major: 18, Minor: 2, Extra: 1}
cephVersionWithRpcinfo := version.CephVersion{Major: 17, Minor: 2, Extra: 6}
if r.clusterInfo.CephVersion.IsAtLeast(cephVersionWithRpcinfo) {
// liveness-probe using rpcinfo utility
return controller.GenerateLivenessProbeViaRpcinfo(nfsPort, failureThreshold)
Expand Down

0 comments on commit 2c7f55c

Please sign in to comment.