Go Programming Pattern in Kubernetes PhilosophyGo Programming Pattern in Kubernetes Philosophy Harry Zhang @resouer Contents • What I will talk? • Kubernetes basic in 1 min • For Kubernetes developers: • The Golang programming patterns of popular open source projects in this world • Written by, and heavily depends on Golang Again: Why Go? • All about community • A sad story: • https://github.com/google/lmctfy • Now think about a of all Asta Xie instances $ kubectl get astaxie NAME KIND astaxie1 AstaXie.v1.cr.client-go.k8s.io My AstaXie Object & Controller etcd kube-apiserver types register AstaXie Controller0 码力 | 29 页 | 2.12 MB | 1 年前3
Notions of time and progress - CS 591 K1: Data Stream Processing and Analytics Spring 2020vkalavri@bu.edu CS 591 K1: Data Stream Processing and Analytics Spring 2020 2/06: Notions of time and progress Vasiliki Kalavri | Boston University 2020 Mobile game application • input stream: Vasiliki Kalavri | Boston University 2020 • Processing time • the time of the local clock where an event is being processed • a processing-time window wouldn’t account for game activity while the train Event time • the time when an event actually happened • an event-time window would give you the extra life • results are deterministic and independent of the processing speed Notions of time 5 Vasiliki0 码力 | 22 页 | 2.22 MB | 1 年前3
Is Your Virtual Machine Really Ready-to-go with Istio?#IstioCon Is Your Virtual Machine Really Ready-to-go with Istio? Kailun Qin, Intel Haoyuan Ge #IstioCon Quick Summary (from Google Cloud Next ’19 [1]) VM works on Istio! [1] Istio Service Mesh Proxy to Proxy kernel bypass w/ HW acceleration #IstioCon Quick Summary, Today Istio is ready-to-go for VM native. And should/will be ready for MORE! #IstioCon Thank you! Github: @kailun-qin @harryge000 码力 | 50 页 | 2.19 MB | 1 年前3
Istio-redirector: the way
to go to manage
thousands of HTTP
redirections#IstioCon Istio-redirector: the way to go to manage thousands of HTTP redirections Etienne Fontaine (@etifontaine) #IstioCon Istio-redirector 301-redirection from /bus/routes/bruxelles/lille0 码力 | 13 页 | 1.07 MB | 1 年前3
Operator Pattern 用 Go 扩展 Kubernetes 的最佳实践Operator Pattern:用 Go 扩展 K8s 的最佳实践 吴学强 ApeCloud KubeBlocks Maintainer & 研发总监 目 录 认识我们 00 什么是 Operator 01 Operator 基础模型 02 Operator 最佳实践 03 我们是谁 云猿生(ApeCloud)是一家提供数据库内核与管理平台的基 础软件开发商. KubeBlocks 熟悉如何生成二级资源(Managed Resource) 6. 熟悉如何写 UT 7. 熟悉如何制作 Helm Chart 课后思考题: 1. 如何不启动 WebHook? 2. API 只要用 Go 写就可以了吗,需要修改对应的 YAML 文件吗? 3. Setup 阶段,用 Watch 函数取代 Owns 并实现同样的目的。 4. Reconcile 函数为什么不区分 Create、Update0 码力 | 21 页 | 3.06 MB | 9 月前3
2.4 Go在分布式docker里面的应用_孙宏亮Go在Docker分布式环境中 的应用 孙宏亮@DaoCloud allen.sun@daocloud.io 个人介绍 • 孙宏亮 • DaoCloud技术合伙人,高级工程师 • 热爱golang&docker • 《Docker源码分析》作者 • docker、swarm等项目committer Agenda • Docker生态&Golang • DaoCloud&Golang •0 码力 | 19 页 | 1.27 MB | 1 年前3
石墨文档Go在K8S上微服务的实践-彭友顺石墨文档GO在K8S上微服务的实践 彭友顺 石墨文档 基础设施负责人 目 录 1 架构演进 01 2 微服务的生命周期 02 3 如何管理好微服务 03 架构演进 第一部分 架构演进 单体应用时期 垂直应用时期 微服务时期 快速、简单 耦合强 隔离、稳定 复制多 隔离、稳定 复用高 架构演进 组件增多 架构复杂 维护困难 架构演进 传统模式 K8S模式 format、lint、breaking 检查。 CI build 阶段 • 会基于 pb 的注释自动产生文档,并推送至内部的微服务管理系统接口平台中 • 会生成 Go/PHP/Node/Java 桩代码和错误码,推送到指定的仓库 开发阶段 • go get 客户端、服务端的gRPC和错误码的代码 配置 对接 Debug • 配置驱动 • 配置补齐 • 配置工具 • Proto的管理 • 配置补齐 • 配置工具 • Proto的管理 • 错误码管理 • 调试gRPC • 调试信息 • 错误定位 Generate • protoc -I {error proto file} --go-errors_out={output directory} • 实现我们自定义的error类型,方便断言。 • 根据注解的code信息,在错误码中生成对应的grpc status code •0 码力 | 41 页 | 3.20 MB | 1 年前3
Apache Kyuubi 1.4.1 Documentationbefore fully establishing the session. Otherwise, an existing application will be reused, and the time cost here is negligible. Similarly, you can create a session for another user(or principal, subject application web UI: http://10.242.189.214:56774 master: local[*] deploy mode: client version: 3.2.0 Start time: 2021-10-28T13:55:05.528 User: kent 2021-10-28 13:56:27.604 INFO operation.ExecuteStatement: Processing 0.0 B 0.0 B 0.0 ˓→B 0.0 B 2021-10-28 13:56:27.666 INFO scheduler.StatsReportListener: fetch wait time:(count: 1, ˓→ mean: 0.000000, stdev: 0.000000, max: 0.000000, min: 0.000000) 2021-10-28 13:56:270 码力 | 148 页 | 6.26 MB | 1 年前3
Apache Kyuubi 1.4.0 Documentationbefore fully establishing the session. Otherwise, an existing application will be reused, and the time cost here is negligible. Similarly, you can create a session for another user(or principal, subject application web UI: http://10.242.189.214:56774 master: local[*] deploy mode: client version: 3.2.0 Start time: 2021-10-28T13:55:05.528 User: kent 2021-10-28 13:56:27.604 INFO operation.ExecuteStatement: Processing 0.0 B 0.0 B 0.0 ˓→B 0.0 B 2021-10-28 13:56:27.666 INFO scheduler.StatsReportListener: fetch wait time:(count: 1, ˓→ mean: 0.000000, stdev: 0.000000, max: 0.000000, min: 0.000000) 2021-10-28 13:56:270 码力 | 148 页 | 6.26 MB | 1 年前3
Apache Kyuubi 1.7.3 Documentationin the above case to create another connection, the engine will be reused. You may notice that the time cost for connection here is much shorter than the last round. If you use a different user to create Kubernetes, it can be used to find, share, and use software built for Kubernetes. Install Helm Please go to Installing Helm page to get and install an appropriate release version for yourself. Get Kyuubi Apache Derby-based metastore for each application, and this metadata can only be seen by one user at a time, e.g. bin/beeline -u 'jdbc:hive2://localhost:10009/' -n kentyao Connecting to jdbc:hive2://localhost:10009/0 码力 | 211 页 | 3.79 MB | 1 年前3
共 469 条
- 1
- 2
- 3
- 4
- 5
- 6
- 47













