Kuterneres 的源码是go语言写的,非常庞大,读起来挺费时间的,但其实创建一个Operator的逻辑基本都是类似的
所以Redhat 为我们提供了一个Operator SDK , 支持andible helm 和 go ,让我们能轻松编写自己的Operator
如何安装:
1 2 3 4 |
$ go get -d github.com/operator-framework/operator-sdk $ cd $GOPATH/src/github.com/operator-framework/operator-sdk $ git checkout master $ make tidy $ make install |
安装完成以后可以通过如下命令检查是否安装成功:
1 |
operator-sdk version |
Latest posts by Zhiming Zhang (see all)
- istio Ingress Gateways - 十一月 25, 2020
- Istio VirtualService - 十一月 23, 2020
- istio 组件 - 十一月 18, 2020