CN112817674A - Tool and method for deploying X window system in kubernets cluster - Google Patents

Tool and method for deploying X window system in kubernets cluster Download PDF

Info

Publication number
CN112817674A
CN112817674A CN202110073018.4A CN202110073018A CN112817674A CN 112817674 A CN112817674 A CN 112817674A CN 202110073018 A CN202110073018 A CN 202110073018A CN 112817674 A CN112817674 A CN 112817674A
Authority
CN
China
Prior art keywords
server
component
user
window system
vnc
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110073018.4A
Other languages
Chinese (zh)
Other versions
CN112817674B (en
Inventor
张虎
肖雪
张晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Inspur Cloud Computing Service Co Ltd
Original Assignee
Shanghai Inspur Cloud Computing Service Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Inspur Cloud Computing Service Co Ltd filed Critical Shanghai Inspur Cloud Computing Service Co Ltd
Priority to CN202110073018.4A priority Critical patent/CN112817674B/en
Publication of CN112817674A publication Critical patent/CN112817674A/en
Application granted granted Critical
Publication of CN112817674B publication Critical patent/CN112817674B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Abstract

The invention discloses a tool and a method for deploying an X window system in a kubernets cluster, which relate to the technical field of kubernets clusters and are realized based on a platform component, a user component and a helm component; the platform assembly further comprises an X Server, a VNC Server and a Web VNC Client, wherein the X Server is used as a service end of an X window system and receives user input from the VNC Server; the user component comprises an X window system mirror image to be used by a user, and the user component accesses the X window system through a Service DNS domain of an X Server; the helm component deploys the platform component and the user component into a kubernets cluster, and after deployment is completed, the platform component and the user component work in the same Chart, so that a user can remotely access an X window system and enjoy the characteristics of high availability, high efficiency, consistency and the like.

Description

Tool and method for deploying X window system in kubernets cluster
Technical Field
The invention relates to the technical field of kubernets, in particular to a tool and a method for deploying an X window system in a kubernets cluster.
Background
Kubernets, K8s for short, is an open source for managing containerized applications on multiple hosts in a cloud platform, and aims to make it simple and efficient to deploy containerized applications (powerfull), which provides a mechanism for application deployment, planning, updating, and maintenance.
The X Window System (X Window System, also commonly referred to as X11 or X) is a software Window System that displays in a bitmap manner. The beginning of the research of the institute of technology and technology in 1984 was that UNIX, UNIX-like, and OpenVMS were the operating protocols for the standardized software toolkits and display architectures that were used consistently by the operating systems. Almost all operating systems now support and use the X-windowing system. Known desktop environments, GNOME and KDE, are also built based on the X-Window System.
Nowadays, in a traditional software development mode, a user installs an IDE development tool on a computer of the user and then develops the IDE development tool, so that the consistency of development environments of all personnel is difficult to ensure, meanwhile, the high reliability is lost, and the development environment of the user is easy to be unavailable along with the breakdown of a development host. One solution is to use a virtual machine as a development environment, and a user remotely logs into the virtual machine for development. Containers have been widely used as a new type of lightweight virtualization technology, and the idea of migrating a user's remote development environment to kubernets clusters has also come into force.
Disclosure of Invention
Aiming at the requirements and the defects of the prior art development, the invention provides a tool and a method for deploying an X window system in a kubernets cluster, so that a user can remotely access the X window system and enjoy the characteristics of high availability, high efficiency, consistency and the like.
Firstly, the invention discloses a tool for deploying an X window system in a kubernets cluster, and the technical scheme adopted for solving the technical problems is as follows:
a tool to deploy an X-window system in a kubernets cluster, comprising a platform component, a user component, and a helm component;
the platform assembly further comprises an X Server, a VNC Server and a Web VNC Client, wherein the X Server is used as a service end of an X window system and receives user input from the VNC Server;
the user component comprises an X window system mirror image to be used by a user, and the user component accesses the X window system through a Service DNS domain of an X Server;
the helm component deploys the platform component and the user component into the kubernets cluster, and after deployment is completed, the platform component and the user component work in the same Chart.
Further, the helm component deploys the platform component into the kubernets cluster in the form of Pod;
and the X Server, the VNC Server and the Web VNC Client of the platform assembly are accessed through localhost.
Further, the helm component is involved in deploying the user component in Pod form into the kubernets cluster.
Preferably, the access between the involved platform components and the user components is via the kubernets domain name.
Further, the related user component accesses the X window system through a Service DNS of the X Server, and the specific operation comprises the following steps:
the user accesses the Web VNC Client through the browser, then accesses the VNC Server through the Web VNC Client, finally accesses the Service DNS domain name of the X Server through the VNC Server, the X window system responds, drawing information is returned to the X Server, the X Server performs drawing, and meanwhile drawing effects are displayed on the desktop.
Further, the related user component accesses the X window system through a Service DNS of the X Server, and the specific operation comprises the following steps: the user opens the VNC Client by self, connects the VNC Server, transmits user access to the X Server through the VNC Server, the X Server receives the user access and accesses the X window system through the Service DNS domain name, the X window system responds, drawing information is returned to the X Server, the X Server draws, and meanwhile, drawing effects are displayed on the desktop.
Secondly, the invention discloses a method for deploying an X window system in a kubernets cluster, which adopts the following technical scheme for solving the technical problems:
a method for deploying an X window system in a kubernets cluster relates to a platform component, a user component and a helm component;
the platform assembly further comprises an X Server, a VNC Server and a Web VNC Client, wherein the X Server is used as a service end of an X window system and receives user input from the VNC Server;
the user component comprises an X window system mirror image to be used by a user, and the user component accesses the X window system through a Service DNS domain of an X Server;
the helm component deploys the platform component and the user component to the kubernets cluster in a Pod form respectively, and after deployment is completed, the platform component and the user component work in the same Chart.
Furthermore, an X Server, a VNC Server and a Web VNC Client of the related platform assembly are accessed through a localhost;
and the platform component and the user component are accessed through the kubernets domain name.
Further, the related user component accesses the X window system through a Service DNS of the X Server, and the specific operation comprises the following steps:
the user accesses the Web VNC Client through the browser, then accesses the VNC Server through the Web VNC Client, finally accesses the Service DNS domain name of the X Server through the VNC Server, the X window system responds, drawing information is returned to the X Server, the X Server performs drawing, and meanwhile drawing effects are displayed on the desktop.
Further, the related user component accesses the X window system through a Service DNS of the X Server, and the specific operation comprises the following steps: the user opens the VNC Client by self, connects the VNC Server, transmits user access to the X Server through the VNC Server, the X Server receives the user access and accesses the X window system through the Service DNS domain name, the X window system responds, drawing information is returned to the X Server, the X Server draws, and meanwhile, drawing effects are displayed on the desktop.
Compared with the prior art, the tool and the method for deploying the X window system in the kubernets cluster have the beneficial effects that:
the invention can deploy the X window system to the kubernets cluster, so that a user can remotely access the X window system through two modes of a browser and a VNC Client and enjoy the characteristics of high availability, high efficiency, consistency and the like.
Drawings
FIG. 1 is an architectural diagram between a platform assembly and a user assembly in accordance with the present invention;
FIG. 2 is an interaction diagram of a user accessing an X-window system through a browser in accordance with the present invention;
FIG. 3 is an interaction diagram of a user accessing an X-window system via a VNC Client in accordance with the present invention.
Detailed Description
In order to make the technical scheme, the technical problems to be solved and the technical effects of the present invention more clearly apparent, the following technical scheme of the present invention is clearly and completely described with reference to the specific embodiments.
The first embodiment is as follows:
with reference to fig. 1, the present embodiment provides a tool for deploying an X window system in a kubernets cluster, which includes a platform component, a user component, and a helm component.
The platform assembly further comprises an X Server, a VNC Server and a Web VNC Client, and the X Server, the VNC Server and the Web VNC Client are accessed through a localhost. The VNC Client comprises a VNC Client and a Web VNC Client, wherein the VNC Client is used by a user and is accessed by the user through a browser.
The user component includes an X-window system image to be used by the user,
the user component accesses the X window system through the Service DNS domain name of the X Server.
The helm component deploys the platform component and the user component to a kubernets cluster in a Pod form respectively, after deployment is completed, the platform component and the user component are accessed through a kubernets domain name, and the platform component and the user component work in the same Chart.
In this embodiment, the user component accesses the X window system through the Service DNS of the X Server in the following two ways: ,
(A) with reference to fig. 2, a user accesses a Web VNC Client through a browser, then accesses a VNC Server through the Web VNC Client, and finally accesses a Service DNS domain of an X Server through the VNC Server, and an X window system responds to return drawing information to the X Server, and the X Server performs drawing and displays a drawing effect on a desktop.
(B) With reference to fig. 3, the user opens the VNC Client by himself, connects the VNC Server, transmits the user access to the X Server through the VNC Server, the X Server receives the user access, accesses the X window system through the Service DNS, the X window system responds, returns the drawing information to the X Server, the X Server draws, and displays the drawing effect on the desktop.
Example two:
with reference to fig. 1, this embodiment provides a method for deploying an X window system in a kubernets cluster, where implementation of the method involves a platform component, a user component, and a helm component.
The platform assembly further comprises an X Server, a VNC Server and a Web VNC Client, and the X Server, the VNC Server and the Web VNC Client are accessed through a localhost. The VNC Client comprises a VNC Client and a Web VNC Client, wherein the VNC Client is used by a user and is accessed by the user through a browser.
The user component comprises an X window system mirror image to be used by a user, and the user component accesses the X window system through a Service DNS domain of an X Server.
The helm component deploys the platform component and the user component to a kubernets cluster in a Pod form respectively, after deployment is completed, the platform component and the user component are accessed through a kubernets domain name, and the platform component and the user component work in the same Chart.
In this embodiment, the user component accesses the X window system through the Service DNS of the X Server in the following two ways:
(A) with reference to fig. 2, a user accesses a Web VNC Client through a browser, then accesses a VNC Server through the Web VNC Client, and finally accesses a Service DNS domain of an X Server through the VNC Server, and an X window system responds to return drawing information to the X Server, and the X Server performs drawing and displays a drawing effect on a desktop.
(B) With reference to fig. 3, the user opens the VNC Client by himself, connects the VNC Server, transmits the user access to the X Server through the VNC Server, the X Server receives the user access, accesses the X window system through the Service DNS, the X window system responds, returns the drawing information to the X Server, the X Server draws, and displays the drawing effect on the desktop.
In summary, the tool and the method for deploying the X window system in the kubernets cluster can deploy the X window system to the kubernets cluster, so that a user can remotely access the X window system through a browser and a VNC Client and enjoy the characteristics of high availability, high efficiency, consistency and the like.
The principles and embodiments of the present invention have been described in detail using specific examples, which are provided only to aid in understanding the core technical content of the present invention. Based on the above embodiments of the present invention, those skilled in the art should make any improvements and modifications to the present invention without departing from the principle of the present invention, and therefore, the present invention should fall into the protection scope of the present invention.

Claims (10)

1. A tool for deploying an X-window system in a kubernets cluster, comprising a platform component, a user component and a helm component;
the platform assembly further comprises an X Server, a VNC Server and a Web VNC Client, wherein the X Server is used as a service end of an X window system and receives user input from the VNC Server;
the user component comprises an X window system mirror image to be used by a user, and the user component accesses the X window system through a Service DNS domain of an X Server;
the helm component deploys the platform component and the user component into the kubernets cluster, and after deployment is completed, the platform component and the user component work in the same Chart.
2. The tool for deploying an X-window system in a kubernets cluster of claim 1, wherein the helm component deploys platform components in Pod into the kubernets cluster;
and the X Server, the VNC Server and the Web VNC Client of the platform assembly are accessed through localhost.
3. The tool for deploying an X-window system in a kubernets cluster as claimed in claim 2, wherein the helm component deploys user components in Pod into the kubernets cluster.
4. The tool for deploying an X-window system in a kubernets cluster of claim 3, wherein the platform component and the user component are accessed through a kubernets domain name.
5. The tool for deploying an X window system in a kubernets cluster according to claim 1, wherein the user component accesses the X window system through a Service DNS domain of an X Server, and the specific operations include:
the user accesses the Web VNC Client through the browser, then accesses the VNC Server through the Web VNC Client, finally accesses the Service DNS domain name of the X Server through the VNC Server, the X window system responds, drawing information is returned to the X Server, the X Server performs drawing, and meanwhile drawing effects are displayed on the desktop.
6. The tool for deploying an X window system in a kubernets cluster according to claim 1, wherein the user component accesses the X window system through a Service DNS domain of an X Server, and the specific operations include: the user opens the VNC Client by self, connects the VNC Server, transmits user access to the X Server through the VNC Server, the X Server receives the user access and accesses the X window system through the Service DNS domain name, the X window system responds, drawing information is returned to the X Server, the X Server draws, and meanwhile, drawing effects are displayed on the desktop.
7. A method for deploying an X window system in a kubernets cluster is characterized in that the method is realized by relating to a platform component, a user component and a helm component;
the platform assembly further comprises an X Server, a VNC Server and a Web VNC Client, wherein the X Server is used as a service end of an X window system and receives user input from the VNC Server;
the user component comprises an X window system mirror image to be used by a user, and the user component accesses the X window system through a Service DNS domain of an X Server;
the helm component deploys the platform component and the user component to the kubernets cluster in a Pod form respectively, and after deployment is completed, the platform component and the user component work in the same Chart.
8. The method of claim 7, wherein the X-windows system is accessed between an X Server, a VNC Server, and a Web VNC Client of the platform component via a localhost;
the platform component and the user component are accessed through a kubernets domain name.
9. The method of claim 7, wherein the user component accesses the X window system through a Service DNS domain of an X Server, and the specific operations include:
the user accesses the Web VNC Client through the browser, then accesses the VNC Server through the Web VNC Client, finally accesses the Service DNS domain name of the X Server through the VNC Server, the X window system responds, drawing information is returned to the X Server, the X Server performs drawing, and meanwhile drawing effects are displayed on the desktop.
10. The method of claim 7, wherein the user component accesses the X window system through a Service DNS domain of an X Server, and the specific operations include: the user opens the VNC Client by self, connects the VNC Server, transmits user access to the X Server through the VNC Server, the X Server receives the user access and accesses the X window system through the Service DNS domain name, the X window system responds, drawing information is returned to the X Server, the X Server draws, and meanwhile, drawing effects are displayed on the desktop.
CN202110073018.4A 2021-01-20 2021-01-20 Tool and method for deploying X window system in kubernetes cluster Active CN112817674B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110073018.4A CN112817674B (en) 2021-01-20 2021-01-20 Tool and method for deploying X window system in kubernetes cluster

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110073018.4A CN112817674B (en) 2021-01-20 2021-01-20 Tool and method for deploying X window system in kubernetes cluster

Publications (2)

Publication Number Publication Date
CN112817674A true CN112817674A (en) 2021-05-18
CN112817674B CN112817674B (en) 2023-12-26

Family

ID=75858396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110073018.4A Active CN112817674B (en) 2021-01-20 2021-01-20 Tool and method for deploying X window system in kubernetes cluster

Country Status (1)

Country Link
CN (1) CN112817674B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116743728A (en) * 2023-08-11 2023-09-12 深圳竹云科技股份有限公司 Application operation and maintenance method, system, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2001293535A1 (en) * 2000-09-05 2002-06-13 Fieldturf Tarkett Inc. Artificial grass for landscaping
CN101256510A (en) * 2008-04-11 2008-09-03 中兴通讯股份有限公司 Cluster system and method for implementing centralized management thereof
US20200034073A1 (en) * 2016-02-22 2020-01-30 Nutanix, Inc. Accelerating background tasks in a computing cluster
CN111090437A (en) * 2019-11-19 2020-05-01 平安科技(深圳)有限公司 Application deployment method and device and computer readable storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
PT1315866E (en) * 2000-09-05 2008-07-07 Fieldturf Tarkett Inc Airport runway surrounding surface arrangement

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2001293535A1 (en) * 2000-09-05 2002-06-13 Fieldturf Tarkett Inc. Artificial grass for landscaping
CN101256510A (en) * 2008-04-11 2008-09-03 中兴通讯股份有限公司 Cluster system and method for implementing centralized management thereof
US20200034073A1 (en) * 2016-02-22 2020-01-30 Nutanix, Inc. Accelerating background tasks in a computing cluster
CN111090437A (en) * 2019-11-19 2020-05-01 平安科技(深圳)有限公司 Application deployment method and device and computer readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
关兴民;张兆伟;王祝先;王子洋;: "基于Kubernetes的气象私有云自动化部署与优化", 信息技术, no. 05 *
朱天放;梁明;王家乐;杨志浩;李亚敏;: "基于容器云的深度学习平台设计与实现", 电子设计工程, no. 09 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116743728A (en) * 2023-08-11 2023-09-12 深圳竹云科技股份有限公司 Application operation and maintenance method, system, equipment and storage medium
CN116743728B (en) * 2023-08-11 2023-10-20 深圳竹云科技股份有限公司 Application operation and maintenance method, system, equipment and storage medium

Also Published As

Publication number Publication date
CN112817674B (en) 2023-12-26

Similar Documents

Publication Publication Date Title
EP3525093B1 (en) Remoting of windows presentation framework based applications in a non-composed desktop
EP0597395B1 (en) Multiple graphical user interface on a single display
WO2021174928A1 (en) Page pre-rendering method and apparatus, electronic device, and storage medium
CN102567074B (en) USB (universal serial bus) device redirecting method facing virtual machines
Snowdon et al. Aviary: Design issues for future large-scale virtual environments
EP0834801A2 (en) Remote control of a display system
US5767849A (en) Personality neutral window management subsystem
US20100082733A1 (en) Extensible remote programmatic access to user interface
CN110442965A (en) Railway customer service information machine room implementation management system and method based on BIM
CN104199723B (en) Camera mapping method based on virtual equipment
EP3420447B1 (en) Low latency applications using multiple servers
CN106775867B (en) Flight simulation system under Windows operating system environment
CN108304239B (en) Rapid interface interaction method and device for remote operation
DE202014010943U1 (en) Switch to and from native web applications
US20110298787A1 (en) Layer composition, rendering, and animation using multiple execution threads
CN109213496A (en) A kind of realization method and system for disposing OpenStack
CN112817674A (en) Tool and method for deploying X window system in kubernets cluster
CN107479984A (en) Message based distributed space data processing system
CN108701045A (en) Client operating system screenshot method and device in computer equipment
EP3113015B1 (en) Method and apparatus for data communication in virtualized environment
CN113254043A (en) Web front-end project processing method and device, electronic equipment and storage medium
CN111309740A (en) Data processing method, device, equipment and storage medium
CN103209178B (en) The method of compatible SPICE protocol on CloudStack platform
CN106170788B (en) The method and apparatus of I/O request is handled in Network File System
JP5541160B2 (en) Program acquisition / execution client, program acquisition / execution method and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant