+ Use This Table All Design

MySQL Create Table SQL

Table Structure: okayapi_cloud_container:/tablelist/okayapi_cloud_container.html


-- MySQL Table okayapi_cloud_container
-- From: OkayAPI.com
CREATE TABLE `okayapi_cloud_container` (
    `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
    `container_name` varchar(200) NULL COMMENT '容器名称',
    `create_time` varchar(32) NULL COMMENT '创建时间',
    `service_name` varchar(100) NULL COMMENT '服务名称',
    `cluster_name` varchar(100) NULL COMMENT '集群名称',
    `server_address` varchar(32) NULL COMMENT '宿主机地址',
    `container_ip` varchar(32) NULL COMMENT '容器ip',
    `image` varchar(300) NULL COMMENT '镜像名称',
    `app_name` varchar(132) NULL COMMENT '应用名称',
    `okayapi_cloud_container_status` varchar(32) NULL COMMENT '运行状态',
    `resource_name` varchar(100) NULL COMMENT '资源空间',
    `okayapi_cloud_container_cpu` int(11) NULL COMMENT '',
    `okayapi_cloud_container_memory` int(11) NULL COMMENT '',
    `env` text NULL COMMENT '',
    `process` text NULL COMMENT '',
    `storage_data` text NULL COMMENT '',
    `restart` int(11) NULL COMMENT '',
    `waiting_messages` text NULL COMMENT '容器等待时的信息',
    `waiting_reason` varchar(100) NULL COMMENT '容器等待原因',
    `terminated_reason` varchar(100) NULL COMMENT '容器停止原因',
    `terminated_messages` varchar(100) NULL COMMENT '容器停止信息',
    `create_user` varchar(100) NULL COMMENT '',
    `entname` varchar(100) NULL COMMENT '环境名称',
    `okayapi_cloud_container_events` varchar(32) NULL COMMENT '',
    `service` varchar(300) NULL COMMENT '',
    `last_update_time` bigint(20) NULL COMMENT '',
    KEY `container_name` (`container_name`),
    KEY `create_time` (`create_time`),
    KEY `service_name` (`service_name`),
    KEY `cluster_name` (`cluster_name`),
    KEY `server_address` (`server_address`),
    KEY `container_ip` (`container_ip`),
    KEY `image` (`image`),
    KEY `app_name` (`app_name`),
    KEY `okayapi_cloud_container_status` (`okayapi_cloud_container_status`),
    KEY `resource_name` (`resource_name`),
    KEY `okayapi_cloud_container_cpu` (`okayapi_cloud_container_cpu`),
    KEY `okayapi_cloud_container_memory` (`okayapi_cloud_container_memory`),
    KEY `env` (`env`),
    KEY `process` (`process`),
    KEY `storage_data` (`storage_data`),
    KEY `restart` (`restart`),
    KEY `waiting_messages` (`waiting_messages`),
    KEY `waiting_reason` (`waiting_reason`),
    KEY `terminated_reason` (`terminated_reason`),
    KEY `terminated_messages` (`terminated_messages`),
    KEY `create_user` (`create_user`),
    KEY `entname` (`entname`),
    KEY `okayapi_cloud_container_events` (`okayapi_cloud_container_events`),
    KEY `service` (`service`),
    KEY `last_update_time` (`last_update_time`),
    PRIMARY KEY (`id`)
) ENGINE=InnoDB COMMENT 'k8s管理-容器';

After replication, you can go to the database to create the database table.


MySQL database table structure design

Displaying 1-25 of 25 results.
Field NameField TypeDefaultIS NULLField CommentIndexDemo Data
container_namevarchar(200)容器名称
create_timevarchar(32)创建时间
service_namevarchar(100)服务名称
cluster_namevarchar(100)集群名称
server_addressvarchar(32)宿主机地址
container_ipvarchar(32)容器ip
imagevarchar(300)镜像名称
app_namevarchar(132)应用名称
okayapi_cloud_container_statusvarchar(32)运行状态
resource_namevarchar(100)资源空间
okayapi_cloud_container_cpuint(11)
okayapi_cloud_container_memoryint(11)
envtext
processtext
storage_datatext
restartint(11)
waiting_messagestext容器等待时的信息
waiting_reasonvarchar(100)容器等待原因
terminated_reasonvarchar(100)容器停止原因
terminated_messagesvarchar(100)容器停止信息
create_uservarchar(100)
entnamevarchar(100)环境名称
okayapi_cloud_container_eventsvarchar(32)
servicevarchar(300)
last_update_timebigint(20)

Guess You Like

MySQL Table Design okayapi_cloud_api_resource

MySQL Table Design okayapi_cloud_app

MySQL Table Design okayapi_cloud_app_configure

MySQL Table Design okayapi_cloud_app_service

MySQL Table Design okayapi_log_show_appname

MySQL Table Design okayapi_log_show_ip

MySQL Table Design okayapi_log_show_filter

MySQL Table Design okayapi_log_data_source

MySQL Table Design okayapi_log_show_history

MySQL Table Design okayapi_cloud_app_template

MySQL Table Design okayapi_cloud_authority_user

MySQL Table Design okayapi_cloud_auto_scale

MySQL Table Design okayapi_cloud_auto_scale_log

MySQL Table Design okayapi_cloud_build_job

MySQL Table Design okayapi_cloud_build_job_history

MySQL Table Design okayapi_cloud_ci_dockerfile

MySQL Table Design okayapi_cloud_ci_perm

MySQL Table Design okayapi_cloud_ci_release_history

MySQL Table Design okayapi_cloud_ci_release_log

MySQL Table Design okayapi_cloud_ci_service

TOP ↑