fuhsicloud

command module
v0.0.0-...-7c3836c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2019 License: Apache-2.0 Imports: 1 Imported by: 0

README

fuhsicloud

伏羲平台

fuhsicloud是一个基于了kubernetes的应用管理系统,通过可视化的页面对应用进行管理,降低容器化成本,同时也降低了Docker及Kubernetes的学习门槛。

架构设计

该平台提供了一整套解决方案。

安装说明

平台后端基于go-kit、前端基于ant-design(版本略老)框架进行开发。

后端所使用到的依赖全部都在go.mod里,前端的依赖在package.json,详情的请看yarn.lock,感谢开源社区的贡献。

安装教程
依赖
  • Golang 1.12+ 安装手册
  • MySQL 5.7+ (大多数据都存在mysql)
  • Docker 18.x+ 安装
  • RabbitMQ (主要用于消息队列)
  • Jenkins 2.176.2+ (老版本对java适配可能会有问题,尽量使用新版本)

快速开始

  1. 克隆
$ mkdir -p $GOPATH/src/github.com/fuhsicloud
$ cd $GOPATH/src/github.com/fuhsicloud
$ git clone https://github.com/fuhsicloud/fuhsicloud.git
$ cd fuhsicloud
  1. 配置文件准备

    • 将连接Kubernets的kubeconfig文件放到该项目目录
  2. 一般启动

$ go run ./main.go start -p :8080 -c ./conf/app.cfg -k ./conf/config
  1. docker-compose 启动
$ cd install/docker-compose
$ docker-compose up
  1. make 启动
$ make run
  1. 打包 windows 下打包Linux包
SET CGO_ENABLED=0
SET GOOS=linux
SET GOARCH=amd64
go build

mac 下打包

 CGO_ENABLED=0 GOOS=windows GOARCH=amd64 go build  ./main.go -o fuhsicloud

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
src
cmd
jwt
pkg/configmap
* * @Time : 2019/7/5 11:02 AM * @Author : yuntinghu1003@gmail.com * @File : service * @Software: VS Code
* * @Time : 2019/7/5 11:02 AM * @Author : yuntinghu1003@gmail.com * @File : service * @Software: VS Code
pkg/cronjob
* * Created by GoLand.
* * Created by GoLand.
pkg/group
* * Created by GoLand.
* * Created by GoLand.
repository
* * Created by GoLand.
* * Created by GoLand.
repository/types
* * Created by GoLand.
* * Created by GoLand.
util/configmapyaml
* * Created by GoLand.
* * Created by GoLand.
util/helper
* * Created by GoLand.
* * Created by GoLand.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL