 k8s操作手册 2.330000-32768 LoadBalancer k8s创建NodePort与Cluster-ip;云服务商云上的负载均衡器 去监测此k8s集群当发现有创建LoadBalancer时,就自动添加 相应的监听器(将用户的请求流量转发到pod所处node结点 上的目标service Port或node port,目标node上的ipvs规则是 直接将此node port/servce port转发到此node上的pod里) ★容器探测其他配置: ★HTTP探测 livenessProbe: #pod存活性探测 h�pGet: #使用h�p path: /xx/cxxx/healthz #请求的文件 port: 80 scheme: HTTP #协议,可为HTTP, HTTPS ★执行shell命令进行探测 名称 ★LimitRange LimitRange资源在每个命名空间中为每个容器/pod指定最小及最大计算资源/内 存使用量限制,任何违反LimitRange定义的资源使用最大用量的请求都将被直接 拒绝 LimitRange对pod和容器的资源限制为cpu和内存使用量 LimitRange对PVC的资源限制为存储空间的使用量 资源限额只对新创建的资源生效,对于已经存在的对象不产生任何限制0 码力 | 126 页 | 4.33 MB | 1 年前3 k8s操作手册 2.330000-32768 LoadBalancer k8s创建NodePort与Cluster-ip;云服务商云上的负载均衡器 去监测此k8s集群当发现有创建LoadBalancer时,就自动添加 相应的监听器(将用户的请求流量转发到pod所处node结点 上的目标service Port或node port,目标node上的ipvs规则是 直接将此node port/servce port转发到此node上的pod里) ★容器探测其他配置: ★HTTP探测 livenessProbe: #pod存活性探测 h�pGet: #使用h�p path: /xx/cxxx/healthz #请求的文件 port: 80 scheme: HTTP #协议,可为HTTP, HTTPS ★执行shell命令进行探测 名称 ★LimitRange LimitRange资源在每个命名空间中为每个容器/pod指定最小及最大计算资源/内 存使用量限制,任何违反LimitRange定义的资源使用最大用量的请求都将被直接 拒绝 LimitRange对pod和容器的资源限制为cpu和内存使用量 LimitRange对PVC的资源限制为存储空间的使用量 资源限额只对新创建的资源生效,对于已经存在的对象不产生任何限制0 码力 | 126 页 | 4.33 MB | 1 年前3
 python3学习手册★requests(HTTPS请求) # pip3 install requests # 在pycharm里,打开工程所在目录,进入venv\Scripts\子目录下 按下Shi�键同时点击鼠标右键,在此处打开PowerShell窗口 cmd> pip3 install requests #使用 import requests response = requests.get("http://sysyear print(response.status_code) # 返回http响应状态码 print(response.headers) # 返回http头部信息,单行字典类型 print(response.text) # 返回正文内容,多行文本 import requests myurl = "http://sysyear.top:4600" myheaders = cond.release() def manager_func(cond, name): cond.acquire() cond.wait() # manager要先运行,等待操作员的请求 print(name + ": 变更方案有问题,先不变更,先改方案") cond.notify() # 发消息给Operator,唤醒一个挂起的线程 cond.wait()0 码力 | 213 页 | 3.53 MB | 1 年前3 python3学习手册★requests(HTTPS请求) # pip3 install requests # 在pycharm里,打开工程所在目录,进入venv\Scripts\子目录下 按下Shi�键同时点击鼠标右键,在此处打开PowerShell窗口 cmd> pip3 install requests #使用 import requests response = requests.get("http://sysyear print(response.status_code) # 返回http响应状态码 print(response.headers) # 返回http头部信息,单行字典类型 print(response.text) # 返回正文内容,多行文本 import requests myurl = "http://sysyear.top:4600" myheaders = cond.release() def manager_func(cond, name): cond.acquire() cond.wait() # manager要先运行,等待操作员的请求 print(name + ": 变更方案有问题,先不变更,先改方案") cond.notify() # 发消息给Operator,唤醒一个挂起的线程 cond.wait()0 码力 | 213 页 | 3.53 MB | 1 年前3
 Velocity Conference 2015about? 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 月前3 Velocity Conference 2015about? 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 月前3
 Pomodoro TechniqueUtica 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 月前3 Pomodoro TechniqueUtica 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 月前3
 The Phoenix ProjectAttributions [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 月前3 The Phoenix ProjectAttributions [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 月前3
共 5 条
- 1














