- 博客(7)
- 收藏
- 关注
原创 tomcat和undertow增加端口监听
tomcat和undertow增加端口监听(springboot环境下) 下面是undertow: import org.springframework.beans.factory.annotation.Value; import org.springframework.boot.web.embedded.undertow.UndertowServletWebServerFactory; import org.springframework.context.annotation.Bean; import
2021-11-02 14:22:21
476
原创 解决touch: cannot touch ‘/var/jenkins_home/copy_reference_file.log’: Permission denied
运行: docker run -d -e TZ="Asia/Shanghai" -p 28080:8080 -p 50000:50000 --name jenkins -it --privileged=true -v /var/jenkins_home:/var/jenkins_home jenkins/jenkins 显示报错: touch: cannot touch '/var/jenkins_home/copy_reference_file.log': Permission denied C
2021-05-17 09:57:53
3765
6
原创 同一个实例注册到两个eureka上面
同一个实例注册到两个eureka上面 你使用了两个Eureka互相注册,如果你对Eureka的底层了解一些的话,你会发现其实它和Zookeeper是很像的东西,都是用来做服务注册的,而你注册了两个Eureka,让他们互相注册,实际上这就起到了一种备份容灾的效果,他们之间通过一个叫做Bus的消息总线来传播信息,当你向一个Eureka上注册服务后,他们之间的数据就会互通,这就是为什么你会在另外一个Eureka上看到你的那个服务的原因。 ...
2021-04-20 10:09:41
1766
原创 k8s怎么暴力删除命名空间
k8s怎么暴力删除命名空间: 原文地址:https://www.openshift.com/blog/the-hidden-dangers-of-terminating-namespaces 操作命令: kubectl get namespace (获取处于Terminating状态的命名空间的name 例如:ingress-nginx) kubectl get namespace ingress-nginx > tmp.json(注意:ingress-nginx是命名空间的名字,取自己的命名空间
2021-01-27 21:24:54
540
原创 Invocation of init method failed; nested exception is org.springframework.dao.InvalidDataAccessApiUs
错误:Invocation of init method failed; nested exception is org.springframework.dao.InvalidDataAccessApiUsageException: ERR You are not authorized to run this command; nested exception is redis.clients.jedis.exceptions.JedisDataException: ERR You are not auth
2020-12-16 14:38:28
1799
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人