Rancher Rio operational guidance: three minutes to build minimalist MicroPaaS platform

June 20, Beijing, sponsored by the Rancher Labs Innovation Conference [2019] container enterprises limited free registration is on! 18-day lectures, invited China Life, China Unicom, Ping An Technology, New Oriental, Ali cloud, cloud Baidu and other well-known business person in charge of IT, enterprise-class technology to share vessels landing experience. Congress, Rancher Labs R & D Manager Demo site will be forthcoming Rancher 2.3 in Istio, function and use Windows vessel! There K3s, Rio and other on-site exchange. Click on the link: http: //hdxu.cn/hMsQ8 more information and online registration friends ~


May 21, 2019, the industry's leading container management software provider Rancher Labs (hereinafter referred to as Rancher) released the 2019 blockbuster new Rio, Rio is MicroPaaS a platform that can be used on any standards-compliant Kubernetes cluster by section Kubernetes custom resource and an optional CLI configuration, the user can easily deploy services to Kubernetes, automatically continuous delivery, DNS, HTTPS, routing, monitoring, automatic scaling capacity, canary deployment, git trigger a build functions .

 

"Rio advocated MicroPaaS idea is ahead, perhaps it is not easy to be perceived and understood by everyone in the moment. But as we release more than a year ago k8s cluster management functions, like, Rio minimalism will take you the feed cattle age and wonderful experience "Rancher, general manager of Greater China, Qin Xiaokang share and said:" in addition, Rio can run on any existing k8s provided pod or namespace, it was constructed completely independent of the underlying platform the new architecture, is a landmark product has. "

 

So, Rio is a how kind of product, but also how it's charm? In this article, we will follow the pace of Rancher's chief architect and co-founder Darren Shepherd to see how an existing cluster Kubernetes and Rio CLI, build minimalist world of exclusive Rio.


Download CLI


CLI can be used macOS, Windows and Linux, to install on the local system, run the following command:

curl -sfL https://get.rio.io | sh -


If you do not want to curl through the installation, you can also be installed from Github Rio manual:

https://github.com/rancher/rio/releases


Rio is setting up a cluster


Rio using active Kubernetes cluster, thus setting KUBECONFIG to point to a cluster of Rio to be installed, and make sure you select the correct namespace.

 

(A little reminder - you can also switch to the appropriate cluster operated by kubectl --context xxx.)

 

When you're ready to run rio isntall, Rio will be installed to the active cluster / namespace them.

rio install



Run the sample service


rio run https://github.com/rancher/rio-demo



Check the running status

ps river 
river island




What is MicroPaaS?


Traditional PaaS platform, users' commitment to "a series of desirable features, but from past performance point of view, PaaS platform has been difficult to provide real quality experience for users. PaaS platform is usually heavyweight and difficult to run, in large companies need special programs to deploy them, the need to have a dedicated team to manage it. PaaS platform users often find that there are too many norms and restrictions, which may apply to specific workflow, but this may not be familiar to developers workflow.

 

Rio series of projects (k3s, k3OS) from Rancher These projects are focused on lightweight, simple and flexible project-based Kubernetes of. Rio All functions have been designed, users can directly use the default settings to quickly run and use Rio, of course, can be flexibly configured according to actual needs, replace or disable. If you want to use a feature among the Rio, you can only use this feature and ignores the remaining functions. All this is allowed to occur, Rio is a close connection and Kubernetes ecosystem, and draw a lot of resources of the platform.

 

The controller running in Rio CLI and a cluster of some of the Kubernetes custom resource, an optional component, run Rio in the cluster, and run other applications in the cluster method and experience is no different.


Rio Run


Only a single command, you can run a production-level services:

rio run https://github.com/rancher/rio-demo


First of all, your service will automatically get a valid DNS names. Even if you operate Kubernetes on a laptop, this feature will still work. Once you have a DNS name, Rio will also request the production and distribution for your service Let's Encrypt certificate. All services performed in default HTTPS mode.

 

Rio includes an integrated service grid, so all Rio's services include Prometheus and Grafana, collect the HTTP level indicator by default.

 

By collecting HTTP-level metrics, Rio can be used to automatically adjust your services based on extended concurrent. By default, the number of concurrent set to 10, so if there are 30 concurrent requests in Rio, it will be automatically adjusted to your service 3. Rio can even scale your service is set to 0. This means that before the first request comes in, does not run any pod.

 

If you make a run git Rio location, and it will monitor changes in the deployment of git. People can still provide Docker mirroring run directly, but git provides a simple continuous deployment process. Git Docker mirror position must be constructed from a source. By default, we run on the build Dockerfile. Dockerfile using multi-stage construction method is very flexible. Other templates can be used to build, or to enable features such as buildpacks OpenFaaS templates.

 

Rio grid support provided by the service, you can easily make canary deploy, when to push a new git commit will automatically build new services and deploy new revision revision revised once ready, we can be the weight is transferred from the pre-revision to the new revision, provide automatic flow of new services.

 

All of these features and much more, all available from a simple rio run command.


All open source Welcome


Rio's official website home page is now on-line, you can visit the official website home page for more information on Rio's: https: //rio.io/

 

Meanwhile, Rio welcomed by GitHub download and install using:

https://github.com/rancher/rio/releases

 

Need help with deployment and management of enterprise Rio, please e-mail contact:

[email protected]


About Rancher Labs


Rancher Labs created by the parent CloudStack Leung wins. Rancher's flagship product is an open source, enterprise-class Kubernetes management platform to achieve Kubernetes cluster in hybrid cloud + centralized deployment and management of local data centers. Rancher has been due to the intuitive operation experience, minimalist user has favored, was named the 2018 global container management platform leader in Forrester, Gartner 2018 Worldwide was named coolest cloud infrastructure providers.

 

Currently Rancher has more than one hundred million downloads worldwide, and has included China Life Insurance, Huawei, Ping An of China, Industrial Bank, Minsheng Bank, Ping An Securities, Hainan Airlines and Technology, Xiamen Airlines, SAIC, Haier, Michelin, Toyota, Honda, in China Shipbuilding heavy Industries, Zoomlion, Disney, IBM, Cisco, Nvidia, Pfizer, Siemens, CCTV, China Unicom, and other world-renowned enterprises, including a total of 25,000 business customers.




Guess you like

Origin blog.51cto.com/12462495/2405816