补充operator
This commit is contained in:
parent
a72ff1b33f
commit
5b23f6b6af
12
skills/operator/README.md
Normal file
12
skills/operator/README.md
Normal file
@ -0,0 +1,12 @@
|
||||
# 如何开发 k8s operator
|
||||
|
||||
```sh
|
||||
# https://github.com/kubernetes-sigs/kubebuilder/releases/tag/v4.5.1
|
||||
curl -L -o kubebuilder "https://go.kubebuilder.io/dl/latest/$(go env GOOS)/$(go env GOARCH)"
|
||||
chmod +x kubebuilder && sudo mv kubebuilder /usr/local/bin/
|
||||
```
|
||||
|
||||
```sh
|
||||
kubebuilder version
|
||||
Version: main.version{KubeBuilderVersion:"4.5.1", KubernetesVendor:"1.32.1", GitCommit:"0ace7a8753c52b35014e43edc2a0b0454b78e769", BuildDate:"2025-02-21T20:16:18Z", GoOs:"darwin", GoArch:"arm64"}
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user