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
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 域的复杂有状态应用程序。 给出了用 TPR + controller- runtime 早期版本的 sample: etcd operator K8s 1.9 版本发布,CRD进入 beta 阶段并正式取代 TPR; controller-runtime 加入 K8s 社 区并正式发布; 自此,CRD + controller-runtime 逐渐成为开发 operator 的首选 Operator Operator = CRD + control loop, i.e, Declaretive API + Automation; kubebuilder + controller-runtime + helm Operator Capability Levels Installation of the workload • Operator deploys an Operand0 码力 | 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
Dapr september 2023 security audit reporthttps://github.com/dapr/dapr Language Go Repository https://github.com/dapr/components-contrib Language Go Repository https://github.com/dapr/kit Language Go 4 Dapr security audit 2023 Threat model model Dapr is a framework for building cloud-native applications. It consists of a runtime and a set of building blocks that allow users to move infrastructure-related tasks out of their applications into multiple microservices. Illustrated high-level overview Having outlined the main parts of Dapr, the runtime and the components, we can look at a high-level view of Dapr: 6 Dapr security audit 2023 At the0 码力 | 47 页 | 1.05 MB | 1 年前3
AWS LAMBDA TutorialAWS Lambda supports languages like NodeJS, Java, Python, C# and Go. If you are novice to any of these technologies, we suggest you to go through tutorials related to these before proceeding with this .......... 88 8. AWS LAMBDA — FUNCTION IN GO ......................................................................................... 90 Installing Go ............................................ AWS Lambda Function using GO .............................................................................................................. 94 Lambda function handler with Go.........................0 码力 | 393 页 | 13.45 MB | 1 年前3
BAETYL 0.1.6 DocumentationContributing Workflow Code Review Merge Rule Installation Quick Install Baetyl Install the container runtime Install Baetyl Import the example configuration (optional) Start Baetyl Verify successful installation Development How to write a python script for Python runtime Function Name Convention Parameter Convention Hello World How to write a javascript for Node runtime Function Name Convention Parameter Convention Python runtime Import requests third-party libraries Import Pytorch third-party libraries How to import third-party libraries for Node runtime Import Lodash third-party libraries Customize Runtime Module0 码力 | 119 页 | 11.46 MB | 1 年前3
BAETYL 0.1.6 Documentation. . . . . . . . . . . . . . . . . . . 24 4 Quick Install Baetyl 25 4.1 Install the container runtime . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 4.2 Install Baetyl module . . . . . . . . . . . . . . . . . . . . . . . 70 11 How to write a python script for Python runtime 79 11.1 Function Name Convention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 12 How to write a javascript for Node runtime 85 12.1 Function Name Convention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .0 码力 | 120 页 | 7.27 MB | 1 年前3
共 402 条
- 1
- 2
- 3
- 4
- 5
- 6
- 41













