摘要: [TOC] istio sidecar自动注入过程分析 istio通过 "mutating webhook admission controller" 机制实现sidecar的自动注入.istio sidecard在每个服务创建pod时都会被自动注入. sidecar自动注入检查 检查kube ap 阅读全文
posted @ 2018-12-08 21:31 mathli 阅读(3981) 评论(0) 推荐(0) 编辑
摘要: filebeat kafka日志收集 由于线上的logstash吃掉大量的CPU,占用较多的系统资源,就想找其它的组件替代.我们的日志需要收集并发送到kafka,生成的日志已经是需要的数据,不用过滤.经过调研发现filebeat也支持发往kafka. filebeat很轻量,用于转发和收集日志数据. 阅读全文
posted @ 2018-12-08 15:33 mathli 阅读(20577) 评论(0) 推荐(0) 编辑
摘要: leetcode algorithms 36 Valid Sudoku Determine if a 9x9 Sudoku board is valid. Only the filled cells need to be validated according to the following ru 阅读全文
posted @ 2018-12-08 15:11 mathli 阅读(142) 评论(0) 推荐(0) 编辑
摘要: leetcode algorithms 35 Search Insert Position Given a sorted array and a target value, return the index if the target is found. If not, return the ind 阅读全文
posted @ 2018-12-08 14:58 mathli 阅读(108) 评论(0) 推荐(0) 编辑
摘要: leetcode algorithms 34 Find First and Last Position of Element in Sorted Array Given an array of integers nums sorted in ascending order, find the sta 阅读全文
posted @ 2018-12-08 14:54 mathli 阅读(79) 评论(0) 推荐(0) 编辑