02 TiDB Operator 架构与实现 付业成
TiDB Operator: Design & Implemention Presented by Yecheng Fu (@cofyc) PingCAP.com Agenda ● TiDB Operator 简介 ● 扩展 Kubernetes 的几种方式 ● TiDB Operator 实现 TiDB Operator 是什么 PingCAP.com Cloud Native Scaling - Handle network, hardware failures, etc. - Backup/Restore/Data migration - ... TiDB Operator TiDB PingCAP.com Kubernetes Pattern - Declarative Model - 用户描述自己的期望,提交给 Kubernetes API Server implemented TiDB Operator Kubernetes Pattern - Declarative Model PingCAP.com Operator Pattern - Extending Kubernetes TiDB Operator TiDB PD API Kubernetes API PingCAP.com Operator Pattern - Custom0 码力 | 47 页 | 1.73 MB | 5 月前3Operator Pattern 用 Go 扩展 Kubernetes 的最佳实践
Operator Pattern:用 Go 扩展 K8s 的最佳实践 吴学强 ApeCloud KubeBlocks Maintainer & 研发总监 目 录 认识我们 00 什么是 Operator 01 Operator 基础模型 02 Operator 最佳实践 03 我们是谁 云猿生(ApeCloud)是一家提供数据库内核与管理平台的基 础软件开发商. KubeBlocks 从被收购到卷王(si) 回到初(qi)心(dian) KubeBlocks Maintainer & 研发总监 free6om 什么是 Operator 第一部分 Operator 前世今生 TPR Operator CRD Operator Pattern 2015.11 2016.12 2017.12 Now K8s 1.1 版本中正式推出 TPR (ThirdPartyResource),首次尝 K8s API 的扩展性问题, 但存在诸多问题,Alpha 阶段既 夭折 CoreOS 提出 Operator 概念,用 于管理和运行基于应用程序领 域的复杂有状态应用程序。 给出了用 TPR + controller- runtime 早期版本的 sample: etcd operator K8s 1.9 版本发布,CRD进入 beta 阶段并正式取代 TPR; controller-runtime0 码力 | 21 页 | 3.06 MB | 9 月前3Node.js Manual & Documentation
destroySoon() o stream.pipe(destination, [options]) Writable Stream 可写流 o Event: 'drain' 事件:'drain' o Event: 'error' 事件:'error' o Event: 'close' 事件:'close' o Event: 'pipe' 事件:'pipe' o stream.writable callback) o child.kill(signal='SIGTERM') Assert 断言模块 o assert.fail(actual, expected, message, operator) o assert.ok(value, [message]) o assert.equal(actual, expected, [message]) o assert.notEqual(actual After the write queue is drained, close the file descriptor. 在写队列清空后(所有写操作完成后),关闭文件描述符。 stream.pipe(destination, [options]) This is a Stream.prototype method available on all Streams. 这是 Stream.prototype(Stream0 码力 | 153 页 | 1.21 MB | 1 年前3TypeScript Handbook(中文版)
del(['wwwroot/scripts/**/*']); }); gulp.task('default', function () { gulp.src(paths.scripts).pipe(gulp.dest('wwwroot/scripts')) }); 第一行是告诉Visual Studio构建完成后,立即运行'default'任务。 当你应答 Visual Studio 'node_modules/rxjs/bundles/Rx.js'] }; gulp.task('lib', function () { gulp.src(paths.libs).pipe(gulp.dest('wwwroot/scripts/lib')); }); gulp.task('clean', function () { return del(['wwwroot/scripts/**/*']); del(['wwwroot/scripts/**/*']); }); gulp.task('default', ['lib'], function () { gulp.src(paths.scripts).pipe(gulp.dest('wwwroot/scripts')); }); 此外,保存了此gulpfile后,要确保 Task Runner Explorer 能看到 lib 任务。 用 TypeScript0 码力 | 557 页 | 7.48 MB | 1 年前3TypeScript 4.0 使用手册
BookStack.CN 构建 16. }); 17. 18. gulp.task('default', function () { 19. gulp.src(paths.scripts).pipe(gulp.dest('wwwroot/scripts')) 20. }); 第一行是告诉Visual Studio构建完成后,立即运行’default’任务。 当你应答 Visual Studio 'node_modules/rxjs/bundles/Rx.js'] 16. }; 17. 18. gulp.task('lib', function () { 19. gulp.src(paths.libs).pipe(gulp.dest('wwwroot/scripts/lib')); 20. }); 21. 22. gulp.task('clean', function () { 23. return 24. }); 25. 26. gulp.task('default', ['lib'], function () { 27. gulp.src(paths.scripts).pipe(gulp.dest('wwwroot/scripts')); 28. }); 此外,保存了此gulpfile后,要确保 Task Runner Explorer 能看到 lib 任务。0 码力 | 683 页 | 6.27 MB | 1 年前3Julia 中文文档
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 916 The uniform scaling operator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 916 71.2 Matrix factorizations 你也可以通过内置函数 Base.operator_precedence 查看任何给定运算符的优先级数值,数值越大优 先级越高: julia> Base.operator_precedence(:+), Base.operator_precedence(:*), Base.operator_precedence(:.) (11, 12, 17) julia> Base.operator_precedence(:sin) operator_precedence(:sin), Base.operator_precedence(:+=), Base.operator_precedence(:(=)) # (注意:等号前后必须有括号 `:(=)`) �→ (0, 1, 1) 另外,内置函数 Base.operator_associativity 可以返回运算符结合性的符号表示: julia> Base.operator_associativity(:-)0 码力 | 1238 页 | 4.59 MB | 1 年前3httpd 2.2.29 中文文档
Windows and OS/2). On Unix systems it is also possible to have the server send errors to syslog or pipe them to a program. The format of the error log is relatively free-form and descriptive. But there next section. Piped Logs Apache httpd is capable of writing error and access log files through a pipe to another process, rather than directly to a file. This capability dramatically increases the flexibility logging, without adding code to the main server. In order to write logs to a pipe, simply replace the filename with the pipe character "|", followed by the name of the executable which should accept log0 码力 | 1854 页 | 1.48 MB | 1 年前3httpd 2.2.27 中文文档
Windows and OS/2). On Unix systems it is also possible to have the server send errors to syslog or pipe them to a program. The format of the error log is relatively free-form and descriptive. But there next section. Piped Logs Apache httpd is capable of writing error and access log files through a pipe to another process, rather than directly to a file. This capability dramatically increases the flexibility logging, without adding code to the main server. In order to write logs to a pipe, simply replace the filename with the pipe character "|", followed by the name of the executable which should accept log0 码力 | 1849 页 | 1.47 MB | 1 年前3httpd 2.2.31 中文文档
Windows and OS/2). On Unix systems it is also possible to have the server send errors to syslog or pipe them to a program. The format of the error log is relatively free-form and descriptive. But there next section. Piped Logs Apache httpd is capable of writing error and access log files through a pipe to another process, rather than directly to a file. This capability dramatically increases the flexibility logging, without adding code to the main server. In order to write logs to a pipe, simply replace the filename with the pipe character "|", followed by the name of the executable which should accept log0 码力 | 1860 页 | 1.48 MB | 1 年前3httpd 2.2.27.dev 中文文档
Windows and OS/2). On Unix systems it is also possible to have the server send errors to syslog or pipe them to a program. The format of the error log is relatively free-form and descriptive. But there next section. Piped Logs Apache httpd is capable of writing error and access log files through a pipe to another process, rather than directly to a file. This capability dramatically increases the flexibility logging, without adding code to the main server. In order to write logs to a pipe, simply replace the filename with the pipe character "|", followed by the name of the executable which should accept log0 码力 | 1849 页 | 1.47 MB | 1 年前3
共 399 条
- 1
- 2
- 3
- 4
- 5
- 6
- 40