Skip to content

CON-3113 - Implementation of probes for NFS deployments#439

Merged
dileepds merged 16 commits into
hpe-storage:masterfrom
AnushaY1916:new-nfsprobe
Apr 22, 2025
Merged

CON-3113 - Implementation of probes for NFS deployments#439
dileepds merged 16 commits into
hpe-storage:masterfrom
AnushaY1916:new-nfsprobe

Conversation

@AnushaY1916

Copy link
Copy Markdown
Contributor

No description provided.

Signed-off-by: AnushaY1916 <anuanusha471@gmail.com>
Signed-off-by: AnushaY1916 <anuanusha471@gmail.com>

@dileepds dileepds left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread pkg/flavor/kubernetes/nfs.go Outdated
Comment thread pkg/flavor/kubernetes/nfs.go Outdated
Signed-off-by: AnushaY1916 <anuanusha471@gmail.com>

@datamattsson datamattsson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we leaving residual serviceAccounts, roles and roleBindings around? I can't see these being pruned in deleteNFSResources.

Comment thread pkg/flavor/kubernetes/nfs.go Outdated
livenessProbe := &core_v1.Probe{
ProbeHandler: core_v1.ProbeHandler{
Exec: &core_v1.ExecAction{
Command: []string{"/bin/sh", "/nfsHealthCheck.sh", "3", name, nfsNamespace},

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we maintain a hash of actions for the 1, 2 and 3 in the script instead? I find this numbering very counter-intuitive. nfsNamespace is not being used in the script and should be removed.

AnushaY1916 and others added 6 commits April 15, 2025 23:22
Signed-off-by: AnushaY1916 <anuanusha471@gmail.com>
Signed-off-by: AnushaY1916 <anuanusha471@gmail.com>
Signed-off-by: Michael Mattsson <michael.mattsson@gmail.com>
Signed-off-by: Michael Mattsson <michael.mattsson@gmail.com>

@datamattsson datamattsson left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, can we please work #437 next?

@dileepds dileepds merged commit e21ffa7 into hpe-storage:master Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants