会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
10
下一页
2021年12月23日
Nexus上传制品
摘要: 1.上传jar包报错,认证错误 2.配置认证 # setting.xml增加配置 ···· 134 <server> 135 <id>mymaven</id> 136 <username>admin</username> 137 <password>admin123</password> 138 <
阅读全文
posted @ 2021-12-23 17:43 等等马上就好
阅读(84)
评论(0)
推荐(1)
2021年12月22日
npm构建,pipeline中不识别npm命令
摘要: 1.构建失败报错 2.原配置文件 ··· stage("Build"){ steps { script { sh """ npm install npm run build """ } } } ··· 3.修改后配置文件 env.userEmail="xxx@qq.com" pipeline { a
阅读全文
posted @ 2021-12-22 17:01 等等马上就好
阅读(317)
评论(0)
推荐(0)
jenkins pipline
摘要: 1.jenkins-version 2.Jenkins需要配置邮件通知,安装插件Email Extension安装后重启Jenkins。 3.然后进入系统管理-> 系统设置 , 先配置下全局的admin的邮箱地址。(最后配置下不然可能会出错的) 4.Extended E-email Notifica
阅读全文
posted @ 2021-12-22 13:29 等等马上就好
阅读(45)
评论(0)
推荐(0)
2021年12月21日
mvn打包报错
摘要: 1.报错 2.查看pom文件 3.查看本地java版本 4.解决 由于java版本不一致导致,把demo的jdk版本换成跟本地一样的就可以了
阅读全文
posted @ 2021-12-21 18:19 等等马上就好
阅读(89)
评论(0)
推荐(0)
2021年12月9日
打印gc日志
摘要: https://blog.csdn.net/liao0801_123/article/details/83022647?utm_medium=distribute.pc_aggpage_search_result.none-task-blog-2~aggregatepage~first_rank_e
阅读全文
posted @ 2021-12-09 16:10 等等马上就好
阅读(40)
评论(0)
推荐(0)
java dump内存
摘要: https://www.cnblogs.com/longzhaoyu/p/3374472.html
阅读全文
posted @ 2021-12-09 13:52 等等马上就好
阅读(54)
评论(0)
推荐(0)
2021年12月2日
记一次JAVA进程导致Kubernetes节点CPU飙高的排查与解决
摘要: 一、发现问题 在一次系统上线后,我们发现某几个节点在长时间运行后会出现CPU持续飙升的问题,导致的结果就是Kubernetes集群的这个节点会把所在的Pod进行驱逐(调度);如果调度到同样问题的节点上,也会出现Pod一直起不来的问题。我们尝试了杀死Pod后手动调度的办法(label),当然也可以排除
阅读全文
posted @ 2021-12-02 09:48 等等马上就好
阅读(419)
评论(0)
推荐(0)
2021年11月26日
java应用内存占用排查
摘要: 1.查看进程pid root@crm-prod-68ff6f4b6-79wdq:/# top top - 15:28:48 up 170 days, 4:38, 0 users, load average: 1.60, 1.15, 1.60 Tasks: 3 total, 1 running, 2
阅读全文
posted @ 2021-11-26 16:21 等等马上就好
阅读(653)
评论(0)
推荐(0)
2021年11月25日
kubeadm部署集群开启scheduler调度日志
摘要: [root@k8s-matser01 manifests]# cat /etc/kubernetes/manifests/kube-scheduler.yaml apiVersion: v1 kind: Pod metadata: creationTimestamp: null labels: co
阅读全文
posted @ 2021-11-25 14:30 等等马上就好
阅读(384)
评论(0)
推荐(0)
2021年11月23日
node节点执行kubectl
摘要: 1.给dev节点查看权限 1. 下载cfssl wget https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 wget https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 wget https://pkg.cfssl
阅读全文
posted @ 2021-11-23 14:35 等等马上就好
阅读(223)
评论(0)
推荐(0)
2021年11月17日
prometheus 监控jvm
摘要: 1.下载jar包 [root@k8s-matser01 jmx]# wget https://repo1.maven.org/maven2/io/prometheus/jmx/jmx_prometheus_javaagent/0.13.0/jmx_prometheus_javaagent-0.13.
阅读全文
posted @ 2021-11-17 18:39 等等马上就好
阅读(664)
评论(0)
推荐(0)
2021年11月15日
多个pod共享一个volume
摘要: 1.yaml文件 [root@k8s-matser01 nfs.rbac]# cat nginx.yaml apiVersion: v1 kind: Service metadata: name: nginx labels: app: nginx spec: ports: - port: 80 na
阅读全文
posted @ 2021-11-15 13:35 等等马上就好
阅读(741)
评论(0)
推荐(0)
2021年11月9日
监控ssl证书到期时间
摘要: [root@iZbp1a16m3y5y71tdh7isyZ config]# cat prometheus.yml ···· - job_name: 'blackbox_http_2xx' scrape_interval: 30s metrics_path: /probe params: modul
阅读全文
posted @ 2021-11-09 16:28 等等马上就好
阅读(169)
评论(0)
推荐(1)
2021年10月18日
k8s 单节点跑kafka
摘要: [root@master-01 kafka]# cat kafka.yaml apiVersion: v1 kind: Service metadata: name: kafka-svc namespace: uat labels: app: kafka spec: ports: - port: 9
阅读全文
posted @ 2021-10-18 10:07 等等马上就好
阅读(524)
评论(0)
推荐(0)
2021年10月14日
K8S单节点跑zk集群
摘要: 1.编辑yaml apiVersion: v1 kind: Service metadata: name: zk-hs namespace: uat labels: app: zk spec: ports: - port: 2888 name: server - port: 3888 name: l
阅读全文
posted @ 2021-10-14 17:53 等等马上就好
阅读(165)
评论(0)
推荐(0)
K8S跑单点zk
摘要: 1.编写yaml apiVersion: v1 kind: Service metadata: name: zk-hs namespace: uat labels: app: zk spec: ports: - port: 2888 name: server - port: 3888 name: l
阅读全文
posted @ 2021-10-14 14:43 等等马上就好
阅读(112)
评论(0)
推荐(0)
2021年10月12日
K8S单机版nacos
摘要: 1.创建命名空间 [root@k8s-matser01 ~]# kubectl create ns nacos 2.编辑mysql的yaml文件 [root@k8s-matser01 ~]# cat mysql.yaml apiVersion: v1 kind: ReplicationControl
阅读全文
posted @ 2021-10-12 16:52 等等马上就好
阅读(666)
评论(0)
推荐(0)
查看指定时间的的日志
摘要: sed -n '/2021-10-02 09:01:00/,/2021-10-02 11:01:00/p' xxxx.log
阅读全文
posted @ 2021-10-12 14:24 等等马上就好
阅读(28)
评论(0)
推荐(0)
2021年10月11日
查看操作记录小技巧
摘要: 1.编辑/etc/bashrc if unset PROMPT_COMMAND > /dev/null 2>&1 then declare -r REAL_USER=$(who am i|awk '{print $1}') declare -r LOGINTIME=$(date "+%s") dec
阅读全文
posted @ 2021-10-11 13:28 等等马上就好
阅读(147)
评论(0)
推荐(0)
2021年9月15日
邮箱邮件
摘要: # yum -y install mailx vim /etc/mail.rc # 新增 set from= #邮箱 set smtp=smtps://smtp.mxhichina.com:465 # 阿里企业邮箱smtp set smtp-auth-user=.cn # 邮箱 set smtp-a
阅读全文
posted @ 2021-09-15 14:01 等等马上就好
阅读(69)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
10
下一页
公告