# Understanding source code

**URL:** <https://discuss.kubernetes.io/t/understanding-source-code/24482>\
**Category:** General Discussions\
**Tags:** development\
**Created:** [June 11, 2023, 8:20am UTC](https://discuss.kubernetes.io/t/understanding-source-code/24482 "2023-06-11T08:20:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravish\_Kumar](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/ravish_kumar/32/12696_2.png) [@Ravish\_Kumar](https://discuss.kubernetes.io/u/Ravish_Kumar)\
**Post date:** [June 11, 2023, 8:20am UTC](https://discuss.kubernetes.io/t/understanding-source-code/24482/1 "2023-06-11T08:20:15Z")

</div>

I was trying to understand the source code so that I can contribute, there is two codebase for apiserver one is in route kubernetes/pkg  
/kubeapiserver, and other one is on kubernetes/staging/src/k8s.io/apiserver/  
If apiserver code is maintained in seperate package, i don’t find kubernetes/pkg  
/kubeapiserver code is referenced on stagging level package, my question is how code inside “kubernetes/pkg  
/kubeapiserver” is used or make contribution to apiserver

---

<div class="post-metadata">

**Author:** ![thockin](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/thockin/32/2457_2.png) [@thockin](https://discuss.kubernetes.io/u/thockin)\
**Post date:** [June 11, 2023, 9:32pm UTC](https://discuss.kubernetes.io/t/understanding-source-code/24482/2 "2023-06-11T21:32:56Z")

</div>

If you want to look at APIserver, start with cmd/kube-apiserver
