Git Product home page Git Product logo

kube-cc's Introduction

Kube-CC

基于K8S的轻量化大数据课程实验教学平台构建

前端地址:https://github.com/fanb129/Kube-CC_vue

后端地址:https://github.com/fanb129/Kube-CC

一、环境

  1. 后端Go1.18,Gin,[email protected], gorm,zap,jwt-go
  2. 前端vue2 + element,基于vue-admin-template模板
  3. kubernetes1.25.0
  4. MySQL8
  5. 环境部署文档

二、后端配置文件

1. k8s配置文件

  • 将kubernetes配置文件admin.conf(一般在/etc/kubernetes/admin.conf),拷贝到项目的conf目录
  • 如果此程序运行在k8s集群以外,admin.conf中的域名可能无法解析(如apiserver.cluster.local),可替换为物理机具体的ip

2. 后端配置文件

创建/conf/conf.ini配置文件,以下为模板

[server]
AppMode = debug
Port = :8080
PageSize = 10
ProjectName = fanb.com

[kubernetes]
KubeConfig = ./conf/admin.conf
SparkImage = registry.cn-shanghai.aliyuncs.com/fanb/myspark:1.5.2_v1
CentosImage = registry.cn-shanghai.aliyuncs.com/fanb/mycentos:7
UbuntuImage = registry.cn-shanghai.aliyuncs.com/fanb/myubuntu:18.04
;HadoopImage = registry.cn-shanghai.aliyuncs.com/fanb/myhadoop:latest
HadoopImage = kubeguide/hadoop:latest

[database]
DbType = mysql
#DbHost = 127.0.0.1
DbHost = ******
DbPort = 3306
DbUser = root
DbPassWord = ******
DbName = k8s_deploy_gin
RedisHost = ***
RedisPort = 6379
[jwt]
JwtKey = kubernetes.com
TokenExpiredTime = 604800

[password]
bcryptCost = 10
SshPwd = root123456

[master]
Host = 192.168.139.131
Port = 22
User = root
Password = 1234567890

三、项目介绍

1. 总体结构图

2. 网络结构图

3. 平台功能结构图

4. 系统整体架构图

5. 后端结构图

6. 前端结构图

四、项目展示

1. 首页

2. 用户管理

3. node

4. namespace

5. deployment

添加

编辑

6. service

7. pod

8. spark

进入终端

添加

9. terminal

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.