Skip to content

BetaCatPro/KubeClusterManagement

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KubeClusterManagement

Kubernetes 集群管理平台

Environment

  • 后端
    • Golang 1.20
    • client-go 0.25.2
    • gin 1.8.1
    • docker 24.0.4
    • k8s 1.21.3
    • harbo 2.8.3
  • 前端
    • vue-element-admin

Interface

  • Pod 管理接口
    • 命名空间列表接口 (kubectl get namespaces)
    • 创建 (kubectl apply -f xxx.yml)
    • 查看详情/列表 (kubectl describe pod / kubectl get pod -n <namespace> -o wide)
    • 编辑更新/升级
    • 删除
      • (kubectl delete pod <podname> -n <namespace>)
      • (kubectl get deployment -n <namespace>)
      • (kubectl delete deployment <deployment名> -n <namespace>)
    • pod 新增容忍参数 (tolerations)
    • pod 调度模式 (nodeName, nodeSelector, nodeAffinity)
    • pod 适配多种存储卷
  • NodeScheduling 接口
    • node 列表/详情 (kubectl get nodes / kubectl describe node <nodename> )
    • node 标签管理 (kubectl label node <nodename> <name=value>)
    • node 污点(taint)管理
    • 查看 node 上所有 pod
  • 应用与配置分离接口
    • ConfigMap crud 接口 (kubectl get configmap -n <namespace>)
    • Secret crud 接口 (kubectl get secret -n <namespace>)
  • 存储卷管理接口
    • configMap
    • secret
    • hostPath
    • downwardApi
    • pv
    • pvc
    • sc
  • 服务发现接口
    • Service crud
    • Ingress crud
    • IngressRoute crud
    • Middleware查询
  • 工作负载接口
    • statefulSet crud
    • deployment crud
    • daemonSet crud
    • job crud
    • cronJob crud
  • 认证授权接口
    • serviceCount 创建、删除、更新
    • role/clusterRole crud
    • roleBinding /clusterRoleBinding crud
  • 整合 Harbor
    • 集成 HarborAPI
    • projects 列表查询
    • repositories 列表查询
    • artifacts 列表查询
    • 镜像匹配接口
  • 仪表盘
    • 基础信息查看
    • 资源统计信息
    • 集群 pod、cpu、内存耗用情况
      • metrics-server
    • 集群 cpu、内存变化趋势
      • prometheus