Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No agent found with Sleep Mode configured: vCluster logs, CLI output #1902

Merged
merged 1 commit into from
Jul 4, 2024

Conversation

lizardruss
Copy link
Contributor

What issue type does this pull request address? (keep at least one, remove the others)
/kind enhancement

What does this pull request do? Which issues does it resolve? (use resolves #<issue_number> if possible)
resolves ENG-3890

Copy link

netlify bot commented Jul 3, 2024

Deploy Preview for vcluster-docs canceled.

Built without sensitive environment variables

Name Link
🔨 Latest commit 87b8c1b
🔍 Latest deploy log https://app.netlify.com/sites/vcluster-docs/deploys/6685b192c0e6470007a94333

rmweir
rmweir previously requested changes Jul 3, 2024
Comment on lines +377 to +384
podList, err := cmd.kubeClient.CoreV1().Pods("").List(ctx, metav1.ListOptions{
LabelSelector: "app=loft",
})
if err != nil && !kerrors.IsNotFound(err) {
return false, err
}

return len(podList.Items) > 0, nil
Copy link

Choose a reason for hiding this comment

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

Can we narrow this down by namespace?

Copy link
Member

Choose a reason for hiding this comment

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

Since people can deploy loft in any namespace, I'm not sure if this would be a good idea

@FabianKramm FabianKramm dismissed rmweir’s stale review July 4, 2024 07:09

People can deploy with arbitrary namespace

@FabianKramm FabianKramm merged commit ceb7dec into loft-sh:main Jul 4, 2024
71 checks passed
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.

None yet

3 participants