fleet 正在参加 2020 年度 OSC 中国开源项目评选,请投票支持!
fleet 在 2020 年度 OSC 中国开源项目评选 中已获得 {{ projectVoteCount }} 票,请投票支持!
投票让它出道
已投票
fleet 获得 2020 年度 OSC 中国开源项目评选「最佳人气项目」 !
fleet 获得 2020 年度 OSC 中国开源项目评选「最佳人气项目」「最积极运营项目」 !
fleet 获得 2020 年度 OSC 中国开源项目评选「最积极运营项目」 !

软件简介

fleet 绑定了 systemdetcd 到一个分布式 init 系统,可以认为是 systemd 的扩展,但是并不是机器级别的,而是集群级别的。

此项目现在是个预览版本,如要使用请看安全提示

特性

fleet 允许你定义灵活的架构来运行你的服务:

  • 可以在集群的任意地方部署单个容器

  • 支持部署多个同样容器的副本

  • 确保同一个机器上容器都是部署在一起的

  • 禁止指定 co-habitation 的服务

  • 服务的 Maintain N 容器不能重新部署

  • 匹配指定的元数据在机器上部署容器

示例

在集群中列出 Machines 列表

$ fleetctl list-machines
MACHINE                                 IP          METADATA
148a18ff-6e95-4cd8-92da-c9de9bb90d5a    19.4.0.112  region=us-west
491586a6-508f-4583-a71d-bfc4d146e996    19.4.0.113  region=us-east

Submit & Start Units

$ ls examples/
hello.service   ping.service    pong.service
$ fleetctl submit examples/*
$ fleetctl start hello.service

List Units

$ fleetctl list-units
UNIT            LOAD    ACTIVE  SUB     DESC    MACHINE
hello.service   loaded  active  running -       148a18ff-6e95-4cd8-92da-c9de9bb90d5a
ping.service    -       -       -       -       -
pong.service    -       -       -       -       -

 

展开阅读全文

代码

的 Gitee 指数为
超过 的项目

评论 (0)

加载中
更多评论
发表了资讯
2014/10/05 00:00

fleet 0.8.3 发布,分布式 init 系统

fleet 0.8.3 发布,此版本现已提供下载,是个 bug 修复版本,更新内容如下: #933: prevent panic when attempting to steal engine lease #937: lengthen lease on stolen lease to prevent racy handoff fleet 绑定了 systemd 和 etcd 到一个分布式 init 系统,可以认为是 systemd 的扩展,但是并不是机器级别的,而是集群级别的。 此项目现在是个预览版本,如要使用请看安全提示。 特性 fleet 允许你定义灵活的架构来运行你的...

1
11
没有更多内容
加载失败,请刷新页面
点击加载更多
加载中
下一页
发表了博客
2018/09/18 15:03

853. Car Fleet

思路 把车按离终点的距离从远到近排列。 车队的到达时间取决于排在最前面的那辆车。 从远到近遍历车辆,如果上一辆车到达终点的时间比这一辆车快,就合并把上一辆车合并到当前车队里。然后把当前车队放入栈。 最后,栈里面的元素数量就是车队数量。 代码 class Solution { public: int carFleet(int target, vector<int>& position, vector<int>& speed) { int n = position.size(); vector< pair<int, in...

0
0
2020/12/21 18:15

aa-fleet-Fleet plugin for Alliance Auth-Crashtec Features Installation Updating Permissions

aa-fleet-Fleet plugin for Alliance Auth-Crashtec 发布:2020-12-21 18:15:25.642223 作者:Crashtec 作者邮箱:huideaki@gmail.com 首页:https://github.com/Dreadbomb/aa-fleet 文档:None 下载链接 Fleet plugin app for Alliance Auth This is an fleet plugin app for Alliance Auth (AA). Features Alliance Fleet offers the following main features: Create a fleet advert on auth Restrict fleet advert to some AuthG...

0
0
发表了博客
2019/03/15 23:15

[LeetCode] 853. Car Fleet 车队

<br> `N` cars are going to the same destination along a one lane road. The destination is `target` miles away. Each car i has a constant speed speed[i] (in miles per hour), and initial position position[i] miles towards the target along the road. A car can never pass another car ahead of it, but it can catch up to it, and drive bumper to bumper at the same speed. The distance between these two ...

0
0
发表了博客
2020/03/19 20:23

How to Visualize and Monitor Your AWS Container Fleet with Datadog

https://amazonaws-china.com/blogs/apn/how-to-visualize-and-monitor-your-aws-container-fleet-with-datadog/ By Will To, Technical Writer at Datadog Whether it’s an online retailer on Black Friday or game studio preparing for a big release, containers allow organizations to rapidly (and automatically) scale their systems in response to fluctuating demand. By packaging and deploying microservices ...

0
0
发表了博客
2020/03/19 20:02

How to Visualize and Monitor Your AWS Container Fleet with Datadog

https://amazonaws-china.com/blogs/apn/how-to-visualize-and-monitor-your-aws-container-fleet-with-datadog/ By Will To, Technical Writer at Datadog Whether it’s an online retailer on Black Friday or game studio preparing for a big release, containers allow organizations to rapidly (and automatically) scale their systems in response to fluctuating demand. By packaging and deploying microservices ...

0
0
发表于数据库专区
2020/07/09 12:53

Oracle 18c新特性:多租户舰队 CDB Fleet

Oracle 18c新特性:多租户舰队 CDB Fleet 在 Oracle 18c 中,多租户的一个新特性 CDB Fleet 被引入进来,我们可以把这个特性称为:多租户舰队。(关注本公众号: Oranews 回复 2018OOW 可以在 “CDB Fleet” 目录找到这个 118 页的 PPT)我们知道,在 Oracle 12.2 中,每个多租户可以最多支持 4096 个 PDB,这是从12 在 Oracle 18c 中,多租户的一个新特性 CDB Fleet 被引入进来,我们可以把这个特性称为: 多租户舰队 。 我们知...

0
0
发表了博客
2020/03/19 20:08

US DOI halts operations for its entire drone fleet over Chinese cybersecurity concerns

http://www.zdnet.com/article/us-doi-halts-operations-for-its-entire-drone-fleet-over-cybersecurity-concerns/ The US Department of the Interior (DOI) has halted the operations of its entire drone fleet except in emergency situations as the department wants to review whether the drones manufactured by "designated foreign-owned companies" are a threat to national security. In an order [PDF] signed...

0
0
发表了博客
2020/08/01 17:08

HDU 6138 Fleet of the Eternal Throne 后缀数组+字典树

Fleet of the Eternal Throne Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submission(s): 461 Accepted Submission(s): 141 Problem Description > The Eternal Fleet was built many centuries ago before the time of Valkorion by an unknown race on the planet of Iokath. The fate of the Fleet's builders is unknown but their legacy would live on. Its first known a...

0
0
发表了博客
2020/03/19 20:29

US DOI halts operations for its entire drone fleet over Chinese cybersecurity concerns

http://www.zdnet.com/article/us-doi-halts-operations-for-its-entire-drone-fleet-over-cybersecurity-concerns/ The US Department of the Interior (DOI) has halted the operations of its entire drone fleet except in emergency situations as the department wants to review whether the drones manufactured by "designated foreign-owned companies" are a threat to national security. In an order [PDF] signed...

0
0
01/14 12:50

Rancher首席架构师解读Fleet:它何以管理百万集群?

> 作者简介 > >Darren Shepherd,Rancher Labs联合创始人及首席架构师。在加入Rancher之前,Darren是Citrix的高级首席工程师,他在那里从事CloudStack、OpenStack、Docker的工作,并构建下一代基础设施编排技术。在加入Citrix之前,Darren曾在GoDaddy工作,他设计并领导一个团队实施公有和私有IaaS云。 本文转自[Rancher Labs](https://mp.weixin.qq.com/s/XFDmkovJnvV6yIZ7Z532Vg) 2020年年初,Rancher开源了海量集群管理项目F...

0
0
没有更多内容
加载失败,请刷新页面
点击加载更多
加载中
下一页
暂无内容
0 评论
23 收藏
分享
OSCHINA
登录后可查看更多优质内容
返回顶部
顶部