当前位置:网站首页>Introduction to the strongest swarm cluster one click deployment + hydrogen bomb level container management tool

Introduction to the strongest swarm cluster one click deployment + hydrogen bomb level container management tool

2022-06-26 11:29:00 BOGO

k8s More and more heavy ! More and more heavy ! More and more heavy …………

The large version is updated twoorthree times a year ! Not counting the renewal iteration of the surrounding ecology !

But it's good , Spawned many k8s Post of operation and maintenance engineer , The salary is pretty good !

I've been talking to everyone before k8s It also updates the one click deployment script of its important version in real time ! At least it will not be so difficult for everyone to get started !

Not today k8s. Let's talk swarm!~

BOGO's old rule is to put the script directly :

git clone https://github.com/luckman666/deploy_swarm.git
cd deploy_swarm && chown -R 755 .
#  edit base.config Parameters 
./deploy_swarm_master.sh

The above has deployed a set of swarm

You can have a look . I have two nodes swarm

Then please enter the deployment node in the browser IP:9000 To log in to our graphics management tool

Get the interface above , This is our main character today ,swarm We'll talk about it later !

After entering the user name and password, write this :

local Is to manage only this computer ,remote It is used to manage remote servers , Because we are swarm colony , So choose the second one .

IP: That's how the port is written . My scripts are automatically changed in the background ! BOGO is easy ? Isn't it worth your attention ? give the thumbs-up ? forward ? For three lines of code , I wrote about 800 Line code ...

Focus on , give the thumbs-up , Forward all three to make a fortune this year .

Just do the same .. Forget it !, Make a fortune, too !

None of them ... Just win a thousand or eighthundred lives in the lottery !

Let's keep looking down !

Above is node1 Basic information of , Let's add a second machine

Click to the home page : You can see two machines , And their basic information ~

There are too many things here , Let me briefly introduce some of the most commonly used !

There will be many prefabricated templates on it , choice apache

And here ! You can understand , I won't say much more ! It's just one. web The deployment container adds various parameters . And then we deploy.

In a moment, we will return to dashboard, notice container Become two . One of them is the container of the gadget we are using ~

Click in

The above is the start, stop, delete and create of the container

The following is a demonstration for you :

Select a sh, Generally, default is good

Did you see? ? Log in to the container to adjust !

Resource monitoring

Pay attention to the reply of the official account : Front end template You can get nearly 10000 sets of high-quality front-end templates and source code , There are a large number of practical tools and the latest industry information waiting for you !

journal : This is the most useful !

You can view logs dynamically and in real time , We must use this when debugging the container !

The above is an independent deployment docker Of

server Is to operate our swarm Clustered

establish :

Then the browser enters the... Of the two nodes IP:8001

Show that the deployment was successful ! Two machines, one for each !

then image, You can see hierarchical information and other details , And you can package and upload images , Very useful ~!

Check the network :

Disk mount :

Too much ! You can see for yourself , The tool is called portainer.

I'll introduce you here today . Very useful , This must be able to use Austria ! This must be able to use Austria ! This must be able to use Austria , I'll introduce you to other sharp weapons when I'm free !

It's midnight again ! alas !~

原网站

版权声明
本文为[BOGO]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/177/202206260950314778.html