k8s操作手册 2.3
★kube-proxy的代理规则模式有: 代理模式 k8s版本要求 User Space proxy mode v1.0 + iptables proxy mode v1.1 + ipvs proxy mode v1.8 + 需要在所有k8s服务器上加载ipvs内核 模块 效率:ipvs > iptables > UserSpace iptables模式默认只有round ★容器探测其他配置: ★HTTP探测 livenessProbe: #pod存活性探测 h�pGet: #使用h�p path: /xx/cxxx/healthz #请求的文件 port: 80 scheme: HTTP #协议,可为HTTP, HTTPS ★执行shell命令进行探测 Prometheus是一款基于时序数据库的开源监控告警系统,Prometheus的基本原 理是通过HTTP协议周期性抓取被监控组件的状态,任意组件只要提供对应的 HTTP接口就可以接入监控。不需要任何SDK或者其他的集成过程。这样做非常 适合做虚拟化环境监控系统,比如VM、Docker、Kubernetes等。输出被监控组 件信息的HTTP接口被叫做exporter Promethus特点: 支持多维数据0 码力 | 126 页 | 4.33 MB | 1 年前3Velocity Conference 2015
about? What did I learn? Service Workers: The Practical Bits by Patrick Meenan (Google) @patmeenan http://www.slideshare.net/patrickmeenan/service-workers-for-performance They are effectively a man in Performance Best Practices Together to Create the Perfect SPA by Chris Love (Love2Dev) @ChrisLove http://www.slideshare.net/docluv/putting-performance-best-practices-together-for-a-spa "We have created (but where the heck do you start?) by Tammy Everts & Cliff Crocker (SOASTA) @tameverts @cliffcrocker http://www.slideshare.net/CloudTest/metrics-metrics-everywhere-but-where-the-heck-do-you-start The myth0 码力 | 4 页 | 176.79 KB | 5 月前3Pomodoro Technique
Utica Coll. of Syracuse Univ. Lib., N.Y . Attributions and References [1] The Pomodoro Technique, http://pomodorotechnique.com/ [2] Personal Productivity Using The Pomodoro Technique, Daniel Hinojosa w/ present#slide=id.i0 [3] Flow: The Psychology of Optimal Experience, Mihaly Csikszentmihalyi, http://www.amazon.com/Flow-Psychology-Experience-Mihaly-Csikszentmihalyi/dp/0061339202/Walkthrough To0 码力 | 3 页 | 289.16 KB | 5 月前3The Phoenix Project
Attributions [1] Amazon, http://www.amazon.com/Phoenix-Project-DevOps-Helping-Business/dp/0988262509/[2] The Three Ways: The Principles Underpinning DevOps, Gene Kim, http://itrevolution.com/the-three-ways-0 码力 | 3 页 | 154.45 KB | 5 月前3python3学习手册
response = requests.get("http://sysyear.top:4600") print(type(response.text)) # 类型为str response.encoding = "utf-8" # 指定返回数据的文本编码 print(response.status_code) # 返回http响应状态码 print(response print(response.headers) # 返回http头部信息,单行字典类型 print(response.text) # 返回正文内容,多行文本 import requests myurl = "http://sysyear.top:4600" myheaders = { "Accept": "application/json", "Content-Type":0 码力 | 213 页 | 3.53 MB | 1 年前3
共 5 条
- 1