摘要:
kubectl delete ns harbor --force --grace-period=0harbor状态为Terminatingkubectl proxy --port=6880kubectl get ns harbor -ojson >harbor.jsoncurl -k -H "Con 阅读全文
摘要:
rabbitmq 集群:erlang下载:erlang-23.3.4.10-1.el7.x86_64.rpm github下载erlang安装:yum install -y erlang-23.3.4.10-1.el7.x86_64.rpmrabbitmqserver安装:curl -s https 阅读全文
摘要:
python3安装wget https://www.openssl.org/source/openssl-1.1.1n.tar.gz --no-check-certificatetar -zxf openssl-1.1.1n.tar.gzcd ./openssl-1.1.1n./config --p 阅读全文
摘要:
1、node_exporter下载 node_exporter-1.3.1.linux-amd64.tar.gz tar -xzvf node_exporter-1.3.1.linux-amd64.tar.gz -C /usr/local 2、配置文件 cat >/etc/systemd/syste 阅读全文
摘要:
每台master都要部署haproxy,keepalived keepalived 配置文件:! Configuration File for keepalivedglobal_defs { router_id LVS_DEVELscript_user root enable_script_secu 阅读全文
摘要:
1、安装haproxy wget https://www.haproxy.org/download/2.6/src/haproxy-2.6.2.tar.gz make clean make -j 8 TARGET=linux-glibc USE_THREAD=1 make PREFIX=/usr/l 阅读全文
摘要:
#redis acl 修改密码 acl setuser readwrite on >111111111 ~* &* +@allacl setuser readonly on >1111 ~* &* +@all -@write -@admin ~*:all keys &*: allchannel +@ 阅读全文
摘要:
yum install -y keepalived主从都需要check_nginx.shcheck_nginx.sh内容如下:cat >/etc/keepalived/check_nginx.sh<<EOF#!/bin/bashcounter=$(ps -C nginx --no-heading | 阅读全文
摘要:
From openjdk:8u252-jdkENV MEMORY_SIZE {{ MEMORY_SIZE | default (1024) }}MENV PROJECT_NAME {{PROJECT_NAME}}ENV NAME {{NAME}}ENV JAVA_OPTS "-server -Xms 阅读全文
摘要:
apiVersion: apps/v1kind: Deploymentmetadata: labels: com.xx.service: xxxxxxxxxxxxx name: xxxxxxxxxxxxx namespace: prodspec: replicas: 1 selector: matc 阅读全文