摘要:
前台 后台 阅读全文
摘要:
1、使用logs命令监控输出 kubectl logs iothub2-iop-dm-replicaset-0 -n iot -f >> yuanqianqian.txt 2、在pod内执行kill -3 1 root@iothub2-iop-dm-replicaset-0:/usr/lib# ki 阅读全文
摘要:
docker login 添加http验证方式:systemctl status docker cd /etc/systemd/system/docker.service.dvi docker-options.conf 添加--insecure-registry=registry.icp.com:5 阅读全文
摘要:
https://www.iyunw.cn/archives/k8s-wu-dian-shi-yong-fang-fa-shi-li/ kubectl taint nodes node1 key=value:NoSchedule kubectl taint nodes kube11 key:NoSch 阅读全文
摘要:
pod存在,但是deployment和statefulset不存在 这样的话,可以看一下是不是ReplicaSet, kubectl get ReplicaSet -n iot 阅读全文
摘要:
Java格式设置 打开Window-Preferences,找到Java-Code Style-Formatter,点击图片中的New.. 给配置起一个名字后,修改配置,找到 Indentation,在Tab policy上选择Spaces only,确定。 https://blog.csdn.ne 阅读全文
摘要:
iot-api scp -r 10.110.25.114:/opt/iot/tmp/iot-api /tmp/yuanqianqian/ ./iot-api/uninstall.sh ./iot-api/install.sh iot-api/values-test.yaml iot-fee-api 阅读全文
摘要:
Qos 0/1/2的理解 Qos 0 最多一次的传输 消息是基于TCP/IP网络传输的。没有回应,在协议中也没有定义重传的语义。消息可能到达服务器1次,也可能根本不会到达。 Qos 1 至少一次的传输 服务器接收到消息会被确认,通过传输一个PUBACK信息。如果有一个可以辨认的传输失败,无论是通讯连 阅读全文
摘要:
1、进入到pod的宿主机 一般来说 ssh slaveX 2、查看进程号 top可以看到 3、执行命令 nsenter --target 10594 --net netstat -an 阅读全文
摘要:
如果取不到,可以考虑其他方式 场景: @Autowired private StringRedisTemplate redisTemplate; 想使用redisTemplate,但是使用时为null 解决: 1、在启动类Application中 增加 private static StringRe 阅读全文