Skip to content

Commit

Permalink
feat:(kromgo): Add versions
Browse files Browse the repository at this point in the history
  • Loading branch information
szinn committed Jan 12, 2025
1 parent 8790840 commit 5be8ddb
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@ _... managed with Flux, Renovate and GitHub_ 🤖

<div align="center">

[![Talos](https://img.shields.io/endpoint?url=https%3A%2F%2Fkromgo.zinn.ca%2Ftalos_version&style=for-the-badge&logo=talos&logoColor=white&color=blue&label=%20)](https://talos.dev)&nbsp;&nbsp;
[![Kubernetes](https://img.shields.io/endpoint?url=https%3A%2F%2Fkromgo.zinn.ca%2Fkubernetes_version&style=for-the-badge&logo=kubernetes&logoColor=white&color=blue&label=%20)](https://kubernetes.io)&nbsp;&nbsp;
[![Renovate](https://img.shields.io/github/actions/workflow/status/szinn/k8s-homelab/renovate.yaml?branch=main&label=&logo=renovatebot&style=for-the-badge&color=blue)](https://github.com/szinn/k8s-homelab/actions/workflows/renovate.yaml)

</div>

<div align="center">

[![Age-Days](https://img.shields.io/endpoint?url=https%3A%2F%2Fkromgo.zinn.ca%2Fcluster_age_days&style=flat-square&label=Age)](https://github.com/kashalls/kromgo/)&nbsp;&nbsp;
[![Uptime-Days](https://img.shields.io/endpoint?url=https%3A%2F%2Fkromgo.zinn.ca%2Fcluster_uptime_days&style=flat-square&label=Uptime)](https://github.com/kashalls/kromgo/)&nbsp;&nbsp;
[![Node-Count](https://img.shields.io/endpoint?url=https%3A%2F%2Fkromgo.zinn.ca%2Fcluster_node_count&style=flat-square&label=Nodes)](https://github.com/kashalls/kromgo/)&nbsp;&nbsp;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ badge:
size: 12

metrics:
- name: talos_version
query: node_os_info{name="Talos"}
label: version_id
title: Talos

- name: kubernetes_version
query: kubernetes_build_info{service="kubernetes"}
label: git_version
title: Kubernetes

- name: cluster_node_count
query: count(count by (node) (kube_node_status_condition{node=~"k8s-[0-9]+", condition="Ready"}))
title: Nodes
Expand Down

0 comments on commit 5be8ddb

Please sign in to comment.