Skip to content

🍩 Homer-k8s

Dashboard Homer optimisé pour Kubernetes. Centralisez l’accès à tous vos services K8s dans une interface élégante et intuitive.

  • Configuration automatique : Découverte automatique via CRD Kubernetes
  • Interface élégante : Dashboard Homer moderne et responsive
  • Multi-cluster : Gérez plusieurs clusters depuis un seul dashboard
  • Recherche rapide : Trouvez vos services instantanément
  • Thèmes personnalisables : Mode clair/sombre et thèmes custom
  • Groupes intelligents : Organisation automatique par namespace/labels
Terminal window
helm repo add bananaops https://charts.bananaops.tech
helm repo update
helm install homer-k8s bananaops/homer-k8s
Terminal window
kubectl apply -f https://raw.githubusercontent.com/BananaOps/homer-k8s/main/deploy/kubernetes.yaml

Homer-k8s utilise une CRD pour configurer automatiquement les services :

apiVersion: homer.bananaops.tech/v1
kind: DashboardItem
metadata:
name: grafana
namespace: monitoring
spec:
name: "Grafana"
subtitle: "Monitoring & Dashboards"
logo: "https://grafana.com/static/img/menu/grafana2.svg"
url: "https://grafana.example.com"
target: "_blank"
group: "Monitoring"
tags:
- monitoring
- metrics
values.yaml
replicaCount: 2
image:
repository: bananaops/homer-k8s
tag: "latest"
ingress:
enabled: true
className: nginx
hosts:
- host: homer.example.com
paths:
- path: /
pathType: Prefix
config:
title: "BananaOps Dashboard"
subtitle: "Kubernetes Services"
theme: dark
discovery:
enabled: true
namespaces:
- default
- production
- staging
groups:
- name: "Production"
filter:
namespace: production
- name: "Monitoring"
filter:
labels:
app.kubernetes.io/component: monitoring

Homer-k8s peut découvrir automatiquement vos services via annotations :

apiVersion: v1
kind: Service
metadata:
name: grafana
namespace: monitoring
annotations:
homer.bananaops.tech/enabled: "true"
homer.bananaops.tech/name: "Grafana"
homer.bananaops.tech/group: "Monitoring"
homer.bananaops.tech/icon: "fas fa-chart-line"
homer.bananaops.tech/url: "https://grafana.example.com"
spec:
# ... service spec

Homer-k8s supporte plusieurs thèmes :

Thèmes Disponibles

  • Default : Thème Homer classique
  • Dark : Mode sombre élégant
  • Nord : Palette Nord
  • Catppuccin : Thème Catppuccin
  • Custom : Créez votre propre thème

Homer-k8s nécessite les permissions suivantes :

apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: homer-k8s
rules:
- apiGroups: [""]
resources: ["services", "ingresses"]
verbs: ["get", "list", "watch"]
- apiGroups: ["homer.bananaops.tech"]
resources: ["dashboarditems"]
verbs: ["get", "list", "watch"]