Project

General

Profile

Plugins Directory » Rubylode Kubernetes

Author: Nick Gorbikoff
Website: https://github.com/rubylode/redmine-rubylode-k8s
Code repository: https://github.com/rubylode/redmine-rubylode-k8s
Registered on: 2026-11-19 (14 days ago)
Current version: 1.0.0
Compatible with: Redmine 7.0.x, 6.1.x, 6.0.x, 5.1.x
User ratings:   (1)

TL;DR: the health of your Kubernetes clusters inside Redmine: whether every node is ready, how much CPU and memory each one uses, and which pods are in trouble and why.

What it does:

  • One section per cluster: a row per node with Ready or not (and the condition that fails), and CPU and memory bars read from metrics-server
  • Only the pods in trouble, with namespace, name, phase, reason and detail: CrashLoopBackOff, ImagePullBackOff, Pending too long (with the scheduler's message), Failed, OOMKilled, restarting over and over
  • A summary line such as "All 3 nodes ready, no pods in trouble" or "1 of 3 nodes not ready, 2 pods in trouble"
  • Several clusters, each on its own: one that cannot be reached says "Status unavailable" and the rest still show
  • The cluster Redmine runs in, with no token to manage: Here | in-cluster
  • Cluster, node and pod names can link to your own tool (Argo CD, Headlamp, a dashboard)
  • A wiki macro ({{k8s_status}}), a page at /status/k8s, a My page block called "Kubernetes", and a partial for themes and other plugins
  • Put it on the welcome page, My page, every project's Overview, or any page you list
  • Optional: with Rubylode Status installed, the block also shows on its Status page, with the blocks of the other Rubylode plugins

Each token and certificate authority stays in an environment variable whose name starts with K8S_, goes only to its own cluster over https, and the plugin only reads: three GET requests for nodes, pods and node metrics, no Secrets, no logs, no actions. The README has a read-only role for it. Each cluster's answer is cached for 60 seconds by default, so the block can be that old.

Needs Redmine 5.1 or newer and Kubernetes 1.28 or newer.

Source and README: github.com/rubylode/redmine-rubylode-k8s. GPL v2 or later. Pull Requests are welcome!

Installation notes

The folder must be named redmine_rubylode_k8s, the same as the plugin id. It needs Redmine 5.1 or newer. There is no migration.

  1. Put the plugin folder in Redmine's plugins/ directory, named redmine_rubylode_k8s (from the release zip, or the clone command below).
  2. In Kubernetes, make a service account bound to a read-only role (get and list on nodes, pods and metrics.k8s.io nodes) and read its token and certificate authority. The README has the manifest and the two kubectl commands.
  3. Set them in environment variables where Redmine runs, named K8S_ something, for example K8S_PRODUCTION_TOKEN and K8S_PRODUCTION_CA, then restart Redmine. For the cluster Redmine runs in, skip this and bind the role to Redmine's own service account.
  4. In Administration, Plugins, open Rubylode Kubernetes and choose Configure. Add a line: Production | https://k8s.example.com:6443 | K8S_PRODUCTION_TOKEN | K8S_PRODUCTION_CA, or Here | in-cluster.

To get the folder:

cd /path/to/redmine/plugins
git clone https://github.com/rubylode/redmine-rubylode-k8s.git redmine_rubylode_k8s

To upgrade, replace the folder and restart Redmine. To remove it, delete the folder and restart. The settings stay in the database as one row, which you can delete.

Changelog

1.0.0 (2026-11-18)

Compatible with Redmine 7.0.x, 6.1.x, 6.0.x, 5.1.x.

First release. No migration: put the folder in place and restart Redmine.

1.0.0 (2026-11-18)

  • A table of nodes per cluster: Ready or not with the failing condition (for example NotReady: MemoryPressure), and CPU and memory bars from the Metrics API, amber from 80 percent and red from 90. Nodes that are not ready come first, under a summary such as "1 of 3 nodes not ready, 2 pods in trouble".
  • The pods in trouble under the nodes: CrashLoopBackOff, ImagePullBackOff and the other waiting reasons, Pending past the grace period (with the scheduler's message), Failed, OOMKilled, and containers that keep restarting. Healthy pods are not listed.
  • Several clusters, each with its own address, token variable, certificate authority variable, cache and failure state. One that cannot be reached says "Status unavailable" and the others still show. Without metrics-server the bars say "no metrics".
  • Name | in-cluster for the cluster Redmine itself runs in, with the pod's own service account.
  • Optional links from cluster headings, node names and pod names to your own tool, with {node}, {namespace} and {pod} filled in.
  • A wiki macro ({{k8s_status}}), a page at /status/k8s, a My page block, a partial, placements on the welcome page, My page, project Overview and pages you list, and a widget on the Rubylode Status page when that plugin is installed.
  • Tokens and certificate authorities are read only from K8S_... environment variables, sent only to their own cluster, over https only, and never followed through a redirect.
redmine_rubylode_k8s-1.0.0.zip (66.3 KB) redmine_rubylode_k8s-1.0.0.zip Nick Gorbikoff, 2026-11-19 00:59

User ratings

  by Nick Gorbikoff 13 days ago