edgenodes.sql 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : 主机
  4. Source Server Type : MySQL
  5. Source Server Version : 50726
  6. Source Host : localhost:3306
  7. Source Schema : admin
  8. Target Server Type : MySQL
  9. Target Server Version : 50726
  10. File Encoding : 65001
  11. Date: 11/10/2021 16:57:46
  12. */
  13. SET NAMES utf8mb4;
  14. SET
  15. FOREIGN_KEY_CHECKS = 0;
  16. -- ----------------------------
  17. -- Table structure for edgenodes
  18. -- ----------------------------
  19. DROP TABLE IF EXISTS `edgenodes`;
  20. CREATE TABLE `edgenodes`
  21. (
  22. `edgenodes_name` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '名称',
  23. `edgenodes_status` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '状态',
  24. `edgenodes_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '边缘节点ID',
  25. `edgenodes_role` varchar(80) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '角色',
  26. `cpu` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT 'CPU',
  27. `memory` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '内存',
  28. `edgenodes_pods` varchar(50) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '容器组',
  29. `allocated_cpu` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '已分配CPU',
  30. `allocated_memory` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '已分配内存',
  31. `edgenodes_ip` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '边缘节点IP',
  32. `os_image` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '操作系统(具体的类型 如:centos7)',
  33. `operating_system` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '操作系统类型(类似linux、mac、win)',
  34. `kernel_version` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '内核版本',
  35. `container_runtime_version` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '容器版本',
  36. `kubelet_version` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT 'Kubelet版本',
  37. `architecture` varchar(20) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL COMMENT '系统架构',
  38. `created_time` datetime NULL DEFAULT NULL COMMENT '创建时间',
  39. PRIMARY KEY (`edgenodes_id`) USING BTREE
  40. ) ENGINE = InnoDB AUTO_INCREMENT = 2 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;
  41. -- ----------------------------
  42. -- Records of edgenodes
  43. -- ----------------------------
  44. INSERT INTO `edgenodes`
  45. VALUES ('1', '1', 1, '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '2017-03-23 22:37:41');
  46. SET
  47. FOREIGN_KEY_CHECKS = 1;