摘要:
Python 中的标识符是区分大小写的。 所有 Python 的关键字只包含小写字母 以下划线开头的标识符是有特殊意义的。 以单下划线开头 _foo 的代表不能直接访问的类属性,需通过类提供的接口进行访问,不能用 from xxx import * 而导入; 以双下划线开头的 __foo 代表类的私
阅读全文
posted @ 2018-01-08 22:11
PanPan003
阅读(185)
推荐(0)
摘要:
ETCD系列之三:网络层实现 ETCD系列之二:部署集群 ETCD系列之一:简介 ETCD相关介绍--整体概念及原理方面
阅读全文
posted @ 2018-01-08 14:17
PanPan003
阅读(553)
推荐(0)
摘要:
etcd:从应用场景到实现原理的全方位解读 从etcd的架构开始,深入到源码中解析etcd 1 架构 从etcd的架构图中我们可以看到,etcd主要分为四个部分。 HTTP Server: 用于处理用户发送的API请求以及其它etcd节点的同步与心跳信息请求。 Store:用于处理etcd支持的各类
阅读全文
posted @ 2018-01-08 14:13
PanPan003
阅读(13197)
推荐(2)
摘要:
etcd:从应用场景到实现原理的全方位解读 ETCD:A highly-available key value store for shared configuration and service discovery. 简单:基于HTTP+JSON的API让你用curl就可以轻松使用。 安全:可选S
阅读全文
posted @ 2018-01-08 11:55
PanPan003
阅读(2261)
推荐(0)
摘要:
StatefulSets StatefulSet is the workload API object used to manage stateful applications. Note: StatefulSets are stable (GA) in 1.9. Manages the deplo
阅读全文
posted @ 2018-01-03 22:05
PanPan003
阅读(344)
推荐(0)
摘要:
1.挑剔的架构设计能力 对已有架构勇于提出自己的质疑 对自己正确的观点,据理力争 对每一种分层、设计的思考:好不好?有没更好的方案?为什么这样设计?优点 2.坚持的学习能力 对新技术保持热情 业余时间,用了大量的时间取学习 培训期间,有条件的情况下,尽量动手》记笔记》只听 3.不急不操,一步步完成
阅读全文
posted @ 2018-01-03 15:59
PanPan003
阅读(184)
推荐(0)
摘要:
1.try{}catch{} 中的exception: 异常,不要吞掉,该throw的应该throw出来,由项目统一的ExceptionHandler统一处理 尽量丰富throw出的exception信息 日志记录 2.webapi项目 返回、传参:类型明确,非object、IActionResul
阅读全文
posted @ 2018-01-03 15:46
PanPan003
阅读(3141)
推荐(1)
摘要:
1.了解基础概念 2.了解新技术产生的原因、解决的问题、优劣势、发展方向:why? 3.全面阅读官方文档:how 要点 组成 概念 操作 4.了解新技术的架构体系 新领域知识: 从上到下系统的学习 对于已有知识的不统一的地方:需要注意已有的知识是否限制的新知识的学习。注意不要让已有的知识成为学习新知
阅读全文
posted @ 2018-01-03 15:32
PanPan003
阅读(280)
推荐(0)
摘要:
使用Docker的项目,要求:基础类库与平台无关=》.netCore项目、.netStandard项目 公共项目:.netCore项目 入口项目:.netStandard项目 例如:webapi、console、UI项目、Web前端项目…… .netStandard项目: 可被.netCore调用
阅读全文
posted @ 2018-01-03 15:25
PanPan003
阅读(614)
推荐(0)
摘要:
HTTP 协议有一个缺陷:通信只能由客户端发起,做不到服务器主动向客户端推送信息。 这种单向请求的特点,注定了如果服务器有连续的状态变化,客户端要获知就非常麻烦。我们只能使用"轮询":每隔一段时候,就发出一个询问,了解服务器有没有新的信息。最典型的场景就是聊天室。 轮询的效率低,非常浪费资源(因为必
阅读全文
posted @ 2017-12-31 20:23
PanPan003
阅读(215)
推荐(0)
摘要:
In order to continue our effort of being modular and well factored we don’t just provide the entire .NET Core platform as a single NuGet package. Inst
阅读全文
posted @ 2017-12-31 20:12
PanPan003
阅读(443)
推荐(0)
摘要:
Deployments A Deployment controller provides declarative updates for Pods and ReplicaSets. You describe a desired state in a Deployment object, and th
阅读全文
posted @ 2017-12-30 22:13
PanPan003
阅读(339)
推荐(0)
摘要:
ReplicaSet is the next-generation Replication Controller. The only difference between a ReplicaSet and a Replication Controller right now is the selec
阅读全文
posted @ 2017-12-30 18:44
PanPan003
阅读(475)
推荐(0)
摘要:
Kubernetes:架构、基本概念。用于总体了解 Kubernetes系列之介绍篇:优势、用途 Kubernetes核心概念总结
阅读全文
posted @ 2017-12-30 16:26
PanPan003
阅读(244)
推荐(0)
摘要:
Init Containers This feature has exited beta in 1.6. Init Containers can be specified in the PodSpec alongside the app containers array. The beta anno
阅读全文
posted @ 2017-12-28 22:05
PanPan003
阅读(521)
推荐(0)
摘要:
api测试 https://developers.facebook.com/tools/explorer/517735271920003?method=GET&path=act_1107316072738457%2Finsights%3F%26fields%3Dclicks%2Cimpression
阅读全文
posted @ 2017-12-27 17:02
PanPan003
阅读(1790)
推荐(0)
摘要:
kubectl applykubectl getkubectl set image deployment/xxx -n ns echoservice=xxxkubectl deletekubectl logskubectl scale deployment nginx-deployment --re
阅读全文
posted @ 2017-12-27 14:24
PanPan003
阅读(589)
推荐(0)
摘要:
For Client:docker exec Run a command in a running containerdocker images List imagesdocker import Import the image from a tarballdocker rm Remove one
阅读全文
posted @ 2017-12-27 14:17
PanPan003
阅读(1050)
推荐(0)
摘要:
This page provides an overview of Pod, the smallest deployable object in the Kubernetes object model. Understanding Pods How Pods manage multiple Cont
阅读全文
posted @ 2017-12-26 22:11
PanPan003
阅读(819)
推荐(0)
摘要:
Images You create your Docker image and push it to a registry before referring to it in a Kubernetes pod. The image property of a container supports t
阅读全文
posted @ 2017-12-26 21:21
PanPan003
阅读(837)
推荐(0)
摘要:
Nodes Node Status Addresses Phase Condition Capacity Info Management Node Controller Self-Registration of Nodes Manual Node Administration Node capaci
阅读全文
posted @ 2017-12-24 22:10
PanPan003
阅读(940)
推荐(0)
摘要:
This page explains how Kubernetes objects are represented in the Kubernetes API, and how you can express them in .yaml format. Understanding Kubernete
阅读全文
posted @ 2017-12-24 20:35
PanPan003
阅读(414)
推荐(0)
摘要:
Master Components kube-apiserver etcd kube-controller-manager cloud-controller-manager kube-scheduler addons DNS Web UI (Dashboard) Container Resource
阅读全文
posted @ 2017-12-24 16:55
PanPan003
阅读(373)
推荐(0)
摘要:
Kubernetes is an open-source platform designed to automate deploying, scaling, and operating application containers. able to quickly and efficiently r
阅读全文
posted @ 2017-12-24 16:48
PanPan003
阅读(349)
推荐(0)
摘要:
Docker is an open platform for developing, shipping, and running applications. Docker enables you to separate your applications from your infrastructu
阅读全文
posted @ 2017-12-23 16:29
PanPan003
阅读(338)
推荐(0)
摘要:
how to network your containers. Launch a container on the default network Docker includes support for networking containers through the use of network
阅读全文
posted @ 2017-12-23 15:42
PanPan003
阅读(1115)
推荐(0)
摘要:
Make sure you have published the friendlyhello image you created by pushing it to a registry. We’ll be using that shared image here. Be sure your imag
阅读全文
posted @ 2017-12-23 15:09
PanPan003
阅读(408)
推荐(0)
摘要:
Make sure you have published the friendlyhello image you created by pushing it to a registry. We’ll use that shared image here. Be sure your image wor
阅读全文
posted @ 2017-12-23 14:35
PanPan003
阅读(365)
推荐(0)
摘要:
Make sure you have published the friendlyhello image you created by pushing it to a registry. We’ll be using that shared image here. Be sure your imag
阅读全文
posted @ 2017-12-23 13:49
PanPan003
阅读(488)
推荐(0)
摘要:
Docker学习笔记 — Swarm搭建Docker集群 Swarm在schedule节点运行容器的时候,会根据指定的策略来计算最适合运行容器的节点,目前支持的策略有:spread, binpack, random. Random顾名思义,就是随机选择一个Node来运行容器,一般用作调试用, spr
阅读全文
posted @ 2017-12-22 21:57
PanPan003
阅读(297)
推荐(0)
摘要:
Make sure you have published the friendlyhello image you created by pushing it to a registry. We’ll use that shared image here. Be sure your image wor
阅读全文
posted @ 2017-12-22 21:21
PanPan003
阅读(232)
推荐(0)
摘要:
Document An image is a lightweight, stand-alone, executable package that includes everything needed to run a piece of software, including the code, a
阅读全文
posted @ 2017-12-22 20:23
PanPan003
阅读(378)
推荐(0)
摘要:
EPPlus:网站 Supported Functions Excel Merge Operate public class ExcelMergeOperate { private static Logger _logger = LogManager.GetCurrentClassLogger();
阅读全文
posted @ 2017-12-08 18:34
PanPan003
阅读(725)
推荐(0)
摘要:
CsvHelper:nuget地址 csv导出类||生成类 public class CSVHeader { public string head1 { get; set; } public string head2 { get; set; } public string head3 { get;
阅读全文
posted @ 2017-12-08 18:30
PanPan003
阅读(1831)
推荐(1)
摘要:
EPPlus :服务器不用安装其他组件 NPIO
阅读全文
posted @ 2017-12-08 10:26
PanPan003
阅读(172)
推荐(0)
posted @ 2017-11-30 22:08
PanPan003
阅读(0)
推荐(0)
posted @ 2017-11-29 22:13
PanPan003
阅读(0)
推荐(0)
posted @ 2017-11-28 22:03
PanPan003
阅读(0)
推荐(0)
摘要:
rest client - rest api Testing:类似fiddler的工具,可以测试url,查看返回值……
阅读全文
posted @ 2017-11-28 20:18
PanPan003
阅读(132)
推荐(0)
posted @ 2017-11-26 22:04
PanPan003
阅读(1)
推荐(0)