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

feat(kubernetes): add kubernetes tool #1929

Draft
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

oben01
Copy link
Member

@oben01 oben01 commented Jan 12, 2025


Homarr

Thank you for your contribution. Please ensure that your pull request meets the following pull request:

  • Builds without warnings or errors (pnpm buid, autofix with pnpm format:fix)
  • Pull request targets dev branch
  • Commits follow the conventional commits guideline
  • No shorthand variable names are used (eg. x, y, i or any abbrevation)

@oben01 oben01 requested a review from a team as a code owner January 12, 2025 16:15
@oben01 oben01 linked an issue Jan 12, 2025 that may be closed by this pull request
@oben01 oben01 marked this pull request as draft January 12, 2025 16:15
@oben01 oben01 force-pushed the 1868-feat-kubernetes-integration branch from b48bf2c to 7974a68 Compare January 12, 2025 16:16
@oben01 oben01 self-assigned this Jan 12, 2025
Copy link

deepsource-io bot commented Jan 12, 2025

Here's the code health analysis summary for commits ee08725..111b863. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link

github-actions bot commented Jan 12, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 20.6% 8839 / 42894
🔵 Statements 20.6% 8839 / 42894
🔵 Functions 26.48% 348 / 1314
🔵 Branches 61.78% 1022 / 1654
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
apps/nextjs/src/env.ts 0% 0% 0% 0% 1-39
apps/nextjs/src/app/[locale]/manage/layout.tsx 0% 0% 0% 0% 1-201
apps/nextjs/src/app/[locale]/manage/tools/docker/page.tsx 0% 0% 0% 0% 1-30
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/page.tsx 0% 0% 0% 0% 1-21
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/cluster-dashboard/cluster-dashboard.tsx 0% 0% 0% 0% 1-85
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/cluster-dashboard/error.tsx 0% 0% 0% 0% 1-27
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/cluster-dashboard/header-card/header-card.tsx 0% 0% 0% 0% 1-57
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/cluster-dashboard/resource-gauge/resource-gauge.tsx 0% 0% 0% 0% 1-69
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/cluster-dashboard/resource-tile/resource-tile.tsx 0% 0% 0% 0% 1-69
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/configmaps/configmaps-table.tsx 0% 0% 0% 0% 1-69
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/configmaps/page.tsx 0% 0% 0% 0% 1-27
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/ingresses/ingresses-table.tsx 0% 0% 0% 0% 1-102
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/ingresses/page.tsx 0% 0% 0% 0% 1-28
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/kubernetes-icons/configmap-icon.tsx 0% 0% 0% 0% 1-98
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/kubernetes-icons/ingress-icon.tsx 0% 0% 0% 0% 1-68
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/kubernetes-icons/namespace-icon.tsx 0% 0% 0% 0% 1-59
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/kubernetes-icons/node-icon.tsx 0% 0% 0% 0% 1-47
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/kubernetes-icons/pod-icon.tsx 0% 0% 0% 0% 1-69
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/kubernetes-icons/secret-icon.tsx 0% 0% 0% 0% 1-132
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/kubernetes-icons/service-icon.tsx 0% 0% 0% 0% 1-112
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/kubernetes-icons/volume-icon.tsx 0% 0% 0% 0% 1-96
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/namespaces/namespaces-table.tsx 0% 0% 0% 0% 1-86
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/namespaces/page.tsx 0% 0% 0% 0% 1-27
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/nodes/nodes-table.tsx 0% 0% 0% 0% 1-125
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/nodes/page.tsx 0% 0% 0% 0% 1-28
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/pods/page.tsx 0% 0% 0% 0% 1-28
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/pods/pods-table.tsx 0% 0% 0% 0% 1-77
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/secrets/page.tsx 0% 0% 0% 0% 1-27
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/secrets/secrets-table.tsx 0% 0% 0% 0% 1-72
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/services/page.tsx 0% 0% 0% 0% 1-27
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/services/services-table.tsx 0% 0% 0% 0% 1-90
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/volumes/page.tsx 0% 0% 0% 0% 1-27
apps/nextjs/src/app/[locale]/manage/tools/kubernetes/volumes/volumes-table.tsx 0% 0% 0% 0% 1-97
packages/api/src/env.ts 100% 100% 100% 100%
packages/api/src/root.ts 100% 100% 100% 100%
packages/api/src/router/kubernetes/kubernetes-client.ts 3.57% 50% 50% 3.57% 7-73
packages/api/src/router/kubernetes/kubernetes-router.ts 7.33% 100% 0% 7.33% 33-85, 88-209, 214-245, 250-269, 274-310, 313-336, 339-386, 389-408, 413-432, 435-460, 464-520
packages/api/src/router/kubernetes/resource-parser/cpu-resource-parser.ts 93.75% 92.85% 100% 93.75% 25-26
packages/api/src/router/kubernetes/resource-parser/memory-resource-parser.ts 94% 84.61% 100% 94% 36-37, 67
packages/api/src/router/kubernetes/resource-parser/resource-parser-factory.ts 92.3% 75% 100% 92.3% 13
packages/api/src/router/kubernetes/resource-parser/resource-parser.ts 0% 0% 0% 0%
packages/definitions/src/index.ts 100% 100% 100% 100%
packages/definitions/src/kubernetes.ts 100% 100% 100% 100%
Generated in workflow #5054 for commit 111b863 by the Vitest Coverage Report Action

@oben01 oben01 force-pushed the 1868-feat-kubernetes-integration branch 4 times, most recently from 1f9d6f0 to c812031 Compare January 14, 2025 16:38
@oben01 oben01 force-pushed the 1868-feat-kubernetes-integration branch 19 times, most recently from d64c8d3 to c991d62 Compare January 28, 2025 14:40
@oben01 oben01 force-pushed the 1868-feat-kubernetes-integration branch 10 times, most recently from 9ec04fe to a3da9ec Compare February 2, 2025 14:39
@manuel-rw
Copy link
Member

So hyped for this!

@oben01
Copy link
Member Author

oben01 commented Feb 3, 2025

@manuel-rw almost there for the v1 🤘

@oben01 oben01 force-pushed the 1868-feat-kubernetes-integration branch 9 times, most recently from 5699c4c to cdca5f4 Compare February 11, 2025 08:35
@oben01 oben01 force-pushed the 1868-feat-kubernetes-integration branch 4 times, most recently from da16de2 to aaf82d9 Compare February 12, 2025 19:27
@oben01 oben01 force-pushed the 1868-feat-kubernetes-integration branch from aaf82d9 to 111b863 Compare February 12, 2025 20:07
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.

feat: kubernetes integration
2 participants