当前位置:网站首页>One command to run rancher
One command to run rancher
2022-06-30 04:51:00 【Xuanyuan longer】
1、rancher install
Console rke Execute under the user docker command :
docker run --name=rancher -d --privileged --restart=unless-stopped -p 30040:80 -p 30050:443 rancher/rancher:latest

2、 Check whether it starts normally
The following two commands can be used to view :
docker ps | grep rancher ## View running docker Containers
3、 Browser access
Input https://IP:PORT

Click Advanced , Then click continue to

4、 password
According to the prompt , Enter and change password


After the browser enters the password , Select the... In the red box , And enter the password you want to set below

After entering, there is a default k3s

5、 Join other existing clusters
Click on Import Existing

choice Generic

Enter the cluster name at will , As long as you can remember

Execute the command to register according to the operation in the red box

Carry out orders
kubectl apply -f https://172.17.8.51:30050/v3/import/2llq4b95zbspwqlcjrb898dtwqmqgtcxtfxjdlkgp8c79jpzf8tfn6_c-m-5ffgdfz6.yaml

Reported the problem of certification , Execute the second command
curl --insecure -sfL https://172.17.8.51:30050/v3/import/2llq4b95zbspwqlcjrb898dtwqmqgtcxtfxjdlkgp8c79jpzf8tfn6_c-m-5ffgdfz6.yaml | kubectl apply -f -

My side is running successfully
边栏推荐
- What to do when the alicloud SSL certificate expires
- Unity enables simple music visualization
- Software digital signature certificate
- 【Paper】2021_ Analysis of the Consensus Protocol of Heterogeneous Agents with Time-Delays
- EasyRecovery数据恢复软件 恢复了我两年前的照片视频数据
- 【Paper】2015_ Coordinated cruise control for high-speed train movements based on a multi-agent model
- Deep learning ----- different methods to realize inception-10
- What is SQL injection and how to avoid it?
- Detailed explanation of the process of "flyingbird" small game (camera adjustment and following part)
- Break through the existing customer group marketing, and try customer grouping management (including clustering model and other practical effect evaluation)
猜你喜欢

What to do when the alicloud SSL certificate expires

Output directory of log files after unity3d packaging

Collective system

Unity realizes rotation and Revolution

Transport layer protocol tcp/udp
![[UAV] gyroscope data analysis, taking Victor intelligent jy901b as an example](/img/d7/7bf43437edb87b69cdc5ae858f44e1.jpg)
[UAV] gyroscope data analysis, taking Victor intelligent jy901b as an example

【Paper】2019_ Consensus Control of Multiple AUVs Recovery System Under Switching Topologies and Time D

Redis implements SMS login function (II) redis implements login function

EasyRecovery数据恢复软件 恢复了我两年前的照片视频数据

A virtual reality secret room escape adventure, let you see Technology Singapore
随机推荐
A must see cruise experience in Bangkok: visit the Mekong River and enjoy the scenery on both sides of the river
Using the command line to convert JSON to dart file in fluent
Create transfer generation point
Webots notes day 2
Introduction to some representations, neighbors and degrees of Graphs
Redis implements SMS login function (II) redis implements login function
This connection is not a private connection this website may be pretending to steal your personal or financial information
Circle center technology, very anxious?
How to renew an SSL certificate
【Paper】2013_ An efficient model predictive control scheme for an unmanned quadrotor helicopter
z-index属性在什么情况下会失效?
Break through the existing customer group marketing, and try customer grouping management (including clustering model and other practical effect evaluation)
Summary of the reasons why transactional doesn't work
為什麼win10開熱點後電腦沒有網絡?
[FPGA] IIC读写EEPROM 的实现
My idea configuration
svg和canvas的区别
Unreal 4 unavigationsystemv1 compilation error
Unity a* road finding force planning
Singapore must visit these scenic spots during the Spring Festival