三云时光

三云时光

springboot hikari mybatis-plus 多数据源配置

1、编写配置文件 application.yml spring: datasource: primary: driver-class-name: org.postgresql.


云哥  1655  2020-10-20 阅读全文

java redis 订阅(subscribe/psubscribe)和发布 (publish)

1、首先引入Jar文件 <dependency> <groupId>redis.clients</groupId> <artifactId


云哥  1138  2020-09-17 阅读全文

RabbitMQ 消费者Consumer和生产者provide,stopic 交换机模式代码实例

1、rabbitMQ Maven 依赖 <dependency> <groupId>com.rabbitmq</groupId>


云哥  445  2020-06-05 阅读全文

centos8 安装 Kubernetes(k8s)

一、在三台机器上准备一下操作 1、准备三台机器 192.168.137.23 k8s-master 192.168.137.24 k8s-node1 192.168.137.25 k8s-node2


云哥  1944  2020-04-15 阅读全文

k8s 解决 error: no configuration has been provided, try setting KUBERNETES_MASTER environment variable

在/etc/profile中配置 vim /etc/profile 在最后添加如下配置 export KUBECONFIG=/etc/kubernetes/admin.conf 执行命令使其起效 s


云哥  4029  2020-04-14 阅读全文

解决 执行kubectl get 命令 出现 Unable to connect to the server: net/http: TLS handshake timeout 问题

我在执行kubectl get nodes namespaces 结果等了好久都不行 还出了问题,报错信息如下: Unable to connect to the server: net/http:


云哥  4324  2020-04-14 阅读全文