Skip to Content
Kubernetes编程
book

Kubernetes编程

by Michael Hausenblas, Stefan Schimanski
June 2021
Intermediate to advanced
335 pages
5h 50m
Chinese
China Electric Power Press Ltd.
Content preview from Kubernetes编程
168
6
Rook operator kit
这是一个用于实现
Operator
的公共库。它起源于
Rook Operator
,但是发
展成了一个独立的项目。
ericchiang/k8s
这是
Eric Chiang
基于
Kubernetes Protocol Buffers
协议生成的精简的
Go
客户端。它的行为基本和
Kubernetes
官方的
client-go
客户端一致,只需
要额外引入两个依赖。尽管它还存在一些小缺陷(例如处理集群的设置还
存在一些问题),它仍是一个简单易用的
Go
语言的包。
kutil
AppsCode
通过
kutil
工具为
Kubernetes
提供了
client-go
的插件。
基于命令行客户端的方式
如果是为了实验或测试,也可以通过调用
kubectl
来进行基于客户端的编
程(例如
kubecuddler
库)。
尽管本书重点关注如何使用
Go
语言来开发
Operator
,但是你也可以用别的
编程语言来开发
Operator
。两个比较出名的例子是
Flant
Shell-operator
Zalando
Kopf
Kubernetes Operator Framework
),前者可以让你用美好
而古老的
Shell
脚本来编写
Operator
逻辑,后者则是一个
Python
框架和库。
正如本章开头所提到的,
Operator
领域仍处于迅速的演化当中,越来越多的
从业者以代码的形式分享他们的智慧和最佳实践,所以请持续关注最新的工
具。关注线上资源和论坛,例如
#kubernetes-operators
#kubebuilder ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

解密金融数据

解密金融数据

Justin Pauley
Python机器学习案例精解

Python机器学习案例精解

Posts & Telecom Press, Yuxi (Hayden) Liu
软件开发实践:项目驱动式的Java开发指南

软件开发实践:项目驱动式的Java开发指南

Raoul-Gabriel Urma, Richard Warburton

Publisher Resources

ISBN: 9787519854799