学习kubesphere开发环境
https://github.com/kubesphere/community
https://github.com/kubesphere/community/tree/master/developer-guide
因为kubesphere有些地方用了比较老的代码,所以要在gopath下,而最新的gomod 目录则不需要
https://github.com/kubesphere/community/tree/master/developer-guide/development
第一,工作流,知道怎么提交代码
https://github.com/kubesphere/community/blob/master/developer-guide/development/development-workflow.md
fork --Define a local working directory:----.........略
https://gist.github.com/zryfish/6e8bb8f90eb06a2f4634e1083feb1d1f
Environment
- A running KubeSphere cluster (Kubernetes version >v1.15.x <v1.19.x)
- Go (>1.11.x)
- Docker (18.x)
- Telepresence - for debugging (https://www.telepresence.io/ )
- kubebuilder (latest stable version is ok https://github.com/kubernetes-sigs/kubebuilder)
- More tools for debugging https://github.com/kubernetes/community/blob/master/contributors/devel/development.md#installing-required-software
Reference
- Development-workflow(https://github.com/kubesphere/community/blob/master/developer-guide/development/development-workflow.md)
- https://github.com/kubesphere/community/blob/master/developer-guide/development/quickstart.md
- https://github.com/kubernetes/community/blob/master/contributors/devel/README.md
- https://github.com/kubernetes/sample-controller
kapis表示kubesphere自己特有的api
cat /etc/kubesphere/kubesphere.yaml
本机curl -v http://localhost:9090/kapis/config.kubesphere.io/v1alph2/config/configz
查看机器启用情况
网友评论