随笔分类 -  spring cloud

spring cloud
springboot 国际化
摘要:validator国际化: http://miao.blog/article/spring-boot-validator-i18n message国际化: https://www.cnblogs.com/boshen-hzb/p/10869999.html 阅读全文

posted @ 2020-05-25 22:17 rigidwang 阅读(156) 评论(0) 推荐(0)

Spring Cloud Gateway 实现Token校验
摘要:https://www.toutiao.com/a6803230479572009480/?tt_from=mobile_qq&utm_campaign=client_share&timestamp=1585721253&app=news_article&utm_source=mobile_qq&u 阅读全文

posted @ 2020-04-01 14:22 rigidwang 阅读(598) 评论(0) 推荐(0)

配置中心选型对比
摘要: 阅读全文

posted @ 2020-03-23 16:09 rigidwang 阅读(914) 评论(0) 推荐(0)

eureka 监控页面返回xml
摘要:增加如下配置: 阅读全文

posted @ 2019-06-24 15:47 rigidwang 阅读(371) 评论(0) 推荐(0)

zuul压力测试与调优
摘要:https://www.cnblogs.com/lonelyJay/p/10076441.html 阅读全文

posted @ 2019-03-22 17:09 rigidwang 阅读(166) 评论(0) 推荐(0)

JWT对SpringCloud进行系统认证和服务鉴权
摘要:参考:https://blog.csdn.net/qq_36236890/article/details/79954647 阅读全文

posted @ 2019-01-29 09:49 rigidwang 阅读(228) 评论(0) 推荐(0)

lockback 生成json 日志配置
摘要:<?xml version="1.0" encoding="UTF-8"?> <configuration scan="true" scanPeriod="60 seconds"> <jmxConfigurator/> <property name="appName" value="microarc 阅读全文

posted @ 2018-12-13 11:50 rigidwang 阅读(270) 评论(0) 推荐(0)

spring cloud &&spring boot
摘要:Spring Cloud版本演进情况如下: 版本名称 版本Finchley snapshot版Edgware snapshot版Dalston SR1 当前最新稳定版本Camden SR7 稳定版本Brixton SR7 稳定版本Angel SR6 稳定版本 Spring Cloud与Spring 阅读全文

posted @ 2018-08-25 22:08 rigidwang 阅读(156) 评论(0) 推荐(0)

k8s 常用命令
摘要:# 启动etcd存储服务 service etcd start # 运行master cd /opt/kubernetes/bin ./apiserver.sh 192.168.220.135 http://192.168.220.135:2379 ./scheduler.sh 192.168.22 阅读全文

posted @ 2018-05-17 12:03 rigidwang 阅读(3495) 评论(0) 推荐(0)

kubernetes ui 安装
摘要:参考:https://blog.csdn.net/chenyufeng1991/article/details/79251498 错误解决方案: 阅读全文

posted @ 2018-05-14 20:46 rigidwang 阅读(202) 评论(0) 推荐(0)

springcloud Zuul consul
摘要:spring: application: name: myclouds-gateway-consul cloud: consul: host: 127.0.0.1 port: 8500 enabled: true discovery: enabl... 阅读全文

posted @ 2018-05-14 13:09 rigidwang 阅读(672) 评论(0) 推荐(0)

kubenetes集群部署注意事项
摘要:1.. 先下载镜像 docker pull registry.cn-hangzhou.aliyuncs.com/google-containers/pause-amd64:3.02.将镜像重新tag docker tag registry.cn-hangzhou.aliyuncs.com/googl 阅读全文

posted @ 2018-05-05 17:49 rigidwang 阅读(160) 评论(0) 推荐(0)

centos7 docker 升级
摘要:删除旧docker 阅读全文

posted @ 2018-05-04 14:05 rigidwang 阅读(1134) 评论(0) 推荐(0)

centos7 k8s 启动
摘要:# 启动etcd存储服务service etcd start# 运行mastercd /opt/kubernetes/bin./apiserver.sh 192.168.220.135 http://192.168.220.135:2379./scheduler.sh 192.168.220.135 阅读全文

posted @ 2018-05-03 23:40 rigidwang 阅读(1074) 评论(0) 推荐(0)

k8s 部署springcloud
摘要:如下微服务: demo-service 服务提供方 demo-provider 服务消费方 eureka-server 注册中心 api-gateway 网关 1.创建pod,将demo-service运行在docker中,通过pod运行并启动docker,pod通过rc创建,不直接创建,直接创建的 阅读全文

posted @ 2018-05-03 14:00 rigidwang 阅读(4404) 评论(0) 推荐(0)

Actuator 端点监控
摘要:Spring Boot Actuator 提供了许多监控端点。可以使用http://{ip}:{port}/{endporint}的形式访问这些端点,从而了解应用的运行情况。 阅读全文

posted @ 2018-04-26 13:53 rigidwang 阅读(319) 评论(0) 推荐(0)