Use CloudOS to quickly implement K8S containerized deployment

About Container Technology

Container technology (represented by docker and Kubernetes) has been born and has gone through the following three stages in China:

Infancy: 2014-2016 technology exploration period;

Childhood period: 2017-2018 industry testing period;

Juvenile period: the scale application period after 2019.

I will not detail the benefits of using container technology here, and interested students can learn by themselves. K8S is a very good thing, and now it has become the de facto operating system (Operation System, OS) in the field of cloud native. However, K8S is still an unruly monster. Let's put it this way, if you have a very good computer foundation, you can get started in 1-2 months.

Is there a way to enjoy the benefits of K8S without learning K8S? - Use CloudOS.

What is CloudOS?

CloudOS is a one-stop cloud native application development and operation platform. Using CloudOS, application developers can easily run applications on K8S without having to understand K8S at all, and can troubleshoot applications, operate and maintain applications, etc.

Quickly deploy code bases with CloudOS

Suppose you have a java SpringBoot code base project, how can you quickly deploy it to K8S using CloudOS?

1. Create a new blank template project in the application factory

insert image description here

2. Drag a code component into the architecture diagram

insert image description here

3. Configure the code components

  • Configure the code library docking

insert image description here

  • Choose a technology stack. Select a technology stack based on your actual situation. The technology stack defines how a code base becomes a docker container image. The following technology stacks are CloudOS built-in technology stacks.

insert image description here

  • Configure the port and configure it according to the actual situation.

insert image description here

4. Save the architecture diagram

5. Deploy the application. Click the "Publish" button to deploy the code base.

insert image description here

insert image description here

Note:

The release environment drop-down list is a number of different K8S clusters, you only need to select one of them.

CloudOS will expose a domain name for your application, and then you can directly access the application through the domain name.

6. Enter the application interface and wait for the application deployment to complete

insert image description here

Note:

After the deployment is complete, you can view the exposed domain names through "View Configuration".

After the deployment is complete, you can operate and maintain the application: click the application, double-click a component

insert image description here

Summarize

The above details how to deploy a code base to K8S, and you don't need to have any knowledge of K8S during the whole process. In addition, not only the code base, if you have a docker image or a jar/war package, you can also use CloudOS to quickly deploy it. The only difference is that in the above step 2, you choose the image component or the product component. When your application is a microservice architecture with many components, you only need to drag multiple components into the architecture diagram.

CloudOS is our private cloud product. We have a SaaS version of this product called Methodot (www.methodot.com). Welcome to experience it.

Guess you like

Origin blog.csdn.net/weixin_44592002/article/details/131396936