CN112817674B - Tool and method for deploying X window system in kubernetes cluster - Google Patents

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

Info

Publication number
CN112817674B
CN112817674B CN202110073018.4A CN202110073018A CN112817674B CN 112817674 B CN112817674 B CN 112817674B CN 202110073018 A CN202110073018 A CN 202110073018A CN 112817674 B CN112817674 B CN 112817674B
Authority
CN
China
Prior art keywords
server
vnc
user
component
window system
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.)
Active
Application number
CN202110073018.4A
Other languages
Chinese (zh)
Other versions
CN112817674A (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a tool and a method for deploying an X window system in kubernetes clusters, which relate to the technical field of kubernetes clusters, and are realized based on a platform component, a user component and a helm component; the platform component further comprises an X Server, a VNC Server and a Web VNC Client, wherein the X Server is used as a service end of the X window system and receives user input from the VNC Server, the VNC Server is used as a VNC service end and receives input from the VNC Client, the VNC Client comprises a VNC Client and a Web VNC Client used by a user, and the Web VNC Client 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 name of an X Server; the head component deploys the platform component and the user component into the kubernetes cluster, and after deployment, the platform component and the user component work in the same Chart, so that a user can remotely access the X window system, and the characteristics of high availability, high efficiency, consistency and the like are enjoyed.

Description

Tool and method for deploying X window system in kubernetes cluster
Technical Field
The invention relates to the technical field of kubernetes, in particular to a tool and a method for deploying an X window system in a kubernetes cluster.
Background
Kubernetes, K8s for short, is an open source for managing containerized applications on multiple hosts in a cloud platform, and the goal of Kubernetes is to make deploying containerized applications simple and efficient (powerfull), and Kubernetes provides a mechanism for application deployment, planning, updating, and maintenance.
An X Window System (X Window System, also commonly referred to as X11 or X) is a software Window System that is displayed in a bitmap manner. Initially, the institute of technology and technology of the hemp-province institute of technology in 1984 was changed to a standardized software tool package and a display architecture operating protocol compatible with the operating systems such as UNIX, UNIX-like, and OpenVMS. Almost all operating systems now support and use the X window system. The well-known desktop environments, GNOME and KDE, are also built on the basis of the X-Window System.
Nowadays, the traditional software development mode is that a user installs an IDE development tool on a computer of the user and then develops the IDE development tool, so that consistency of development environments of all personnel is difficult to ensure, meanwhile, high reliability is lost, and the development environments of the user are easy to break down along with a development host computer and cannot be used. One solution is to use a virtual machine as a development environment to which a user remotely logs for development. Containers have been widely used as a new lightweight virtualization technology, and the idea of migrating a user's remote development environment to kubernetes clusters has also grown.
Disclosure of Invention
Aiming at the needs and the shortcomings of the prior art development, the invention provides a tool and a method for deploying an X window system in a kubernetes 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 kubernetes cluster, which solves the technical problems and adopts the following technical scheme:
a tool for deploying an X-window system in a kubernetes cluster, comprising a platform component, a user component, and a helm component;
the platform component further comprises an X Server, a VNC Server and a Web VNC Client, wherein the X Server is used as a service end of the X window system and receives user input from the VNC Server, the VNC Server is used as a VNC service end and receives input from the VNC Client, the VNC Client comprises a VNC Client and a Web VNC Client used by a user, and the Web VNC Client 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 name of an X Server;
the helm component deploys the platform component and the user component into kubernetes clusters, and after deployment, the platform component and the user component work in the same Chart.
Further, the related palm component deploys the platform component into kubernetes clusters in the form of Pod;
the X Server, the VNC Server and the Web VNC Client of the platform component are accessed through localhost.
Further, the involved palm component deploys the user components in the kubernetes cluster in the form of Pod.
Preferably, the involved platform components and user components are accessed through kubernetes domain names.
Further, the related user component accesses the X window system through the Service DNS domain name of the X Server, and the specific operation comprises the following steps:
the user accesses the Web VNC Client through the browser, then the Web VNC Client accesses the VNC Server, finally the Service DNS domain name of the X Server is accessed through the VNC Server, the X window system responds, the drawing information is returned to the X Server, the X Server draws, and meanwhile, the drawing effect is displayed on the desktop.
Further, the related user component accesses the X window system through the Service DNS domain name of the X Server, and the specific operation comprises the following steps: the user opens the VNC Client by oneself, 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 via the Service DNS domain name, the X Window System responds, the drawing information is returned to the X Server, the X Server draws, and simultaneously the drawing effect is displayed on the desktop.
Secondly, the invention discloses a method for deploying an X window system in a kubernetes cluster, which solves the technical problems and adopts the following technical scheme:
a method of deploying an X-window system in a kubernetes cluster, the implementation of the method involving a platform component, a user component, and a palm component;
the platform component further comprises an X Server, a VNC Server and a Web VNC Client, wherein the X Server is used as a service end of the X window system and receives user input from the VNC Server, the VNC Server is used as a VNC service end and receives input from the VNC Client, the VNC Client comprises a VNC Client and a Web VNC Client used by a user, and the Web VNC Client 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 name of an X Server;
the helm component deploys the platform component and the user component into kubernetes clusters in the form of Pod respectively, and after deployment is completed, the platform component and the user component work in the same Chart.
Further, the X Server, the VNC Server and the Web VNC Client of the related platform components are accessed through localhost;
the platform component and the user component are accessed through kubernetes domain name.
Further, the related user component accesses the X window system through the Service DNS domain name of the X Server, and the specific operation comprises the following steps:
the user accesses the Web VNC Client through the browser, then the Web VNC Client accesses the VNC Server, finally the Service DNS domain name of the X Server is accessed through the VNC Server, the X window system responds, the drawing information is returned to the X Server, the X Server draws, and meanwhile, the drawing effect is displayed on the desktop.
Further, the related user component accesses the X window system through the Service DNS domain name of the X Server, and the specific operation comprises the following steps: the user opens the VNC Client by oneself, 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 via the Service DNS domain name, the X Window System responds, the drawing information is returned to the X Server, the X Server draws, and simultaneously the drawing effect is displayed on the desktop.
The tool and the method for deploying the X window system in the kubernetes cluster have the beneficial effects that compared with the prior art:
the invention can deploy the X window system to the kubernetes cluster, so that a user can remotely access the X window system through two modes of a browser and a VNC Client, and the characteristics of high availability, high efficiency, consistency and the like are enjoyed.
Drawings
FIG. 1 is a diagram of the architecture between a platform component and a user component in the present invention;
FIG. 2 is an interactive diagram of a user accessing an X window system through a browser in the present invention;
FIG. 3 is an interaction diagram of a user accessing an X window system through a VNC Client in the present invention.
Detailed Description
In order to make the technical scheme, the technical problems to be solved and the technical effects of the invention more clear, the technical scheme of the invention is clearly and completely described below by combining specific embodiments.
Embodiment one:
with reference to fig. 1, this embodiment proposes a tool for deploying an X-window system in kubernetes clusters, which includes a platform component, a user component, and a helm component.
The platform component 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 localhost. The X Server is used as a Server side of the X window system and receives user input from the VNC Server, the VNC Server is used as a VNC Server side and receives input from VNC clients, and the VNC clients comprise VNC clients and Web VNC clients used by users, and the Web VNC clients are accessed by the users 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 head component deploys the platform component and the user component into the kubernetes cluster in the form of Pod respectively, after deployment is completed, the platform component and the user component access through kubernetes domain names, 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 domain name of the X Server in the following two ways: ,
(A) Referring to fig. 2, a user accesses a Web VNC Client through a browser, accesses a VNC Server through the Web VNC Client, accesses a Service DNS domain name of an X Server through the VNC Server, and returns drawing information to the X Server in response to draw the drawing information by the X window system, and simultaneously displays a drawing effect on a desktop.
(B) With reference to fig. 3, a user opens a VNC Client by himself, connects with a VNC Server, transmits user access to an X Server through the VNC Server, receives user access, accesses an X window system via a Service DNS domain name, responds to the X window system, returns drawing information to the X Server, and draws the X Server, and simultaneously displays a drawing effect on a desktop.
Embodiment two:
with reference to fig. 1, this embodiment proposes a method for deploying an X window system in kubernetes clusters, where implementation of the method involves a platform component, a user component, and a palm component.
The platform component 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 localhost. The X Server is used as a Server side of the X window system and receives user input from the VNC Server, the VNC Server is used as a VNC Server side and receives input from VNC clients, and the VNC clients comprise VNC clients and Web VNC clients used by users, and the Web VNC clients are accessed by the users through a browser.
The user component includes an X window system mirror image to be used by the user, and the user component accesses the X window system through a Service DNS domain name of the X Server.
The head component deploys the platform component and the user component into the kubernetes cluster in the form of Pod respectively, after deployment is completed, the platform component and the user component access through kubernetes domain names, 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 domain name of the X Server in the following two ways:
(A) Referring to fig. 2, a user accesses a Web VNC Client through a browser, accesses a VNC Server through the Web VNC Client, accesses a Service DNS domain name of an X Server through the VNC Server, and returns drawing information to the X Server in response to draw the drawing information by the X window system, and simultaneously displays a drawing effect on a desktop.
(B) With reference to fig. 3, a user opens a VNC Client by himself, connects with a VNC Server, transmits user access to an X Server through the VNC Server, receives user access, accesses an X window system via a Service DNS domain name, responds to the X window system, returns drawing information to the X Server, and draws the X Server, and simultaneously displays a drawing effect on a desktop.
In summary, by adopting the tool and the method for deploying the X window system in the kubernetes cluster, the X window system can be deployed to the kubernetes cluster, so that a user can remotely access the X window system through two modes of a browser and a VNC Client, and the tool and the method have the characteristics of high availability, high efficiency, consistency and the like.
The foregoing has outlined rather broadly the principles and embodiments of the present invention in order that the detailed description of the invention may be better understood. Based on the above-mentioned embodiments of the present invention, any improvements and modifications made by those skilled in the art without departing from the principles of the present invention should fall within the scope of the present invention.

Claims (10)

1. A tool for deploying an X-window system in a kubernetes cluster, comprising a platform component, a user component, and a palm component;
the platform component further comprises an X Server, a VNC Server and a Web VNC Client, wherein the X Server is used as a service end of the X window system, receives user input from the VNC Server, the VNC Server is used as a VNC service end, receives input from the VNC Client, and the VNC Client comprises the VNC Client and the Web VNC Client used by a user, and the Web VNC Client 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 accesses the X window system through a Service DNS domain name of an X Server;
the helm component deploys the platform component and the user component into the kubernetes 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 kubernetes cluster of claim 1 wherein the helm component deploys the platform component in the kubernetes cluster in the form of a Pod;
the X Server, the VNC Server and the Web VNC Client of the platform component are accessed through localhost.
3. The tool for deploying an X-window system in a kubernetes cluster of claim 2 wherein the palm component deploys the user component in the kubernetes cluster in the form of a Pod.
4. A tool for deploying an X-window system in a kubernetes cluster according to claim 3 wherein the platform component and the user component are accessed by a kubernetes domain name.
5. The tool for deploying an X-window system in kubernetes cluster according to claim 1, wherein the user component accesses the X-window system through a Service DNS domain name of an X Server, and the specific operations comprise:
the user accesses the Web VNC Client through the browser, then the Web VNC Client accesses the VNC Server, finally the Service DNS domain name of the X Server is accessed through the VNC Server, the X window system responds, the drawing information is returned to the X Server, the X Server draws, and meanwhile, the drawing effect is displayed on the desktop.
6. The tool for deploying an X-window system in kubernetes cluster according to claim 1, wherein the user component accesses the X-window system through a Service DNS domain name of an X Server, and the specific operations comprise: the user opens the VNC Client by oneself, 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 via the Service DNS domain name, the X Window System responds, the drawing information is returned to the X Server, the X Server draws, and simultaneously the drawing effect is displayed on the desktop.
7. A method for deploying an X-window system in a kubernetes cluster, wherein the implementation of the method involves a platform component, a user component, and a helm component;
the platform component further comprises an X Server, a VNC Server and a Web VNC Client, wherein the X Server is used as a service end of the X window system, receives user input from the VNC Server, the VNC Server is used as a VNC service end, receives input from the VNC Client, and the VNC Client comprises the VNC Client and the Web VNC Client used by a user, and the Web VNC Client 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 accesses the X window system through a Service DNS domain name of an X Server;
and the head component deploys the platform component and the user component into the kubernetes cluster in the form of Pod respectively, and the platform component and the user component work in the same Chart after deployment is completed.
8. The method for deploying an X-window system in a kubernetes cluster of claim 7 wherein the platform components are accessed by localhost between X servers, VNC servers, web VNC clients;
the platform component and the user component are accessed through kubernetes domain name.
9. The method for deploying an X-window system in a kubernetes cluster of claim 7, wherein the accessing the X-window system by the user component via a Service DNS domain name of an X Server comprises:
the user accesses the Web VNC Client through the browser, then the Web VNC Client accesses the VNC Server, finally the Service DNS domain name of the X Server is accessed through the VNC Server, the X window system responds, the drawing information is returned to the X Server, the X Server draws, and meanwhile, the drawing effect is displayed on the desktop.
10. The method for deploying an X-window system in a kubernetes cluster of claim 7, wherein the accessing the X-window system by the user component via a Service DNS domain name of an X Server comprises: the user opens the VNC Client by oneself, 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 via the Service DNS domain name, the X Window System responds, the drawing information is returned to the X Server, the X Server draws, and simultaneously the drawing effect is 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 CN112817674A (en) 2021-05-18
CN112817674B true 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)

