[PR #182] [CLOSED] add support k8s #192

Closed
opened 2026-05-05 03:27:34 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/XuehaiPan/nvitop/pull/182
Author: @ntheanh201
Created: 8/28/2025
Status: Closed

Base: mainHead: k8s


📝 Commits (10+)

  • 6bd0d8f add GH actions build and publish nvitop-exporter
  • b9f057a Merge pull request #1 from ntheanh201/gh-action-buiod
  • 255dc0d update publish nvitop-exporter
  • 68dccbe add k8s manifests
  • 28cc46a update build and publish nvitop
  • 7a3b44a update lint k8s manifests + build & publish nvitop-exporter
  • 9539299 remove trigger by push tags
  • 95e6750 add systemd docs
  • 5da4241 remove redundant env vars
  • 1c11358 update install.sh & readme

📊 Changes

22 files changed (+1625 additions, -41 deletions)

View changed files

.github/workflows/publish-nvitop-exporter.yaml (+72 -0)
📝 README.md (+79 -27)
k8s/README.md (+186 -0)
k8s/clusterrole.yaml (+14 -0)
k8s/clusterrolebinding.yaml (+15 -0)
k8s/daemonset.yaml (+142 -0)
k8s/kustomization.yaml (+22 -0)
k8s/namespace.yaml (+7 -0)
k8s/service.yaml (+22 -0)
k8s/serviceaccount.yaml (+8 -0)
k8s/servicemonitor.yaml (+26 -0)
📝 nvitop-exporter/Dockerfile (+2 -0)
nvitop-exporter/KUBERNETES.md (+196 -0)
📝 nvitop-exporter/nvitop_exporter/cli.py (+14 -1)
📝 nvitop-exporter/nvitop_exporter/exporter.py (+38 -13)
nvitop-exporter/nvitop_exporter/k8s.py (+217 -0)
nvitop-exporter/test_k8s.py (+128 -0)
systemd/README.md (+296 -0)
systemd/build.sh (+3 -0)
systemd/install.sh (+104 -0)

...and 2 more files

📄 Description

Issue Type

  • Bug fix
  • Improvement/feature implementation
  • Breaking changes

Runtime Environment

  • Operating system and version: [e.g. Ubuntu 20.04 LTS / Windows 10 Build 19043.1110]
  • Terminal emulator and version: [e.g. GNOME Terminal 3.36.2 / Windows Terminal 1.8.1521.0]
  • Python version: [e.g. 3.8.2 / 3.9.6]
  • NVML version (driver version): [e.g. 460.84]
  • nvitop version or commit: [e.g. 0.10.0 / 0.10.1.dev7+ga083321 / main@75ae3c]
  • python-ml-py version: [e.g. 11.450.51]
  • Locale: [e.g. C / C.UTF-8 / en_US.UTF-8]

Description

Motivation and Context

Testing

Images / Videos


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/XuehaiPan/nvitop/pull/182 **Author:** [@ntheanh201](https://github.com/ntheanh201) **Created:** 8/28/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `k8s` --- ### 📝 Commits (10+) - [`6bd0d8f`](https://github.com/XuehaiPan/nvitop/commit/6bd0d8fba7fbacef0f7923a7445da1f780514ee7) add GH actions build and publish nvitop-exporter - [`b9f057a`](https://github.com/XuehaiPan/nvitop/commit/b9f057a27fb2c6fb7d2eaacf78427b9a8f765a46) Merge pull request #1 from ntheanh201/gh-action-buiod - [`255dc0d`](https://github.com/XuehaiPan/nvitop/commit/255dc0dc481d6c6269bd5addf0282f39471f14a7) update publish nvitop-exporter - [`68dccbe`](https://github.com/XuehaiPan/nvitop/commit/68dccbe0d2dd715d4fbd75a0f75bf6be82e41d67) add k8s manifests - [`28cc46a`](https://github.com/XuehaiPan/nvitop/commit/28cc46aa663a814c84a8bfb3f2c31779d029e78f) update build and publish nvitop - [`7a3b44a`](https://github.com/XuehaiPan/nvitop/commit/7a3b44aa2f8ec7c5d42ed282f2c20bc49ea23155) update lint k8s manifests + build & publish nvitop-exporter - [`9539299`](https://github.com/XuehaiPan/nvitop/commit/953929961fca8150b705d5418ffa3617ab144bce) remove trigger by push tags - [`95e6750`](https://github.com/XuehaiPan/nvitop/commit/95e67507eef1360fdc144af495f2b6fd6bea31ec) add systemd docs - [`5da4241`](https://github.com/XuehaiPan/nvitop/commit/5da424162614db7a5375850d4a7044b2db868906) remove redundant env vars - [`1c11358`](https://github.com/XuehaiPan/nvitop/commit/1c113580f5e152c3b4e1a2107f030d9269c649f5) update install.sh & readme ### 📊 Changes **22 files changed** (+1625 additions, -41 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/publish-nvitop-exporter.yaml` (+72 -0) 📝 `README.md` (+79 -27) ➕ `k8s/README.md` (+186 -0) ➕ `k8s/clusterrole.yaml` (+14 -0) ➕ `k8s/clusterrolebinding.yaml` (+15 -0) ➕ `k8s/daemonset.yaml` (+142 -0) ➕ `k8s/kustomization.yaml` (+22 -0) ➕ `k8s/namespace.yaml` (+7 -0) ➕ `k8s/service.yaml` (+22 -0) ➕ `k8s/serviceaccount.yaml` (+8 -0) ➕ `k8s/servicemonitor.yaml` (+26 -0) 📝 `nvitop-exporter/Dockerfile` (+2 -0) ➕ `nvitop-exporter/KUBERNETES.md` (+196 -0) 📝 `nvitop-exporter/nvitop_exporter/cli.py` (+14 -1) 📝 `nvitop-exporter/nvitop_exporter/exporter.py` (+38 -13) ➕ `nvitop-exporter/nvitop_exporter/k8s.py` (+217 -0) ➕ `nvitop-exporter/test_k8s.py` (+128 -0) ➕ `systemd/README.md` (+296 -0) ➕ `systemd/build.sh` (+3 -0) ➕ `systemd/install.sh` (+104 -0) _...and 2 more files_ </details> ### 📄 Description <!-- Provide a descriptive summary of the changes in the title above --> #### Issue Type <!-- Pick relevant types and delete the rest --> - Bug fix - Improvement/feature implementation - Breaking changes #### Runtime Environment <!-- Details of your runtime environment --> - Operating system and version: [e.g. Ubuntu 20.04 LTS / Windows 10 Build 19043.1110] - Terminal emulator and version: [e.g. GNOME Terminal 3.36.2 / Windows Terminal 1.8.1521.0] - Python version: [e.g. `3.8.2` / `3.9.6`] - NVML version (driver version): [e.g. `460.84`] - `nvitop` version or commit: [e.g. `0.10.0` / `0.10.1.dev7+ga083321` / `main@75ae3c`] - `python-ml-py` version: [e.g. `11.450.51`] - Locale: [e.g. `C` / `C.UTF-8` / `en_US.UTF-8`] #### Description <!-- Describe the changes in detail --> #### Motivation and Context <!-- Why are these changes required? --> <!-- What problems do these changes solve? --> <!-- Link to relevant issues --> #### Testing <!-- What tests have been run? --> <!-- How does the changes affect other areas of the codebase? --> #### Images / Videos <!-- Only if relevant --> <!-- Link or embed images and videos of screenshots, sketches etc. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 03:27:34 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/nvitop#192
No description provided.