{"id":48291847,"url":"https://github.com/thpham/kube-ops-view","last_synced_at":"2026-04-04T23:10:02.682Z","repository":{"id":335844060,"uuid":"1144661585","full_name":"thpham/kube-ops-view","owner":"thpham","description":"Kubernetes Operational View - read-only system dashboard for multiple K8s clusters","archived":false,"fork":false,"pushed_at":"2026-02-09T00:54:25.000Z","size":4188,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-09T06:41:12.134Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thpham.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-28T22:49:34.000Z","updated_at":"2026-02-07T15:57:14.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/thpham/kube-ops-view","commit_stats":null,"previous_names":["thpham/kube-ops-view"],"tags_count":24,"template":false,"template_full_name":null,"purl":"pkg:github/thpham/kube-ops-view","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thpham%2Fkube-ops-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thpham%2Fkube-ops-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thpham%2Fkube-ops-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thpham%2Fkube-ops-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thpham","download_url":"https://codeload.github.com/thpham/kube-ops-view/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thpham%2Fkube-ops-view/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31418289,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-04-04T23:10:02.197Z","updated_at":"2026-04-04T23:10:02.673Z","avatar_url":"https://github.com/thpham.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kubernetes Operational View\n\n[![Build and Push Docker Image](https://github.com/thpham/kube-ops-view/actions/workflows/docker-publish.yml/badge.svg)](https://github.com/thpham/kube-ops-view/actions/workflows/docker-publish.yml)\n\n\u003e This is a maintained fork of [hjacobs/kube-ops-view](https://codeberg.org/hjacobs/kube-ops-view) with modernized dependencies and additional features.\n\n![Screenshot](screenshot.png)\n\nGoal: provide a common operational picture for multiple Kubernetes clusters.\n\n## Features\n\n- Render nodes and indicate their overall status (\"Ready\")\n- Show node capacity and resource usage (CPU, memory)\n  - Render one \"box\" per CPU and fill up to sum of pod CPU requests/usage\n  - Render vertical bar for total memory and fill up to sum of pod memory requests/usage\n- **Node pool grouping with availability zone columns and color-coded visualization**\n- Render individual pods\n  - Indicate pod status by border line color (green: ready/running, yellow: pending, red: error etc)\n  - Show current CPU/memory usage by small vertical bars\n  - System pods (\"kube-system\" namespace) will be grouped together at the bottom\n- Provide tooltip information for nodes and pods\n- Animate pod creation and termination\n\n### What's Different in This Fork\n\n- **Modernized stack**: Python 3.12, UBI10 minimal base image\n- **Node pool grouping**: Visual grouping by node pools with AZ column layout\n- **Security focused**: Regular dependency updates via Dependabot\n- **Multi-arch images**: AMD64 and ARM64 support\n- **OpenShift support**: Ready-to-use deployment manifests\n\n## What It Is Not\n\n- It's not a replacement for the [Kubernetes Dashboard](https://github.com/kubernetes/dashboard)\n- It's not a monitoring solution\n- It's not an operation management tool - it's read-only\n\n## Usage\n\n### Running Locally\n\nYou can run the app locally with `kubectl proxy` against your running cluster:\n\n```bash\nkubectl proxy \u0026\ndocker run -it --net=host ghcr.io/thpham/kube-ops-view\n```\n\nIf you are using Docker for Mac:\n\n```bash\nkubectl proxy --accept-hosts '.*' \u0026\ndocker run -it -p 8080:8080 -e CLUSTERS=http://docker.for.mac.localhost:8001 ghcr.io/thpham/kube-ops-view\n```\n\nNow direct your browser to http://localhost:8080\n\nYou can also try the UI with the integrated mock mode (no cluster access required):\n\n```bash\ndocker run -it -p 8080:8080 ghcr.io/thpham/kube-ops-view --mock\n```\n\n### Installation\n\n#### Kubernetes\n\n```bash\nkubectl apply -k deploy  # apply all manifests from the folder\nkubectl port-forward service/kube-ops-view 8080:80\n```\n\nNow direct your browser to http://localhost:8080/\n\n#### OpenShift\n\nSee the [openshift/](openshift/) folder for deployment options:\n\n- `openshift/deploy/` - Basic deployment with Route\n- `openshift/deploy-with-oauth-proxy/` - Deployment with OAuth proxy for authentication\n\n```bash\nkubectl apply -k openshift/deploy\n```\n\n## Development\n\nThe app can be started in \"mock mode\" to work on UI features without running any Kubernetes cluster:\n\n```bash\npoetry install\ncd app \u0026\u0026 npm install \u0026\u0026 npm start \u0026  # watch and compile JS bundle\npoetry run python -m kube_ops_view --mock --debug\n```\n\n## Building\n\nBuild the Docker image using the provided `Justfile`:\n\n```bash\njust\n```\n\nOr build directly with Docker:\n\n```bash\ndocker build -t kube-ops-view .\n```\n\n## Multiple Clusters\n\nMultiple clusters are supported by passing a list of API servers, reading a kubeconfig file, or pointing to an HTTP Cluster Registry endpoint.\n\nSee the [documentation on multiple clusters](https://kubernetes-operational-view.readthedocs.io/en/latest/multiple-clusters.html) for details.\n\n## Configuration\n\nThe following environment variables are supported:\n\n| Variable                 | Description                                                                                        |\n| ------------------------ | -------------------------------------------------------------------------------------------------- |\n| `CLUSTERS`               | Comma separated list of Kubernetes API server URLs. Defaults to `http://localhost:8001/`           |\n| `KUBECONFIG_PATH`        | Path to kubeconfig file to use for cluster access                                                  |\n| `KUBECONFIG_CONTEXTS`    | Comma separated list of contexts to use from kubeconfig                                            |\n| `CLUSTER_REGISTRY_URL`   | URL to cluster registry returning list of Kubernetes clusters                                      |\n| `QUERY_INTERVAL`         | Interval in seconds for querying clusters (default: 5)                                             |\n| `REDIS_URL`              | Optional Redis server for pub/sub when running multiple replicas. Example: `redis://my-redis:6379` |\n| `SERVER_PORT`            | HTTP port to listen on (default: `8080`)                                                           |\n| `DEBUG`                  | Set to \"true\" for local development to reload code changes                                         |\n| `MOCK`                   | Set to \"true\" to mock Kubernetes cluster data                                                      |\n| `ROUTE_PREFIX`           | URL prefix for reverse proxy setups                                                                |\n| `NODE_LINK_URL_TEMPLATE` | Template to make Nodes clickable. Variables: `{cluster}`, `{name}`                                 |\n| `POD_LINK_URL_TEMPLATE`  | Template to make Pods clickable. Variables: `{cluster}`, `{namespace}`, `{name}`                   |\n\n### OAuth Configuration\n\n| Variable           | Description                                             |\n| ------------------ | ------------------------------------------------------- |\n| `AUTHORIZE_URL`    | OAuth 2 authorization endpoint URL                      |\n| `ACCESS_TOKEN_URL` | Token endpoint URL for OAuth 2 Authorization Code Grant |\n| `SCOPE`            | OAuth scope for access level                            |\n| `CREDENTIALS_DIR`  | Directory to read OAuth credentials from                |\n\n## Supported Browsers\n\nThe UI uses WebGL, ECMAScript 6, and EventSource features:\n\n- Chrome/Chromium 53.0+\n- Mozilla Firefox 49.0+\n\n## Contributing\n\nPRs are welcome! Please open an issue first to discuss significant changes.\n\n## Acknowledgments\n\nThis project is a fork of [kube-ops-view](https://codeberg.org/hjacobs/kube-ops-view) originally created by [Henning Jacobs](https://codeberg.org/hjacobs).\n\n## License\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program. If not, see \u003chttp://www.gnu.org/licenses/\u003e.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthpham%2Fkube-ops-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthpham%2Fkube-ops-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthpham%2Fkube-ops-view/lists"}