In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Preface
Rancher is an open source enterprise container management platform. With Rancher, enterprises no longer have to use a series of open source software to build a container service platform from scratch. Rancher provides a full-stack container deployment and management platform for managing Docker and Kubernetes used in production environments.
Rancher consists of the following four parts:
Infrastructure arrangement
Rancher can use Linux host resources from any public or private cloud. The Linux host can be a virtual machine or a physical machine. Rancher only requires the host to have CPU, memory, local disk and network resources. From the perspective of Rancher, the cloud host provided by a cloud vendor is the same as a physical machine of its own.
Rancher implements a layer of flexible infrastructure services for running containerized applications. Rancher's infrastructure services include network, storage, load balancing, DNS and security modules. Rancher's infrastructure services are also deployed through containers, so the same Rancher infrastructure services can run on any Linux host.
Container choreography and scheduling
Many users will choose to use the container orchestration scheduling framework to run containerized applications. Rancher includes all the current mainstream orchestration and scheduling engines, such as Docker Swarm, Kubernetes, and Mesos. The same user can create a Swarm or Kubernetes cluster. And you can use native Swarm or Kubernetes tools to manage applications.
In addition to Swarm,Kubernetes and Mesos, Rancher also supports its own Cattle container orchestration scheduling engine. Cattle is widely used to orchestrate Rancher's own infrastructure services as well as to configure, manage and upgrade Swarm clusters, Kubernetes clusters and Mesos clusters.
Application Store
Rancher users can deploy applications made up of multiple containers in the app store with one click. Users can manage the deployed application and automate upgrades when a new version of the application is available. Rancher provides an app store maintained by the Rancher community, which includes a range of popular applications. Rancher users can also create their own private app stores.
Enterprise-level privilege management
Rancher supports flexible plug-in user authentication. Active Directory,LDAP, Github and other authentication methods are supported. Rancher supports role-based access control (RBAC) at the environment level, which allows a user or group of users to configure access to a development or production environment through roles.
Http://note.youdao.com/noteshare?id=2445578bf7d84afc96d812b155f2cc92&sub=00A306CE1AA545E49EA893E0F587FDCA
Rancher1.X version
Rancher2.X version
Rancher currently has two major version branches, namely 1.6 and 2.0.
The two versions can not be upgraded and switched directly, and belong to two completely different frameworks. Version 2.0 is based on k8s design, while version 1.6 is easier for beginners to accept, and is more straightforward in management, which is suitable for startups to contact docker access management.
Installation configuration process
The installation process refers to the following link:
Https://rancher.com/docs/rancher/v1.6/zh/installing-rancher/installing-server/
(it is recommended to set up a separate host for rancher for installation)
After successful installation, open the WEB page in the browser:
Version 1.6 of rancher will go directly to the interface after login, and log in with a high permission anonymous by default (it may feel a little insecure, but I think it's OK, so if you have set up external access control), we first need to set up an associated management account. It is recommended that you directly use the github account to control the association:
Click access control
Go to the access control page and check GITHUB
Follow the prompts to log in to your GitHub account and create an OAuth Apps application
After the connection, you can use the account to authenticate and log in.
The host that adds linux to the rancher after account association login serves as the host for the backend to manage the docker
Add the host to select the type according to the actual situation. Generally, we select the Custom type, then follow the prompts to set it up, execute the command provided on the host machine, and wait for the registration to be completed. Then you can successfully add the host.
Wait for about two minutes for the backend to see the added host information, which shows that the docker version is not detected because docker uses the latest version 18.09. in practice, you can appropriately reduce the docker version to a stable 1.13.1 or 17.0 version.
If you need to add a container, you can click directly on the console to operate.
Adding containers to the console will complete the required content by mapping dockerfile.
It is recommended to use a self-built private repository before adding containers, using version 1.0 of registry. Since version 1.0 of registy uses python and version 2.0 uses go, 2.0 is more perfect, but in general, 1.0 can do simple push and pull actions.
Select custom
Ways to increase private warehouses in another article
DockerHub private warehouse creation. note
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.