[Open Source] A modern K8s dashboard that supports importing multiple Kubernetes clusters and access control.

Open SourceProcess Management
2026-06-28 05:38 3 次浏览 • 0 次下载 0KB
[Open Source] A modern K8s dashboard that supports importing multiple Kubernetes clusters and access control.

1. Project Overview

Image

KubePi [kubəˈpaɪ], a modern K8s dashboard.

KubePi is a modern K8s dashboard. KubePi allows administrators to import multiple Kubernetes clusters and assign permissions for different clusters and namespaces to designated users through access control. It also allows developers to manage and troubleshoot applications running in Kubernetes clusters, helping them better handle the complexities of Kubernetes environments.

2. Open Source License

Licensed under GPL-3.0

3. Screenshots

Image

Image

4. Feature Overview

  • KubePi is a modern K8s dashboard.

  • KubePi allows administrators to import multiple Kubernetes clusters and assign permissions for different clusters and namespaces to designated users through access control. It allows developers to manage and troubleshoot applications running in Kubernetes clusters, helping them better handle the complexities of Kubernetes environments.

5. Tech Stack

Project Structure

.
├── Dockerfile                                      # Dockerfile Used to Build the Container Image
├── Makefile                                        # Compilation Files
├── LICENSE
├── README.md
├── go.mod
├── conf                                            # Configuration Files
├── pkg                                             # Main Directory
├── interanl                                        # Private Business Code
├── migrate                                         # Database Migration Files Directory
├── web
│   ├── dashboard                                   # Front-End Dashboard Module
│   ├── kubepi                                      # Front-End Management Module
│   └── terminal                                    # Terminal Module

Configuration File

  • By default, KubePi loads the configuration file from /etc/kubepi/app.yaml. Please create the corresponding directories and configuration files according to the configuration below.

apiVersion: v1
kind: AppConfig
spec:
    server:
    bind:
        host: 0.0.0.0
        port: 80
    ssl:
        enable: false
        certificate:
        certificateKey:
    db:
    path: /var/lib/kubepi/db/kubepi.db

Database File

  • KubePi uses BoltDB as its underlying data storage and storm as its upper-level ORM framework.

Database File Location /var/lib/kubepi/db/kubepi.db

Build the Binary File

make build_web

Start the Backend Service

# Run in the cmd/server directory
go run main.go

Start the Frontend Service

The KubePi front end mainly consists of two parts, which need to be started separately.

  • Management Module

Run in the web/kubepi directory

npm install
npm run serve
  • Dashboard Module

Run in the web/dashboard directory

npm install
npm run serve

Installation Instructions

docker

  • Non-Persistent Deployment

# Installation
sudo docker run --privileged -d --restart=unless-stopped -p 80:80 1panel/kubepi
  • Persistent Deployment

# Create the Persistent Storage Directory
mkdir -p /opt/kubepi
# Installation
sudo docker run --privileged -d -v /opt/kubepi:/var/lib/kubepi --restart=unless-stopped -p 80:80 1panel/kubepi
  • Log in to the System

Address: [http://localhost
Username](http://localhost
Username): admin
Password: kubepi

kubernetes

Detailed content please refer to README.md document

#1
资源直链https://gitee.com/fit2cloud-feizhiyun/KubePi
去下载
星河码客

发现和分享优质开源项目,传承互联网精神,为开发者服务。

关于本站

联系我们

微信/广告合作:ITcloub (备注星河码客)

免责声明:本站资源版权归原作者所有,仅供学习与交流。如有侵权,请通过「关于我们 - 侵权投诉」联系删除。

Powered by Nuxt · Deployed on Cloudflare