{"repo":"diegolnasc/kubernetes-best-practices","free":true,"listed":false,"github":"https://github.com/diegolnasc/kubernetes-best-practices","clone":"git clone https://github.com/diegolnasc/kubernetes-best-practices.git","description":"A cookbook with the best practices to working with kubernetes.","language":null,"stars":1505,"topics":["kubernetes","container","documentation"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Kubernetes Best Practices 101 In most cases, you learn to use platforms to meet the current business need or on standalone projects. The silver lining is the encouragement of learning and at some point this becomes knowledge, however, hands-on work can lead to cuts in paths that later cause a series of problems in productive environments. Therefore, the purpose of this guide is to help with the learning curve, helping to prepare a more stable, reliable and functional environment. Documentation 📙 Kubernetes Official Documentation 📙 Google Kubernetes Engine (GKE) 📙 Amazon Elastic Kubernetes Service (EKS) 📙 Azure Kubernetes Service (AKS) Table of Contents - Container - Cluster + Infrastructure + Cost Optimization + Namespace - Basics + Security + RBAC + Labels + Probes + Resources + Scalability + Pod Disruption Budget + Affinity and Anti-Affinity + Taints and Tolerations + Deployment + Shutdown - Networking + Network Policies + Service Mesh - Secrets Management - Observability - Deployment and Review + GitOps --- --- Cluster --- Infrastructure I don't intend to go into infrastructure best practices, but we can say that the standard 'paperwork', private VPC, multiple networks, firewall rules etc. also apply for a kubernetes cluster. The points that need to be highlighted are: - Network : Set aside a network for the cluster and make sure there is enough space for the pods and services. So find out how many pods per node you want to use and make calculations in CIDR based on th","default_branch":null,"files":null,"tree":[],"storefront":"/r/diegolnasc","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/diegolnasc/kubernetes-best-practices/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}