Families Citing this family (1)

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

Citations (3)

* 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
CN111090437A (en) * 2019-11-19 2020-05-01 平安科技(深圳)有限公司 Application deployment method and device and computer readable storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ATE396302T1 (en) * 2000-09-05 2008-06-15 Fieldturf Tarkett Inc DESIGN OF SURROUNDING SURFACES OF A RUNWAY
US20200034073A1 (en) * 2016-02-22 2020-01-30 Nutanix, Inc. Accelerating background tasks in a computing cluster

Patent Citations (3)

* 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
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的气象私有云自动化部署与优化;关兴民;张兆伟;王祝先;王子洋;;信息技术(05);全文 *
基于容器云的深度学习平台设计与实现;朱天放;梁明;王家乐;杨志浩;李亚敏;;电子设计工程(09);全文 *

Also Published As

Publication number Publication date
CN112817674A (en) 2021-05-18

Similar Documents

Publication Publication Date Title
KR100722355B1 (en) Method and apparatus for activity-based collaboration by a computer system equipped with a dynamics manager
CN102413164B (en) Web-based three-dimensional scenic visualized editing device and method
US10719571B2 (en) Virtualized rendering
KR100711661B1 (en) Method and apparatus for prioritizing data change requests and maintaining data consistency in a distributed computer system equipped for activity-based collaboration
CN101430649B (en) Virtual computation environmental system based on virtual machine
US20170323418A1 (en) Virtualized gpu in a virtual machine environment
US8001161B2 (en) Cloning objects in a virtual universe
CN101821698B (en) Method and apparatus for bridging real-world WEB applications and 3D virtual worlds
US7937452B2 (en) Framework for rendering plug-ins in remote access services
CN102279752B (en) Device and method for rendering ultra-large scene in real time based on Web three-dimension (3D)
KR20100114050A (en) Graphics remoting architecture
US7908611B2 (en) Unmanaged programming language interoperability with managed internet protocol context
EP3420447B1 (en) Low latency applications using multiple servers
CN112817674B (en) Tool and method for deploying X window system in kubernetes cluster
US20110298787A1 (en) Layer composition, rendering, and animation using multiple execution threads
CN108074210A (en) A kind of object acquisition system and method rendered for cloud
CN111125050B (en) File storage method based on CephFS to provide NFS protocol in openstack environment
TW554283B (en) Data processing system for generating graphics data and method of communicating graphics data
CN112187718B (en) Remote access cloud terminal and system of IDV cloud desktop
CN114205333B (en) IP configuration method, cluster construction method, computer device and storage medium
CN103209178B (en) The method of compatible SPICE protocol on CloudStack platform
CN113835816A (en) Virtual machine desktop display method, device, equipment and readable storage medium
CN109460275A (en) A kind of novel computer screen display equipment
US20240232106A1 (en) Merged input/output for accelerating directory listing phase in client drive redirection
Freeman et al. Docker Volumes and Networks

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