• IT必备工具 超过1,016 views围观 0条评论
    加个 -r参数就行   [root@hk-fat-server-stressing-001 ~]# ab -n 1000 -c 1000 http://file./64632/pet_zw.jpg This is ApacheBench, Version 2.3 <$Revision: 1430300 $> Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Licensed to The Apache Software Foundation, http://www.apache.org/ Benchmarking fi...
    03-05
  • Docker 超过3,536 views围观 0条评论
    http://www.525.life/article?id=1510739742331 视频版:https://ke.qq.com/course/266656 yum install -y epel-release lrzsz wget net-tools ntp 时间来来个同步 ntpdate cn.pool.ntp.org 关闭防火墙: systemctl stop firewalld systemctl disable firewalld 关闭selinux: sed -i ‘s/enforcing/disabled/’ /etc/selinux/config setenforce 0 关闭s...
    03-04
  • Docker 超过14,575 views围观 0条评论
    Kubernetes1.13安装metrics-server及填坑 下载 https://github.com/kubernetes-incubator/metrics-server wget https://codeload.github.com/kubernetes-incubator/metrics-server/zip/master unzip master 进入目录 /opt/k8s/metrics-server/metrics-server-master/deploy/1.8+ 替换镜地址 metrics-server-deployment.yaml: image: k8s.gcr.io/metrics-server-a...
    03-04
  • Docker 超过9,431 views围观 0条评论
    记得以前看过一篇文章(现在找不到了),那篇文章讲到了申请memory的单位M,它认为1M=1024K=1024×1024字节,但在k8s中的M表示的意义是不同的,今天特意看了一下官方文档,并实验了一把,特此记录。 官网解释:Meaning of memory,Mi表示(1Mi=1024×1024),M表示(1M=1000×1000)(其它单位类推, 如Ki/K Gi/G) 创建两个pod, 一个申请1Mi, 另...
    03-04
  • Docker 超过5,346 views围观 0条评论
    -----------拉取被屏蔽的docker image 将 k8s.gcr.io 替换成registry.cn-hangzhou.aliyuncs.com/google_containers/ 即可 [root@k8s-master heapster]# grep gcr.io * grafana.yaml: image: k8s.gcr.io/heapster-grafana-amd64:v5.0.4 heapster.yaml: image: k8s.gcr.io/heapster-amd64:v1.5.4 influxdb.yaml: image: k8s.gcr.io/heapster-influxdb-am...
    03-04
  • Docker 超过5,406 views围观 0条评论
    -----------拉取被屏蔽的docker image 将 k8s.gcr.io 替换成hangzhou.aliyuncs.com/google_containers/ 即可 [root@k8s-master heapster]# grep gcr.io * grafana.yaml: image: k8s.gcr.io/heapster-grafana-amd64:v5.0.4 heapster.yaml: image: k8s.gcr.io/heapster-amd64:v1.5.4 influxdb.yaml: image: k8s.gcr.io/heapster-influxdb-amd64:v1.5.2 [...
    03-04