# Kubernetes Training Welcome to the Kubernetes class. This notes contain a lot of supporting material from public sources that I feel will improve your understanding of Kubernetes and the corresponding tools. ## Book https://www.redhat.com/cms/managed-files/cm-oreilly-kubernetes-patterns-ebook-f19824-201910-en.pdf ## Preparing for CKAD https://github.com/dgkanatsios/CKAD-exercises https://www.cncf.io/announcements/2021/06/02/linux-foundation-kubernetes-certifications-now-include-exam-simulator/ ## Docker https://www.docker.com/sites/default/files/d8/2019-09/docker-cheat-sheet.pdf ## kubectl https://v1-20.docs.kubernetes.io/docs/reference/kubectl/cheatsheet/ https://theithollow.com/2020/01/21/active-directory-authentication-for-kubernetes-clusters/ https://computingforgeeks.com/active-directory-authentication-for-kubernetes-kubectl/ ## Installation https://github.com/kelseyhightower/kubernetes-the-hard-way https://docs.google.com/presentation/d/1Gp-2blk5WExI_QR59EUZdwfO2BWLJqa626mK2ej-huo/ ## Networking https://www.youtube.com/watch?v=7LRtytR6ZbA https://www.youtube.com/watch?v=NFApeJRXos4 https://medium.com/google-cloud/understanding-kubernetes-networking-pods-7117dd28727 https://github.com/ahmetb/kubernetes-network-policy-recipes/ https://www.youtube.com/watch?v=tq9ng_Nz9j8 https://aws.amazon.com/de/blogs/containers/optimize-ip-addresses-usage-by-pods-in-your-amazon-eks-cluster/ ## Troubleshooting Kubernetes https://kubernetes.io/docs/tasks/debug-application-cluster/debug-application/ https://kubernetes.io/docs/tasks/debug-application-cluster/debug-running-pod/ https://kubernetes.io/docs/tasks/debug-application-cluster/debug-service/ https://kubernetes.io/docs/tasks/debug-application-cluster/debug-cluster/ ## Helm https://phoenixnap.com/kb/helm-commands-cheat-sheet https://tech.paulcz.net/blog/creating-a-helm-chart-monorepo-part-1/ https://static.sched.com/hosted_files/kccnceu20/ee/Helm-Deep-Dive-KubeCon-2020.pdf https://helm.sh/docs/chart_best_practices/dependencies/#conditions-and-tags https://github.com/thomastaylor312/advanced-helm-demos ## Kustomize https://blog.stack-labs.com/code/kustomize-101/ https://youtu.be/1fCAwFGX38U https://kubernetes.io/docs/tasks/manage-kubernetes-objects/kustomization/ https://www.youtube.com/watch?v=Rq44PY-xj9M ## Flux https://www.youtube.com/watch?v=nGLpUCPX8JE https://github.com/fluxcd/flux2-kustomize-helm-example ## Kubeseal https://www.youtube.com/watch?v=ShGHCpUMdOg ## etcd https://monzo.com/blog/2017/11/29/very-robust-etcd https://coreos.com/blog/etcd-3.2-announcement https://coreos.com/blog/announcing-etcd-3.3 https://coreos.com/blog/history-etcd https://www.slideshare.net/mitakeh/understanding-performance-aspects-of-etcd-and-raft ## Audit https://www.youtube.com/watch?v=WJ3w-hyt0hY ## Cost Management https://www.finops.org/projects/calculating-container-costs/ https://jaxenter.com/kubernetes-cost-management-176429.html https://harness.io/blog/kubernetes-cost-analysis/?WT.mc_id=ravikirans ## History https://kubernetes.io/blog/2015/04/borg-predecessor-to-kubernetes/ https://storage.googleapis.com/pub-tools-public-publication-data/pdf/43438.pdf https://storage.googleapis.com/pub-tools-public-publication-data/pdf/5bf4ebfbf98ead7f6ee1552860fab88e75a5ed7e.pdf ## Service Mesh ### istio https://istio.io/latest/blog/2020/multiple-control-planes/ ### Envoy https://www.youtube.com/watch?v=gQF23Vw0keg https://de.slideshare.net/InfoQ/lyfts-envoy-embracing-a-service-mesh ## Extending Kubernetes ### CRDs https://www.oreilly.com/library/view/programming-kubernetes/9781492047094/ch01.html https://book-v1.book.kubebuilder.io ### Admission Controllers https://kubernetes.io/blog/2019/03/21/a-guide-to-kubernetes-admission-controllers/ ### Custom Scheduler https://kubernetes.io/docs/concepts/scheduling-eviction/scheduling-framework/ https://kubernetes.io/docs/reference/scheduling/policies/ https://www.youtube.com/watch?v=4TaHQgG9wEg https://blog.heptio.com/core-kubernetes-jazz-improv-over-orchestration-a7903ea92ca ## Other Stuff ### KubeCon 2019 Sessions https://www.youtube.com/playlist?list=PLj6h78yzYM2PpmMAnvpvsnR4c27wJePh3 ### Lambda https://aws.amazon.com/blogs/compute/introducing-aws-lambda-destinations/ https://www.refinery.io/post/how-to-chain-serverless-functions-call-invoke-a-lambda-from-another-lambda https://www.youtube.com/watch?v=Jkx6kVbDpL4 ### Microservices https://samnewman.io/talks/principles-of-microservices/ https://martinfowler.com/articles/microservices.html https://martinfowler.com/bliki/BoundedContext.html https://martinfowler.com/bliki/CQRS.html https://martinfowler.com/bliki/DomainDrivenDesign.html ### Resiliency https://www.youtube.com/watch?v=Fup5vHEvU50 https://github.com/bbc/chaos-lambda ### DevOps ![CALMS](https://www.devopsgroup.com/wp-content/uploads/2019/11/devopsgroup_calms_model_watermark_001-01.svg) https://www.youtube.com/watch?v=LdOe18KhtT4 https://www.kitchensoap.com/2010/11/07/mttr-mtbf-for-most-types-of-f/ ### Organization https://www.youtube.com/watch?v=4GK1NDTWbkY ### InnerSource https://www.youtube.com/watch?v=r4QU1WJn9f8 https://www.youtube.com/watch?v=D3C12ojRcp0 Give back to the OpenSource community by being part of it! ### Incident & Problem Management https://community.monzo.com/t/resolved-current-account-payments-may-fail-major-outage-27-10-2017/26296/95 https://monzo.statuspage.io