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

Add Kubernetes extension #16179

Merged
merged 7 commits into from
Jan 15, 2025
Merged

Add Kubernetes extension #16179

merged 7 commits into from
Jan 15, 2025

Conversation

justin0u0
Copy link
Contributor

Description

This extension brings Kubernetes cluster management to Raycast, inspired by tools like k9s.

There are some limitations for now, like less space to show fields and no table view for aligning columns. But I think Raycast is still a great place for quick and easy Kubernetes management.

I plan to add more resources and features later, but I’m keeping this PR small to make it easier to review and to ensure it’s a good fit for Raycast.

Any feedback is appreciated, thanks!

Screencast

  • Get Pods
    kubernetes 2025-01-05 at 22 49 29

  • Get Pods with detail view
    kubernetes 2025-01-05 at 22 50 42

  • Get Services
    kubernetes 2025-01-05 at 22 51 44

  • Get Nodes (no namespace dropdown for Nodes)
    kubernetes 2025-01-05 at 22 51 59

  • Get DaemonSets
    kubernetes 2025-01-05 at 22 55 24

  • Get StatefulSets
    kubernetes 2025-01-05 at 22 55 20

  • Get Deployments
    kubernetes 2025-01-05 at 22 55 16

Checklist

@raycastbot raycastbot added the new extension Label for PRs with new extensions label Jan 5, 2025
@raycastbot
Copy link
Collaborator

Congratulations on your new Raycast extension! 🚀

Due to our current reduced availability, the initial review may take up to 10-15 business days 🎄

Once the PR is approved and merged, the extension will be available on our Store.

@pernielsentikaer
Copy link
Collaborator

Could this be an enhancement for https://www.raycast.com/ChrisKohler/kubens or are they not covering the same thing?

@pernielsentikaer pernielsentikaer self-assigned this Jan 14, 2025
@justin0u0
Copy link
Contributor Author

Could this be an enhancement for https://www.raycast.com/ChrisKohler/kubens or are they not covering the same thing?

Hi @pernielsentikaer, thank you for your question! I believe they serve different purposes:

  • kubectx: Switches the Kubernetes context (user and cluster) for the system settings
  • kubens: Switches the Kubernetes namespace of the current context for the system settings.

This extension, however, does not manage system-level context or namespace switching. Instead, it takes the current context from the system settings by default for login. While it doesn’t currently account for the system’s namespace settings, it does track the last selected namespace internally.

So, the functionality is closer to tools like k9s, rather than overlaps with, kubectx and kubens.

Copy link
Collaborator

@pernielsentikaer pernielsentikaer left a comment

Choose a reason for hiding this comment

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

Hi 👋

Looks good to me, approved

@raycastbot raycastbot merged commit f2beee6 into raycast:main Jan 15, 2025
2 checks passed
Copy link
Contributor

Published to the Raycast Store:
https://raycast.com/justin0u0/kubernetes

@raycastbot
Copy link
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

@justin0u0 justin0u0 deleted the kubernetes branch January 15, 2025 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new extension Label for PRs with new extensions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants