• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






会飞の鱼

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 41 下一页

2017年7月24日

python 形参
摘要: def fun(x="dx",y="dy"): print "fun " print x print yfun()fun("aa","bb")fun(x="ha",y="la")ct = dict(x="haha",y="lala")fun(**ct) fun dxdyfun aabbfun hal 阅读全文
posted @ 2017-07-24 11:10 会飞の鱼 阅读(128) 评论(0) 推荐(0)
 
python mysql connector
摘要: install pip install mysql-connector-python-rf 报错 从https://dev.mysql.com/downloads/connector/python/ 下载 [root@mhc 下载]# rpm -ivh mysql-connector-python- 阅读全文
posted @ 2017-07-24 11:09 会飞の鱼 阅读(321) 评论(0) 推荐(0)
 
python json5
摘要: install pip install json5 test a.json: 阅读全文
posted @ 2017-07-24 10:25 会飞の鱼 阅读(1205) 评论(0) 推荐(0)
 
Containerpilot 配置文件reload
摘要: containerpilot -reload -config ./containerpilot.json 进程号不变,重新加载配置文件 阅读全文
posted @ 2017-07-24 10:15 会飞の鱼 阅读(157) 评论(0) 推荐(0)
 
Containerpilot 配置文件模板
摘要: { "consul": "{{ .CONSUL }}:8500", "logging": { "level": "INFO", "format": "default", "output": "stdout" }, "jobs": [ { "name": '{{ .SERVICE_NAME|defau 阅读全文
posted @ 2017-07-24 10:02 会飞の鱼 阅读(189) 评论(0) 推荐(0)
 

2017年7月21日

mysql 备份
摘要: qwe 阅读全文
posted @ 2017-07-21 17:32 会飞の鱼 阅读(101) 评论(0) 推荐(0)
 
Manta
摘要: 安装python客户端: pip install manta 阅读全文
posted @ 2017-07-21 17:30 会飞の鱼 阅读(541) 评论(0) 推荐(0)
 

2017年7月19日

Containerpilot 配置文件 之 Telemetry
摘要: 如果提供telemetry选项,ContainerPilot将公开可用于刮擦性能telemetry的Prometheus HTTP客户端界面。 telemetry接口被公告为consul服务。 telemetry服务的每个metric为Prometheus客户端库配置收集器。 然后,Promethe 阅读全文
posted @ 2017-07-19 17:19 会飞の鱼 阅读(857) 评论(0) 推荐(0)
 
Containerpilot 配置文件 之 Watches
摘要: watch是在consul进行监视的服务配置。 watch轮询服务的状态,并在服务变得健康,变得不健康或者实例数量发生变化时发出事件。 请注意,watch不包括行为; watch只发出事件,以便job可以消耗该事件。 watch配置仅包括以下字段: 每当发生变化时, changed事件。 每当观看的 阅读全文
posted @ 2017-07-19 17:06 会飞の鱼 阅读(161) 评论(0) 推荐(0)
 
Containerpilot 配置文件示例
摘要: { consul: "localhost:8500", logging: { level: "INFO", format: "default", output: "stdout" }, jobs: [ { name: "app", exec: "/bin/app", restarts: "unlim 阅读全文
posted @ 2017-07-19 16:37 会飞の鱼 阅读(397) 评论(0) 推荐(0)
 
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 41 下一页