设为首页 收藏本站
查看: 661|回复: 0

[软件发布] Tsuru 0.12.0 发布,开源 PaaS 平台

[复制链接]

尚未签到

发表于 2015-9-15 12:11:18 | 显示全部楼层 |阅读模式
欢迎加入运维网交流群:263444886   DSC0000.jpg
DSC0001.png   Tsuru 0.12.0 发布,该版本更新内容包括增加新的特性,bug 修复,总体改进和向后兼容更新,具体内容如下:
主要新特性

  • Lean containers: this is definitely the big feature of this release. With
    lean containers, we’ve dropped Circus, making application images
    smaller, and containers faster. Improving resource usage.
      Application containers won’t run tsuru-unit-agent anymore either. It’s still
    used during the deployment process, but it’s not competing with the
    application process anymore.
      Instead of having one agent inside each unit, Docker nodes will now have
    one agent collecting information about containers running in the node.
    This agent is named bs. The default behavior of tsuru is to create the bs
    container before running operation in the node. It should work
    out-of-the-box after the update, but you can tune bs configuration, customizing the Docker image for running it or configuring
    it to use Unix socket instead of TCP for Docker API communication (which
    is safer).
      tsuru will create and manage at least one container per Procfile entry. Users
    are now able to manage the amount of units for each process.
      Latest tsuru-admin release includes commands for managing bs
    configuration.
      See issues #647 and #1136 for more details.
  • There are now three kinds of pools: by team, public and default.
    Team’s pool are segregated by teams, and cloud administrator should set
    teams in this pool manually. This pool are just accessible by team’s
    members.
      Public pools are accessible by any user. It can be used to segregate
    machines that have specific hardware.
      Default pool are for experimentation and low profile apps, like service
    dashboard and “in development” apps. This is the old fallback pool, but with
    an explicit flag.
  • New router available: vulcand (thanks Dan Carley).
    Vulcand is a powerful reverse proxy, with SNI based TLS support. This is the
    first step on being able to configure TLS on applications (see issue #1206).
      It’s now possible to choose between Hipache, Galeb (which is still partially
    open source) and Vulcand.
  • Users are now able to change the plan of an application. tsuru will handle
    changes in the router and in other plan-defined application resources (i.e.
    memory, swap and CPU shares)  #1181
  • Introduce a custom port allocator on tsuru. This allocator replaces the
    default port allocation provided by Docker, offering a way of persisting the
    port of a container after restarts.
      The motivation behind this feature is making sure the host port mapped
    to one container never changes, even after restarting docker daemon or
    rebooting the host. This way, we can always be sure that routers are
    pointing to a valid address.
      The default behavior is to stick to the Docker allocator, please refer to theport-allocator configuration documentation for
    instructions on how to choose the tsuru allocator.
      This is related to issue #1072.
Bug 修复

  •   Properly handle suffixes when adding a CNAME to an application (thanks
    Leandro Souza). #1215
  •   Improve safety in app-restart and other containers related operations. #1188
  •   Admin users can now delete any teams. #1232
  •   Prevent service instances orphaning by not allowing a team that is the owner
    of a service instance to be removed. #1236
  •   Properly handle key overriding on key management functions. Previously, when
    a user added a new key reusing a name, tsuru created the new key with the
    given name and body, letting the old body as an orphan key, making it
    impossible to remove the old key or associate it to another user. #1249
  •   Unbind is now atomic, meaning that it’s safer to service administrators to
    trust on tsuru service operations being all-or-nothing. #1253
  •   Fix error message on app-create when pool doesn’t exist. #1257
其它改进

  • Now tsuru doesn’t try to start stopped/errored containers when containers
    move. #1186
  • app-shell now uses WebSocket for communication between the tsuru client and
    the API. This allows app-shell to be used behind proxies that support
    WebSocket (e.g. nginx). For more details, see #1162.
  • tsuru will always use the segregate scheduler, the round robin scheduler has
    been disabled. In order to get a similar behavior, cloud admins can create a
    single pool and set it as the default pool, so users don’t need to choose the
    pool on app-create.
  • tsuru is now compatible with Docker 1.8.x. There was a small change in the
    Docker API, changing the way of handling mount points, which affected shared
    file systems.
  • Node auto-scaling now support multi-step scaling, meaning that when scaling
    up or down, it might add or remove multiple nodes at once. This reduces lock
    content on applications and the amount of containers rebalance runnings.
  • Support for Docker Registry API v2 (also known as Docker Distribution).
  • Application logs are now collected via WebSocket as well. Each Docker node
    connects to the tsuru API once, and then streams logs from all containers in
    the node.
  • Change application tokens so they never expire.
  • The EC2 IaaS now supports tagging. #1094
  • Add configuration options for timeouts in the Redis pubsub connection (use
    for real time logging, a.k.a. tsuru app-log -f).
  • Add a heartbeat for keeping connections open during platform-add and
    platform-update (thanks Richard Knop).
  • Improve error reporting in the user API (thanks Dan Hilton).
  • Change the behavior of unit-remove and app-remove handlers so they don’t run
    in background.
  • Enforce memory limits on Docker nodes when auto-scale is disabled. Now,
    whenever node auto-scaling is disabled, tsuru will enforce the max memory
    policy because this will trigger an error and someone will have to manually
    add a new node to allow new units to be created. #1251
  • docker-node-remove command now rebalance all containers in removed host.
    You also have a flag, --no-rebalance, to not rebalance thes containers. #1246
  • Add --disable flag in docker-node-update command. This flag tag your node
    as disabled in cluster. #1246
  • General improvements in the documentation:

    •   add documentation about the /healthcheck/ endpoint (thanks Dan Carley)
    •   improvements to router documentation pages (thanks Dan Carley)
    •   fix code snippets in the services documentation page (thanks Leandro
      Souza)
    •   typo and broken link fixes and structural improvements across all the
      documentation (thanks Dan Hilton).

向后兼容改进 (action needed)

  •   As tsuru now creates containers per processes, whenever an application has
    more than one process, tsuru will forward requests to the process named
    “web”. So, in a Procfile like the one below, “api” should be replaced with
    “web”:
api: ./start-api
worker1: ./start-worker1
worker2: ./start-worker2

  •   You should change your fallback pool to default pool and to do that you
    can run a tsuru-admin pool-update pool_name --default=true
  •   tsr has been renamed to tsurud. Please update any procedures and
    workflows (including upstart and other init scripts).
  发行日志请点:releases
  下载页面:0.12.0

  Tsuru 是一个开放源码的 open Platform-as-a-Service (PaaS)平台。
  Tsuru 可以让你构建自己的 PaaS 服务。Tsuru 采用 go 语言写成,依赖 go 环境和 libxml。
  在 Tsuru 的 PaaS 服务下,你可以选择自己的编程语言,选择使用 SQL 或者 NoSQL 数据库,memcache、redis、等等许多服务,甚至与你可以使用 Git 版本控制工具来上传你应用。

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.iyunv.com/thread-113946-1-1.html 上篇帖子: Crate 0.50.4 发布,大规模数据存储系统 下篇帖子: Flarum v0.1.0 beta 发布,优雅简洁的轻论坛程序
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表