上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 19 下一页
摘要: 1.upstream使用upstream 指定服务器组进行负载均衡 user root; worker_processes 20; error_log logs/error; pid logs/nginx.pid; events { worker_connections 1024; } http { 阅读全文
posted @ 2023-12-10 12:25 潇潇暮鱼鱼 阅读(173) 评论(0) 推荐(0)
摘要: rancher 安装k8s集群不需要开网络,只需要做本地的镜像代理就可以拉,nexus或者harbor的都可以 1.报错本机ip链接本地ip:2379不通 2379为etcd的客户端访问端口,然后测试单纯用docker run 起nginx 也访问不了 原因内核3.10与docker不兼容,升级内核 阅读全文
posted @ 2023-12-08 13:43 潇潇暮鱼鱼 阅读(312) 评论(0) 推荐(0)
摘要: 注意安装内核kernel5.4.261版本会与ssh9.4和9.5版本冲突,导致重启之后ssh链接不了 1.查看现在的内核 uname -r 3.10.0-1160.el7.x86_64 2.下载rpm内核,离线安装 下载页面 https://mirrors.coreix.net/elrepo-ar 阅读全文
posted @ 2023-12-08 10:25 潇潇暮鱼鱼 阅读(1143) 评论(0) 推荐(0)
摘要: 1.查看iptables规则 iptables -nL 2.添加iptables规则 iptables -A INPUT -s 10.0.0.0/8 -d 10.0.0.0/8 -p tcp -m multiport --dports 6379,6643 -j ACCEPT 该命令使用 -A INP 阅读全文
posted @ 2023-12-07 14:13 潇潇暮鱼鱼 阅读(89) 评论(0) 推荐(0)
摘要: 1.先写出镜像名及tag的文件(同一仓库) b.txt atf:17 base:49 dm:46 eit:70 ints:6 mis:19 tda:10 tom:22 tra:23 utility-service:latest vatrep:80 xxljob:latest rpt:latest r 阅读全文
posted @ 2023-12-07 14:04 潇潇暮鱼鱼 阅读(39) 评论(0) 推荐(0)
摘要: 镜像:mysql:8.0.34 apiVersion: apps/v1 kind: Deployment metadata: name: mysql labels: workload.user.cattle.io/workloadselector: apps.deployment-wfs-test- 阅读全文
posted @ 2023-12-01 15:38 潇潇暮鱼鱼 阅读(77) 评论(0) 推荐(0)
摘要: #创建数据库CREATE DATABASE zabbix;#创建用户,xxxx为密码create user zabbix@'%' identified by 'xxxxx';#查看所有用户,查看用户是否创建成功SELECT User, Host FROM mysql.user;#给用户赋权#赋权za 阅读全文
posted @ 2023-11-30 15:26 潇潇暮鱼鱼 阅读(20) 评论(0) 推荐(0)
摘要: kube.pod.status.phase获取不准确,经测试当pod状态为Crashloopbackoff时,数据仍为running(2),所以不能使用Kubernetes_test nodes by HTTP模板中的自动发现Node discovery中的Namesace [{#NAMESPACE 阅读全文
posted @ 2023-11-30 10:53 潇潇暮鱼鱼 阅读(304) 评论(0) 推荐(0)
摘要: vim Dockerfile FROM centos:systemd ADD ruby-3.2.2.tar.gz /data/ WORKDIR /data/ruby-3.2.2 RUN yum update -y \ && yum install -y gcc openssl-devel libya 阅读全文
posted @ 2023-11-29 15:53 潇潇暮鱼鱼 阅读(53) 评论(0) 推荐(0)
摘要: 官网使用rpm进行安装https://www.puppet.com/docs/puppet/8/system_requirements#system_requirements 1.在master和agent上都添加hosts解析,可以不使用host而使用ip,比较方便,不用每个agent都添加hos 阅读全文
posted @ 2023-11-17 09:30 潇潇暮鱼鱼 阅读(243) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 19 下一页