The invention discloses a real-time
road condition publishing method and device based on a container arrangement technology, and the method comprises the following steps: A, a
system construction and publishing process: submitting a local code and a file to Gitlab through a git command, monitoring the code change through a
webhook plug-in, automatically triggering jenkins for construction, enabling the jenkins to make the code into a docker
mirror image, and enabling the push to a harbor
mirror image warehouse; B, executing rc and service creation on the k8s-master, then creating Pod, and pulling a
mirror image from a harbor mirror image warehouse; C, reading the
yaml configuration file of the mirror image in k8s. According to the method, automatic construction and rapid release are achieved, rapid and automatic construction, deployment and release are achieved, a preset arrangement template is used for arranging multiple modules, automatic management and a one-key
rollback mechanism of the multiple modules are achieved, the situation that abnormity occurs in the updating process and rapid
rollback occurs is achieved, the
continuous optimization and updating requirements of a
road condition release
system are met, the
system version is updated more rapidly, and the manual publishing cost is reduced.