Rancher 1.5 full release!
Rancher 1.5 full release! This article will introduce you to several significant changes in the new version. Rancher 1.5 has new features such as template templates for template templates, API interceptors, more web policies and more webhook drivers. Let's see us now.
Catalog template template support
Rancher can now use conditional logic through the Go template system. By combining conditional logic with variable interpolation, you can more flexibly generate more dynamic catalog templates.
Note: Currently only the evaluation string comparison is supported.
Rancher now supports blocking all API requests, and you can add pre / post filter logic to each request. This allows administrators to more easily control API access, or add fine-grained API policy management to modify API requests and response payloads from Rancher.
More network strategy
Rancher now supports two additional network policies per environment. Environment settings update network policy has been added to the UI support.
- Allow / reject in the service: Allowed by default, but if configured to be rejected, all containers will not be able to communicate with the container outside the service.
- Provide link support: Configure a service or stack that is denied You can now get traffic by using the docker link or selector tag.
More webhook drivers
Rancher has now added two webhook drivers:
- Host Scaling: The user can create a Webhook that can scale the host. This only applies to hosts created from the Rancher API.
- DockerHub Service Upgrade: The webhook is designed to configure the Dockerhub image update and provide an update service when Rancher uses the image.
Limit container scheduling to a specific host
Rancher now has the function of marking the host, the service container can only be placed on a host with a specific label.
Metadata Service Phase 1 Improvements
Add a cache for metadata information to reduce database jitter and reduce the size of the metadata passed to each MD service. Because many services rely on metadata, you should be able to see the overall improvement of Rancher. You can also see improvements when you start a large number of containers or add new containers after many containers are already running.
Swarm uses Portainer.io as the default UI
Swarm's default environment template uses Portainer.io as the Swarm UI.
In this release, we will automatically upgrade the Web services infrastructure services. Because if you do not upgrade, this version does not work properly. If your environment does not have a host, then when you add the host, the automatic upgrade will be delayed. So before adding the host or add the host, be sure to immediately upgrade the network service stack.
You can update the settings through the upgrade management, so that your Rancher server upgrade, your infrastructure stack can always be upgraded to the latest version. You can set the update under Admin -> Settings -> Advanced Settings, set to upgrade.manager. By default, this is closed.
We invite you to download the latest version, and please feel free to let us know your thoughts. Our products are based on the needs of users and progress.
Source: Rancher Labs