-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
618 lines (368 loc) · 22.3 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<title> RootDeep - </title>
<meta name="description" content="" />
<meta property="og:title" content="RootDeep" />
<meta name="twitter:title" content="RootDeep" />
<meta name="description" content="Hi, I am Zhiguo Li, working at Tencent CSIG. My wechat account is willmap. See more at about.">
<meta property="og:description" content="Hi, I am Zhiguo Li, working at Tencent CSIG. My wechat account is willmap. See more at about.">
<meta name="twitter:description" content="Hi, I am Zhiguo Li, working at Tencent CSIG. My wechat account is willmap. See more at about.">
<meta name="author" content="Zhiguo Li"/>
<meta property="og:image" content="https://willzgli.github.io/rootdeep.jpg" />
<meta name="twitter:image" content="https://willzgli.github.io/rootdeep.jpg" />
<meta name="twitter:card" content="summary" />
<meta property="og:url" content="https://willzgli.github.io/" />
<meta property="og:type" content="website" />
<meta property="og:site_name" content="RootDeep" />
<meta name="generator" content="Hugo 0.37" />
<link rel="canonical" href="https://willzgli.github.io/" />
<link rel="alternate" href="https://willzgli.github.io/index.xml" type="application/rss+xml" title="RootDeep">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.css" integrity="sha384-wITovz90syo1dJWVh32uuETPVEtGigN07tkttEqPv+uR2SE/mbQcG7ATL28aI9H0" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://willzgli.github.io/css/main.css" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" />
<meta name="baidu-site-verification" content="g8IYR9SNLF" />
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "https://hm.baidu.com/hm.js?11f7d254cfa4e0ca44b175c66d379ecc";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
<link rel="stylesheet" href="https://willzgli.github.io/css/prism.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.1/photoswipe.min.css" integrity="sha256-sCl5PUOGMLfFYctzDW3MtRib0ctyUvI9Qsmq2wXOeBY=" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.1/default-skin/default-skin.min.css" integrity="sha256-BFeI1V+Vh1Rk37wswuOYn5lsTcaU96hGaI7OUVCLjPc=" crossorigin="anonymous" />
<div class="pswp" tabindex="-1" role="dialog" aria-hidden="true">
<div class="pswp__bg"></div>
<div class="pswp__scroll-wrap">
<div class="pswp__container">
<div class="pswp__item"></div>
<div class="pswp__item"></div>
<div class="pswp__item"></div>
</div>
<div class="pswp__ui pswp__ui--hidden">
<div class="pswp__top-bar">
<div class="pswp__counter"></div>
<button class="pswp__button pswp__button--close" title="Close (Esc)"></button>
<button class="pswp__button pswp__button--share" title="Share"></button>
<button class="pswp__button pswp__button--fs" title="Toggle fullscreen"></button>
<button class="pswp__button pswp__button--zoom" title="Zoom in/out"></button>
<div class="pswp__preloader">
<div class="pswp__preloader__icn">
<div class="pswp__preloader__cut">
<div class="pswp__preloader__donut"></div>
</div>
</div>
</div>
</div>
<div class="pswp__share-modal pswp__share-modal--hidden pswp__single-tap">
<div class="pswp__share-tooltip"></div>
</div>
<button class="pswp__button pswp__button--arrow--left" title="Previous (arrow left)">
</button>
<button class="pswp__button pswp__button--arrow--right" title="Next (arrow right)">
</button>
<div class="pswp__caption">
<div class="pswp__caption__center"></div>
</div>
</div>
</div>
</div>
</head>
<body>
<nav class="navbar navbar-default navbar-fixed-top navbar-custom">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#main-navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="https://willzgli.github.io/">RootDeep</a>
</div>
<div class="collapse navbar-collapse" id="main-navbar">
<ul class="nav navbar-nav navbar-right">
<li class="navlinks-container">
<a class="navlinks-parent" href="javascript:void(0)">Categories</a>
<div class="navlinks-children">
<a href="/categories/kubernetes">kubernetes</a>
<a href="/categories/linux-practice">Linux Practice</a>
<a href="/categories/openstack">OpenStack</a>
<a href="/categories/github">Github</a>
<a href="/categories/devops">Devops</a>
</div>
</li>
<li class="navlinks-container">
<a class="navlinks-parent" href="javascript:void(0)">Gitbooks</a>
<div class="navlinks-children">
<a href="/k8s-source-code-analysis">k8s sourcecode analysis</a>
<a href="/docker-handbook">Docker handbook</a>
<a href="/simple-operation-of-oz-tool">Oz Tool</a>
</div>
</li>
<li>
<a title="About" href="/about/">About</a>
</li>
</ul>
</div>
<div class="avatar-container">
<div class="avatar-img-border">
<a title="RootDeep" href="https://willzgli.github.io/">
<img class="avatar-img" src="https://willzgli.github.io/rootdeep.jpg" alt="RootDeep" />
</a>
</div>
</div>
</div>
</nav>
<header class="header-section ">
<div class="intro-header no-img">
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12 col-md-offset-0">
<div class="page-heading">
<h1 align="center" style="font-size:40px;">RootDeep</h1>
</div>
</div>
</div>
</div>
</div>
</header>
<div role="main" class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<div class="well">
<p>Hi, I am Zhiguo Li, working at Tencent CSIG. My wechat account is <em>willmap</em>. See more at <a href="https://willzgli.github.io/about/">about</a>.</p>
</div>
<div class="posts-list">
<article class="post-preview">
<a href="https://willzgli.github.io/posts/kube-proxy-code-analysis/">
<h2 class="post-title">kube-proxy 源码分析</h2>
</a>
<span class="post-meta">
Posted on December 25, 2018
</span>
<div class="post-entry">
功能概述 kube-proxy是管理service的访问入口,包括集群内Pod到Service的访问和集群外访问service。当用户创建 service 的
<a href="https://willzgli.github.io/posts/kube-proxy-code-analysis/" class="post-read-more">[Read More]</a>
</div>
<span class="post-meta">
#<a href="https://willzgli.github.io/tags/iptables/">iptables</a>
#<a href="https://willzgli.github.io/tags/kube-proxy/">kube-proxy</a>
#<a href="https://willzgli.github.io/tags/v1.12/">v1.12</a>
</span>
</article>
<article class="post-preview">
<a href="https://willzgli.github.io/posts/linux-free-command/">
<h2 class="post-title">Linux Free 命令浅析</h2>
</a>
<span class="post-meta">
Posted on October 5, 2018
</span>
<div class="post-entry">
Free 命令结果变化 最近,在用IOzone 对磁盘进行压力测试的时候发现,IOzone 一开启(216个线程同时写36个8T的磁盘,每个磁盘大概写6T
<a href="https://willzgli.github.io/posts/linux-free-command/" class="post-read-more">[Read More]</a>
</div>
<span class="post-meta">
#<a href="https://willzgli.github.io/tags/linux/">Linux</a>
#<a href="https://willzgli.github.io/tags/memory/">Memory</a>
</span>
</article>
<article class="post-preview">
<a href="https://willzgli.github.io/posts/ssl/">
<h2 class="post-title">理解数字证书及制作过程</h2>
</a>
<span class="post-meta">
Posted on October 3, 2018
</span>
<div class="post-entry">
使用Https协议访问时,会碰到证书的问题。有时候开发https 相关的程序时,也需要自制证书。制作证书时,总是需要 .key, .csr, . crt 三类文件。 并且,对
<a href="https://willzgli.github.io/posts/ssl/" class="post-read-more">[Read More]</a>
</div>
<span class="post-meta">
#<a href="https://willzgli.github.io/tags/linux/">Linux</a>
#<a href="https://willzgli.github.io/tags/tsl/">TSL</a>
</span>
</article>
<article class="post-preview">
<a href="https://willzgli.github.io/posts/rpc-rabbit-con-in-oslo-messaging/">
<h2 class="post-title">Rabbit Driver Connection 创建流程</h2>
<h3 class="post-subtitle">
oslo.messaging 库代码分析(二)
</h3>
</a>
<span class="post-meta">
Posted on June 23, 2018
</span>
<div class="post-entry">
本节主要分析了RabbitDriver中Connection类的初始化过程中,一个TCP 连接过程中调用代码的流程。流程深入到了kombu 库的
<a href="https://willzgli.github.io/posts/rpc-rabbit-con-in-oslo-messaging/" class="post-read-more">[Read More]</a>
</div>
<span class="post-meta">
#<a href="https://willzgli.github.io/tags/openstack/">OpenStack</a>
#<a href="https://willzgli.github.io/tags/oslo.messaging/">oslo.messaging</a>
#<a href="https://willzgli.github.io/tags/rabbitmq/">RabbitMQ</a>
</span>
</article>
<article class="post-preview">
<a href="https://willzgli.github.io/posts/rpc-call-procedure-in-oslo-messaging/">
<h2 class="post-title">OpenStack RPC Call/CAST 调用流程</h2>
<h3 class="post-subtitle">
oslo.messaging 库代码分析(一)
</h3>
</a>
<span class="post-meta">
Posted on June 21, 2018
</span>
<div class="post-entry">
最近遇到了一个关于nova 组件调用oslo.messaging 库代码出现异常的问题。抛出的异常,大概描述如下 2018-06-13 11:06:33.927 8965 ERROR oslo.messaging._drivers.impl_rabbit [req-6d5699d8-63be-4bba-b2e2-fe7f53dc2699 4f1b9c862dfa4191b61370b72e04795d 3b9839f8a90f47faa6566ef473b77593 - default default] Failed to publish message to
<a href="https://willzgli.github.io/posts/rpc-call-procedure-in-oslo-messaging/" class="post-read-more">[Read More]</a>
</div>
<span class="post-meta">
#<a href="https://willzgli.github.io/tags/openstack/">OpenStack</a>
#<a href="https://willzgli.github.io/tags/oslo.messaging/">oslo.messaging</a>
#<a href="https://willzgli.github.io/tags/rabbitmq/">RabbitMQ</a>
</span>
</article>
<article class="post-preview">
<a href="https://willzgli.github.io/posts/auto-scale-k8s-volume/">
<h2 class="post-title">K8s 卷在线扩容调研</h2>
</a>
<span class="post-meta">
Posted on June 15, 2018
</span>
<div class="post-entry">
自己遇到了一个扩容在线卷(已绑定到POD的卷的)的需求。调研了一番,发现在k8s 1.8 alpha版本中,提供了一种卷扩容的方法,并且支持扩容的卷
<a href="https://willzgli.github.io/posts/auto-scale-k8s-volume/" class="post-read-more">[Read More]</a>
</div>
<span class="post-meta">
#<a href="https://willzgli.github.io/tags/k8s/">K8s</a>
#<a href="https://willzgli.github.io/tags/volume/">volume</a>
#<a href="https://willzgli.github.io/tags/resize/">resize</a>
</span>
</article>
<article class="post-preview">
<a href="https://willzgli.github.io/posts/make-openstack-image-manully/">
<h2 class="post-title">手动制作OpenStack 虚拟机镜像</h2>
</a>
<span class="post-meta">
Posted on June 7, 2018
</span>
<div class="post-entry">
最近对制作OpenStack 虚拟机镜像起了兴趣,主要是因为自己在OpenStack集群上创建了一些虚拟机并安装了常用的软件,但是这个Open
<a href="https://willzgli.github.io/posts/make-openstack-image-manully/" class="post-read-more">[Read More]</a>
</div>
<span class="post-meta">
#<a href="https://willzgli.github.io/tags/openstack-image/">openstack, image</a>
</span>
</article>
<article class="post-preview">
<a href="https://willzgli.github.io/posts/simple-operation-of-helm-repo/">
<h2 class="post-title">helm 自带私有仓库使用方法</h2>
</a>
<span class="post-meta">
Posted on May 16, 2018
</span>
<div class="post-entry">
安装helm 客户端后,使用 helm serve 命令可以在本地启动一个私有仓库。 通过helm repo list 可以看到一个仓库名,及仓库地址为: local http://127.0.0.1/charts helm serve 的启动命令参数如下:
<a href="https://willzgli.github.io/posts/simple-operation-of-helm-repo/" class="post-read-more">[Read More]</a>
</div>
<span class="post-meta">
#<a href="https://willzgli.github.io/tags/kubernetes/">kubernetes</a>
#<a href="https://willzgli.github.io/tags/helm/">helm</a>
</span>
</article>
<article class="post-preview">
<a href="https://willzgli.github.io/posts/fix-stale-node-in-etcd-cluster/">
<h2 class="post-title">etcd member 冲突的临时解决方法</h2>
</a>
<span class="post-meta">
Posted on May 16, 2018
</span>
<div class="post-entry">
近日,搭建了一个etcd 集群,在关闭了集群的一个节点之后,又重新创建了一个新的节点,并且新的节点依旧用原来的IP,但是在新的节点上启动etc
<a href="https://willzgli.github.io/posts/fix-stale-node-in-etcd-cluster/" class="post-read-more">[Read More]</a>
</div>
<span class="post-meta">
#<a href="https://willzgli.github.io/tags/kubernetes/">kubernetes</a>
#<a href="https://willzgli.github.io/tags/etcd/">etcd</a>
</span>
</article>
<article class="post-preview">
<a href="https://willzgli.github.io/posts/create-vm-image-with-oz/">
<h2 class="post-title">使用Oz工具自动化虚拟机镜像</h2>
<h3 class="post-subtitle">
一次Oz工具的学习及使用实践
</h3>
</a>
<span class="post-meta">
Posted on May 16, 2018
</span>
<div class="post-entry">
Oz 简介 镜像制作一般分为手动制作和自动制作。 手动制作主要流程: 利用OS镜像启动一个虚拟机实例,启动镜像的工具包括virt-install、vi
<a href="https://willzgli.github.io/posts/create-vm-image-with-oz/" class="post-read-more">[Read More]</a>
</div>
<span class="post-meta">
#<a href="https://willzgli.github.io/tags/oz/">oz</a>
#<a href="https://willzgli.github.io/tags/image/">image</a>
#<a href="https://willzgli.github.io/tags/vm/">vm</a>
</span>
</article>
</div>
<ul class="pager main-pager">
<li class="next">
<a href="/page/2">Older Posts →</a>
</li>
</ul>
</div>
</div>
</div>
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
<ul class="list-inline text-center footer-links">
<li>
<a href="https://github.com/rootdeep" title="GitHub">
<span class="fa-stack fa-lg">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
</ul>
<p class="credits copyright text-muted">
©2018
<a href="https://willzgli.github.io/">Zhiguo Li</a>
•
December 25,2018
updated
</p>
<p class="credits theme-by text-muted">
<a href="http://gohugo.io">Hugo v0.37</a> powered • Theme by <a href="http://deanattali.com/beautiful-jekyll/">Beautiful Jekyll</a> adapted to <a href="https://github.com/rootsongjc/beautifulhugo">Beautiful Hugo</a>
</p>
</div>
</div>
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/katex.min.js" integrity="sha384-/y1Nn9+QQAipbNQWU65krzJralCnuOasHncUFXGkdwntGeSvQicrYkiUBwsgUqc1" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.7.1/contrib/auto-render.min.js" integrity="sha384-dq1/gEHSxPZQ7DdrM82ID4YVol9BYyU7GbWlIwnwyPzotpoc57wDw/guX8EaYGPx" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="https://willzgli.github.io/js/main.js"></script>
<script> renderMathInElement(document.body); </script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.1/photoswipe.min.js" integrity="sha256-UplRCs9v4KXVJvVY+p+RSo5Q4ilAUXh7kpjyIP5odyc=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.1/photoswipe-ui-default.min.js" integrity="sha256-PWHOlUzc96pMc8ThwRIXPn8yH4NOLu42RQ0b9SpnpFk=" crossorigin="anonymous"></script>
<script src="https://willzgli.github.io/js/load-photoswipe.js"></script>
<script src="https://willzgli.github.io/js/prism.js"></script>
<script src="https://willzgli.github.io/js/prism.js"></script>
</body>
</html>