The DevOps Handbook4. Repeat for weaker signals c. PROBLEMS THAT ARISE WHEN OUR TELEMETRY DATA HAS NON-GAUSSIAN DISTRIBUTION i. Many operational data sets are non-Gaussian (Bell curve) so standard deviations will likely0 码力 | 8 页 | 24.02 KB | 5 月前3
k8s操作手册 2.3--service-cidr=10.7.0.0/16 \ # service网段,即cluster ip网段 --ignore-preflight-errors=Swap \ #忽略swap未关闭而导致的检查错误 --image-repository="cof- lee.com:5443/k8s" #指定为集群内部的docker镜像源 如果指定使用集群内部的docker镜像仓库,要提前在docker的daemon com:5443/k8s/etcd:3.4.13-0 #可见镜像名已由默认的k8s.gcr.io/换成了配置文件里指定的docker镜像源 # kubeadm config images pull --image-repository="cof-lee.com:5443/k8s" #提前 下载需要的镜像 # kubeadm init --config /etc/kubeadm-init.yaml /etc/containerd/config.toml #修改以下2行配置 SystemdCgroup = true sandbox_image = "cof-lee.com:5443/k8s/pause:3.9" #和k8s需要的pause镜 像版本保持一致 #如果要启用CRI-Plugin,注释掉其中的0 码力 | 126 页 | 4.33 MB | 1 年前3
python3学习手册test_pyautogui_cv2(): img = pyautogui.screenshot() open_cv_image = numpy.array(img) # Convert RGB to BGR,opencv read image as BGR,but Pillow is RGB # OpenCV读取的图片顺序是BGR,而Pillow是RGB,PyAutoGui用的 是Pillow,所以需要把RGB转换为BGR,不然OpenCV中的颜色会发蓝 open_cv_image = cv2.cvtColor(open_cv_image, cv2.COLOR_RGB2BGR) cv2.imwrite('D:\\tmp\\test-pyautogui-cv2.png', open_cv_image) if __name__ == '__main__': test_pyautogui_cv2() test_pyautogui_cv2() ★PIL模块(pillow图像处理) PIL是指“Python Imaging Library”,PIL通过Image类来表示一个图像对 象,可以对该对象进行各种操作,如调整图像大小、裁剪、旋转、滤 镜、格式转换等。在将PIL图像对象保存为其他格式时,需要使用 save()方法,并将文件名参数设置为要保存的文件名及格式后缀。基本 上能将图片转换成任何一种常0 码力 | 213 页 | 3.53 MB | 1 年前3
Velocity Conference 2015net/docluv/putting-performance-best-practices-together-for-a-spa "We have created the web in our own image, and it is obese" Modern web hourglass, web tier is now thin, smarts moved to browser Metrics0 码力 | 4 页 | 176.79 KB | 5 月前3
DoD CIO Enterprise DevSecOps Reference Design - SummaryDevSecOps LifecycleDevSecOps Pillars DevSecOps EcosystemDevSecOps Software Factory DevSecOps MVP Image from https://github.com/jondavid-black/DevOpsForDefense/raw/master/Meetup/2019/2019-10%20DO4D%20-0 码力 | 8 页 | 3.38 MB | 5 月前3
共 5 条
- 1













