- Getting Started: https://kubernetes.io/
- Cloud Native Computing Foundation: https://www.cncf.io/
- Course to learn Kubernetes: https://courses.edx.org/courses/course-v1:LinuxFoundationX+LFS158x+2T2019/course/. As a first step install the software called Minikube ( see Instructions here: https://kubernetes.io/docs/setup/learning-environment/minikube/), as a part of which you will need to install kubectl
Install go 1.12 (google for it), then clone kubernetes source code from git. We will start navigating the code base using the kubectl command, use the following to build kubectl e.g. on my mac
$ make WHAT='cmd/kubectl'
+++ [1014 17:55:59] Building go targets for darwin/amd64:which shows up in the output directory as :
cmd/kubectl
./_output/local/go/bin/kubectlTo look at the source code ; go to the directory cmd; you will see the following files that have an entrypoint main defined, which points out all the different things that the kubernetes product is built out of.
./_output/local/bin/darwin/amd64/kubectl
- clicheck/check_cli_conventions.go:func main() {
- cloud-controller-manager/controller-manager.go:func main() {
- gendocs/gen_kubectl_docs.go:func main() {
- genkubedocs/gen_kube_docs.go:func main() {
- genman/gen_kube_man.go:func main() {
- genswaggertypedocs/swagger_type_docs.go:func main() {
- genyaml/gen_kubectl_yaml.go:func main() {
- hyperkube/main.go:func main() {
- importverifier/importverifier.go:func main() {
- kube-apiserver/apiserver.go:func main() {
- kube-controller-manager/controller-manager.go:func main() {
- kube-proxy/proxy.go:func main() {
- kube-scheduler/scheduler.go:func main() {
- kubeadm/kubeadm.go:func main() {
- kubectl/kubectl.go:func main() {
- kubelet/kubelet.go:func main() {
- kubemark/hollow-node.go:func main() {
- linkcheck/links.go:func main() {
- preferredimports/preferredimports.go:func main() {
- verifydependencies/verifydependencies.go:func main() {
No comments:
Post a Comment