> cd $GOPATH/src/k8s-practices
> touch boilerplate.go.txt
> apiserver-boot init repo --domain jw.io
> apiserver-boot create group version resource --group insect --version v1beta1 --kind Bee
> apiserver-boot build generated # run the code generators and build the executables
> apiserver-boot build executables
> apiserver-boot build docs # generate doc
> apiserver-boot run local # run locally
> kubectl --kubeconfig kubeconfig api-versions
> kubectl --kubeconfig kubeconfig create -f sample/bee.yaml
> go test ./pkg/... # run test case
> # run in minikube
> kubectl create ns insect
> apiserver-boot build config --local-minikube --name insect --namespace insect
> kubectl create -f config/apiserver.yaml
> apiserver-boot run local-minikube # aggregated with the minikube cluster
> apiserver-boot build container # cross-compile the go binaries into a container image
> apiserver-boot build config # emit yaml configuration for running the apiserver, controller-manager and etcd in a cluster
-
Notifications
You must be signed in to change notification settings - Fork 0
jwyx3/k8s-p
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
personal practice
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published