摘要: This page provides an overview of Pod, the smallest deployable object in the Kubernetes object model. Pod是Kubernetes 对象模型中最小的可部署对象。 Understanding Pods 阅读全文
posted @ 2018-03-09 09:22 翠绿的柠檬树 阅读(461) 评论(0) 推荐(0) 编辑
摘要: Concepts The Concepts section helps you learn about the parts of the Kubernetes system and the abstractions Kubernetes uses to represent your cluster, 阅读全文
posted @ 2018-03-03 11:05 翠绿的柠檬树 阅读(180) 评论(0) 推荐(0) 编辑
摘要: 所有锁的unlock要放到try{}finally{}里,不然发生异常返回就丢了unlock了 阅读全文
posted @ 2018-02-28 16:33 翠绿的柠檬树 阅读(736) 评论(0) 推荐(0) 编辑
摘要: 多线程并发,程序执行速度较快,使用简单断点不能够定位到出错的线程; 通过打印日志,不断精确定位故障的位置和导致故障的原因。 在断点处设置condition为Thread.currentThread().getName().contains("目标线程池的名字"); 线程池之间的任务调度,导致堆栈较短 阅读全文
posted @ 2018-02-28 09:26 翠绿的柠檬树 阅读(247) 评论(0) 推荐(0) 编辑
摘要: SMART原则: S代表具体(Specific),指绩效考核要切中特定的工作指标,不能笼统; M代表可度量(Measurable),指绩效指标是数量化或者行为化的,验证这些绩效指标的数据或者信息是可以获得的; A代表可实现(Attainable),指绩效指标在付出努力的情况下可以实现,避免设立过高或 阅读全文
posted @ 2018-02-27 10:02 翠绿的柠檬树 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 安装minikube之后,第一次sudo minikube start 时,设置参数--cpus int --memory int 。 如果需要更改设置,需要将缓存文件$HOME/.minikube删除再从新设置。 猜测:还可以使用sudo minikube config set cpus int, 阅读全文
posted @ 2018-02-06 20:58 翠绿的柠檬树 阅读(1801) 评论(0) 推荐(0) 编辑
摘要: 环境:新安装的Ubuntu 16.04 LTS 本来打算使用sogou拼音,但是在输入后的提示框中内容为乱码,因此尝试重新安装。 1、sudo apt-get remove sogoupinyin && sudo apt-get autoremove2、sudo apt-get remove fci 阅读全文
posted @ 2018-01-14 19:40 翠绿的柠檬树 阅读(474) 评论(0) 推荐(0) 编辑