摘要:
openssl req -x509 -sha256 -newkey rsa:4096 -keyout ca.key -out ca.crt -days 3560 -nodes -subj '/CN=www.chuan.com' openssl req -new -newkey rsa:4096 -k 阅读全文
摘要:
root@slave001:~/yaml# cat case1-pod-memory-limit.yml #apiVersion: extensions/v1beta1 apiVersion: apps/v1 kind: Deployment metadata: name: limit-test-d 阅读全文
摘要:
wget https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.4.4/components.yaml 支持k8s 1.8+k8s.gcr.io/metrics-server/metrics-server:v0. 阅读全文
摘要:
root@slave001:~/ingress# cat default-backend.yaml apiVersion: apps/v1 kind: Deployment metadata: name: default-http-backend labels: k8s-app: default-h 阅读全文
摘要:
ETCDCTL_API=3 etcdctl snapshot save /root/etcd.dbETCDCTL_API=3 etcdctl snapshot restore /root/etcd.db --data-dir=/root/etcd mv /root/etcd /var/lib kub 阅读全文
摘要:
Jenkins下载地址 www.jenkins.io cat Dockerfile FROM centos:7.8.2003 RUN yum install -y vim wget tree lrzsz gcc gcc-c++ automake pcre pcre-devel zlib zlib-d 阅读全文
摘要:
php写 nginx读 cat Dockerfile FROM centos:7.8.2003 RUN yum install -y vim wget tree lrzsz gcc gcc-c++ automake pcre pcre-devel zlib zlib-devel openssl op 阅读全文
摘要:
1. mpstat的基本用法mpstat的全称为Multiprocessor Statistics,是一款常用的多核CPU性能分析工具,用来实时查询每个CPU的性能指标,以及所有CPU的平均指标。它是Linux性能工具集sysstat中的一个工具。 mpstat [-P {|ALL}] [inter 阅读全文
摘要:
cp /usr/share/doc/keepalived/samples/keepalived.conf.vrrp /etc/keepalived/ root@ubuntu20:~# cat /etc/keepalived/keepalived.conf ! Configuration File f 阅读全文
摘要:
harbor-offline-installer-v2.3.2.tgz 解压到 /apps/harbor/ root@ubuntu20:/apps/harbor# cat harbor.yml |grep -v "#" |grep -v "^$" hostname: 192.168.192.155 阅读全文