helloworld-operator
a k8s operator 、operator-sdk
Operator
参考
https://jicki.cn/kubernetes-operator/
https://learnku.com/articles/60683
https://opensource.actionsky.com/20210706-kubernetes-operator/
安装
(1)安装operator-sdk、go环境
(2)创建helloworld-operator目录,执行以下命令
operator-sdk init --domain mark8s.io --owner "mark" --repo github.com/example/helloworld-operator
执行后,查看当前目录结构:
[root@infra helloworld-operator]# operator-sdk init --domain mark8s.io --owner "mark" --repo github.com/example/helloworld-operator
Writi