# opsnull/follow-me-install-kubernetes-cluster

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/opsnull-follow-me-install-kubernetes-cluster).**

7,546 stars · 2,857 forks · Shell · NOASSERTION

## Links

- GitHub: https://github.com/opsnull/follow-me-install-kubernetes-cluster
- awesome-repositories: https://awesome-repositories.com/repository/opsnull-follow-me-install-kubernetes-cluster.md

## Topics

`containerd` `coredns` `docker` `docker-registry` `efk` `etcd` `flanneld` `harbor` `kubernetes`

## Description

This project provides a comprehensive guide and set of scripts for deploying and configuring a production-ready Kubernetes cluster from scratch. It centers on establishing a functional environment by installing core management components, storage, and networking across multiple nodes.

The implementation emphasizes high availability for the control plane, utilizing layer-4 load balancing and leader election for the API server, scheduler, and controller manager. It further ensures reliability through the deployment of a distributed key-value store for persistent runtime data.

The project covers a broad capability surface, including the configuration of overlay networks and cluster DNS, the setup of private container registries for image management, and the implementation of an observability stack for centralized logging and resource monitoring. Security is handled through a root certificate authority that manages TLS-based authentication and encryption across all cluster components.

The provided materials include detailed manuals for the installation process and a system of configuration scripts to standardize the deployment across nodes.

## Tags

### DevOps & Infrastructure

- [Control Plane Deployment Tools](https://awesome-repositories.com/f/devops-infrastructure/control-plane-deployment-tools.md) — Installs the core management infrastructure required to orchestrate workloads across the environment. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/05-1.master%E8%8A%82%E7%82%B9.md))
- [Kubernetes Cluster Deployments](https://awesome-repositories.com/f/devops-infrastructure/kubernetes-cluster-deployments.md) — Installs core components including management nodes, storage, and networking to establish a production-ready Kubernetes environment. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster#readme))
- [Kubernetes Cluster Management](https://awesome-repositories.com/f/devops-infrastructure/kubernetes-cluster-management.md) — Provides a complete deployment guide and toolkit for installing and managing a production-ready Kubernetes cluster.
- [Container Engine Runtimes](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/container-runtimes/runtime-configuration-interfaces/docker-socket-orchestrators/docker-target-configurators/container-engine-runtimes.md) — Installs a container engine across all nodes to manage the lifecycle of containerized workloads. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/06-3.containerd.md))
- [Node Initialization Coordination](https://awesome-repositories.com/f/devops-infrastructure/container-startup-coordination/node-initialization-coordination.md) — Prepares host systems by configuring hostnames and SSH trust before scheduling workloads. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/01.%E5%88%9D%E5%A7%8B%E5%8C%96%E7%B3%BB%E7%BB%9F%E5%92%8C%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F.md))
- [Control Plane Deployments](https://awesome-repositories.com/f/devops-infrastructure/control-plane-deployments.md) — Provides automated deployment and lifecycle management for the Kubernetes API server across master nodes. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/05-2.apiserver%E9%9B%86%E7%BE%A4.md))
- [Distributed Leader Election](https://awesome-repositories.com/f/devops-infrastructure/distributed-leader-election.md) — Implements coordination mechanisms to ensure a single active management instance via distributed leader election.
- [High Availability Control Planes](https://awesome-repositories.com/f/devops-infrastructure/enterprise-hosting-platforms/managed-control-planes/high-availability-control-planes.md) — Deploys a redundant controller manager with leader election to ensure continuous availability of control functions. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/05-3.controller-manager%E9%9B%86%E7%BE%A4.md))
- [High Availability Cluster Deployments](https://awesome-repositories.com/f/devops-infrastructure/helm-chart-management/high-availability-cluster-deployments.md) — Ensures API server availability by deploying multiple instances behind a layer-4 load balancer. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/06-2.apiserver%E9%AB%98%E5%8F%AF%E7%94%A8.md))
- [High Availability Clustering](https://awesome-repositories.com/f/devops-infrastructure/high-availability-clustering.md) — Coordinates server nodes and load balancing to ensure continuous service availability and fault tolerance. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/00.%E7%BB%84%E4%BB%B6%E7%89%88%E6%9C%AC%E5%92%8C%E9%85%8D%E7%BD%AE%E7%AD%96%E7%95%A5.md))
- [Scheduler High Availability](https://awesome-repositories.com/f/devops-infrastructure/high-availability-systems/scheduler-high-availability.md) — Deploys a multi-node scheduler with redundancy and discovery to maintain service availability. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/05-4.scheduler%E9%9B%86%E7%BE%A4.md))
- [Storage Cluster Deployment](https://awesome-repositories.com/f/devops-infrastructure/infrastructure/infrastructure-as-code/management/infrastructure-orchestration/production-cluster-deployers/storage-cluster-deployment.md) — Installs a distributed key-value store across multiple nodes to provide persistent storage for runtime data. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/04.etcd%E9%9B%86%E7%BE%A4.md))
- [Cluster Network Orchestration](https://awesome-repositories.com/f/devops-infrastructure/kubernetes-network-operators/cluster-network-orchestration.md) — Configures the runtime, proxy services, and CNI plugins to establish a functional cluster-wide network. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster#readme))
- [Remote Cluster Access](https://awesome-repositories.com/f/devops-infrastructure/remote-cluster-access.md) — Distributes server addresses and credentials to enable remote administrative management of the cluster. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/03.kubectl.md))
- [Worker Node Management](https://awesome-repositories.com/f/devops-infrastructure/worker-node-management.md) — Installs runtimes and node agents to integrate worker nodes into the cluster. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/06-1.worker%E8%8A%82%E7%82%B9.md))
- [Automated Node Joining](https://awesome-repositories.com/f/devops-infrastructure/worker-node-management/private-worker-node-provisioning/automated-node-joining.md) — Automates the process of adding worker nodes to the cluster using bootstrap credentials and service files. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/06-4.kubelet.md))
- [Token-Based Bootstrapping](https://awesome-repositories.com/f/devops-infrastructure/worker-node-management/token-based-bootstrapping.md) — Implements automated joining of worker nodes to the cluster using secure authentication tokens.
- [Environment Variable Management](https://awesome-repositories.com/f/devops-infrastructure/configuration-management/environment-management/environment-variable-management.md) — Provides scripts to manage and distribute host-level environment variables across all cluster nodes. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/01.%E5%88%9D%E5%A7%8B%E5%8C%96%E7%B3%BB%E7%BB%9F%E5%92%8C%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F.md))
- [Container Image Registries](https://awesome-repositories.com/f/devops-infrastructure/container-image-registries.md) — Sets up and configures container image registries for storing and distributing workloads. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/SUMMARY.md))
- [Private Registries](https://awesome-repositories.com/f/devops-infrastructure/container-image-registries/private-registries.md) — Implements self-hosted private container registries with certificate-based authentication and backend storage. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/09.Registry.md))
- [Cluster Management Dashboards](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/container-runtimes/runtime-configuration-interfaces/docker-socket-orchestrators/docker-target-configurators/docker-container-deployments/management-interfaces/cluster-management-dashboards.md) — Installs a web-based graphical interface for visualizing and managing cluster resources. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/08-3.dashboard%E6%8F%92%E4%BB%B6.md))
- [Container Image Distribution](https://awesome-repositories.com/f/devops-infrastructure/container-orchestration/image-management-tools/container-image-distribution.md) — Manages the distribution and storage of container images to enable application deployment across the cluster. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/09.Registry.md))
- [Failover Testing](https://awesome-repositories.com/f/devops-infrastructure/high-availability-clustering/failover-testing.md) — Enables verification of high availability by stopping active services to trigger leader elections. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/05-4.scheduler%E9%9B%86%E7%BE%A4.md))
- [Kubernetes Add-On Managements](https://awesome-repositories.com/f/devops-infrastructure/infrastructure-add-ons/service-mesh-add-ons/kubernetes-add-on-managements.md) — Enables and manages optional Kubernetes services such as DNS, dashboards, and monitoring. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster#readme))
- [Control Plane Node Provisioning](https://awesome-repositories.com/f/devops-infrastructure/node-configuration-files/control-plane-node-provisioning.md) — Distributes configuration files and credentials required to initialize scheduling services across multiple nodes. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/05-4.scheduler%E9%9B%86%E7%BE%A4.md))

### Data & Databases

- [Cluster State Stores](https://awesome-repositories.com/f/data-databases/distributed-configuration-store-integrations/cluster-state-stores.md) — Provisions a distributed etcd key-value store to maintain cluster consensus and persistent state. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/tree/v1.6.2))
- [Distributed Key-Value Stores](https://awesome-repositories.com/f/data-databases/distributed-key-value-stores.md) — Deploys a distributed key-value store to maintain consistent cluster state and configuration across nodes.

### Networking & Communication

- [DNS Cluster Orchestration](https://awesome-repositories.com/f/networking-communication/dns-cluster-orchestration.md) — Implements the deployment and management of distributed DNS server clusters to provide internal name resolution. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/08-2.coredns%E6%8F%92%E4%BB%B6.md))
- [Layer-4 Load Balancing](https://awesome-repositories.com/f/networking-communication/layer-4-load-balancing.md) — Distributes API traffic across multiple control plane instances using layer-4 load balancing.
- [Overlay Networks](https://awesome-repositories.com/f/networking-communication/multi-network-connectivity-tools/overlay-networks.md) — Creates virtual network layers to enable seamless communication between containers on different physical hosts.
- [Proxy Load Balancers](https://awesome-repositories.com/f/networking-communication/network-infrastructure-routing/network-proxying-tools/network-proxy-management/proxy-load-balancers.md) — Configures node-level routing and load balancing using proxy services to manage internal cluster traffic. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/06-5.kube-proxy.md))
- [Network Plugin Installers](https://awesome-repositories.com/f/networking-communication/proxy-installers/network-plugin-installers.md) — Installs a network plugin to enable transparent communication between isolated container workloads across nodes. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/06-6.calico.md))

### Security & Cryptography

- [Certificate Authorities](https://awesome-repositories.com/f/security-cryptography/certificate-authorities.md) — Provides a self-signed root certificate authority to encrypt all cluster component communication. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/02.%E5%88%9B%E5%BB%BACA%E6%A0%B9%E8%AF%81%E4%B9%A6%E5%92%8C%E7%A7%98%E9%92%A5.md))
- [Server Certificate Generators](https://awesome-repositories.com/f/security-cryptography/certificate-authorities/server-certificate-generators.md) — Creates TLS certificates and keys for servers and clients to ensure secure communication. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/05-2.apiserver%E9%9B%86%E7%BE%A4.md))
- [Certificate Management](https://awesome-repositories.com/f/security-cryptography/certificate-management.md) — Manages the generation and maintenance of CA certificates and keys for node communication. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/tree/v1.8.x))
- [Cluster Communication Security](https://awesome-repositories.com/f/security-cryptography/cluster-security/cluster-communication-security.md) — Secures internal component-to-component communication using root certificates and mutual TLS. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/SUMMARY.md))
- [Mutual TLS Authentication](https://awesome-repositories.com/f/security-cryptography/identity-access-management/authentication-strategies/machine-and-protocol-identity/specialized-authentication-protocols/mutual-tls-authentication.md) — Secures all cluster component communication using mutual TLS authentication and a self-signed root authority.
- [Administrative Key Assignments](https://awesome-repositories.com/f/security-cryptography/identity-based-access-control/credential-based-access-controls/administrative-key-assignments.md) — Generates high-privilege certificates and keys to authorize administrative requests to the API server. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/03.kubectl.md))
- [Identity & Key Management](https://awesome-repositories.com/f/security-cryptography/identity-key-management.md) — Establishes system identity through the generation of CA certificates and keys for TLS. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/tree/v1.14.x))
- [Security & HTTPS](https://awesome-repositories.com/f/security-cryptography/network-infrastructure-security/web-network-security/security-https.md) — Enforces HTTPS for all traffic and disables insecure ports to prevent unauthorized access. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster#readme))
- [Automated Certificate Management](https://awesome-repositories.com/f/security-cryptography/network-infrastructure-security/web-network-security/security-https/automated-certificate-management.md) — Automates the lifecycle of TLS certificates, including generation and rotation for cluster components. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/00.%E7%BB%84%E4%BB%B6%E7%89%88%E6%9C%AC%E5%92%8C%E9%85%8D%E7%BD%AE%E7%AD%96%E7%95%A5.md))
- [Security and Access Control](https://awesome-repositories.com/f/security-cryptography/security-and-access-control.md) — Implements TLS encryption and root certificates to secure access to cluster servers. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/README.md))
- [API Access Security](https://awesome-repositories.com/f/security-cryptography/api-access-security.md) — Implements security mechanisms to restrict API access using certificates, tokens, and authorization rules. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/06-4.kubelet.md))

### Software Engineering & Architecture

- [Certificate Request Approvals](https://awesome-repositories.com/f/software-engineering-architecture/approval-workflows/automated-approval-rules/certificate-request-approvals.md) — Implements authorization rules to automatically approve certificate signing requests for clients and servers. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/06-4.kubelet.md))

### System Administration & Monitoring

- [Observability Stacks](https://awesome-repositories.com/f/system-administration-monitoring/observability-stacks.md) — Deploys an integrated observability stack for centralized collection of system logs and resource metrics across nodes.
- [Cluster Health Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/cluster-health-monitoring.md) — Implements verification tests and certificate checks to ensure cluster infrastructure health. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/tree/v1.12.x))
- [Cluster Monitoring Dashboards](https://awesome-repositories.com/f/system-administration-monitoring/cluster-monitoring-dashboards.md) — Deploys graphical interfaces for observing node health and managing distributed system status. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/tree/v1.8.x))
- [Log Stack Orchestration](https://awesome-repositories.com/f/system-administration-monitoring/logging/application-logging-configurations/centralized-logging-architectures/log-stack-orchestration.md) — Orchestrates a collection of tools to store and visualize logs for centralized observability. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/08-5.EFK%E6%8F%92%E4%BB%B6.md))
- [Kubernetes Node Metrics](https://awesome-repositories.com/f/system-administration-monitoring/metric-collection/kubernetes-node-metrics.md) — Exposes CPU, memory, and network metrics from Kubernetes nodes for monitoring. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/06-4.kubelet.md))
- [System Usage Monitoring](https://awesome-repositories.com/f/system-administration-monitoring/monitoring-and-observability/observability-platforms/metric-performance-monitors/system-usage-monitoring.md) — Collects and displays real-time CPU and memory metrics via a metrics server. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/C.metrics-server%E6%8F%92%E4%BB%B6.md))
- [Observability Integrations](https://awesome-repositories.com/f/system-administration-monitoring/observability-integrations.md) — Deploys a combined stack of metrics and log tools to track overall system health. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/00.%E7%BB%84%E4%BB%B6%E7%89%88%E6%9C%AC%E5%92%8C%E9%85%8D%E7%BD%AE%E7%AD%96%E7%95%A5.md))
- [Observability Stack Deployments](https://awesome-repositories.com/f/system-administration-monitoring/observability-stack-deployments.md) — Installs a full suite of monitoring components to collect system metrics and visualize them via dashboards. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/08-4.kube-prometheus%E6%8F%92%E4%BB%B6.md))
- [State Store Service Units](https://awesome-repositories.com/f/system-administration-monitoring/service-configuration/state-store-service-units.md) — Creates service unit files to manage the runtime parameters and lifecycle of etcd storage nodes. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/04.etcd%E9%9B%86%E7%BE%A4.md))

### Development Tools & Productivity

- [Orchestration Component Configurations](https://awesome-repositories.com/f/development-tools-productivity/service-configuration-management/orchestration-component-configurations.md) — Defines service templates and parameters to manage the lifecycle and rate limits of the controller manager. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/05-3.controller-manager%E9%9B%86%E7%BE%A4.md))

### Operating Systems & Systems Programming

- [Container Runtime Host Tuning](https://awesome-repositories.com/f/operating-systems-systems-programming/container-runtime-host-tuning.md) — Tunes kernel parameters and manages firewalls to satisfy the requirements of the container engine. ([source](https://github.com/opsnull/follow-me-install-kubernetes-cluster/blob/master/01.%E5%88%9D%E5%A7%8B%E5%8C%96%E7%B3%BB%E7%BB%9F%E5%92%8C%E5%85%A8%E5%B1%80%E5%8F%98%E9%87%8F.md))
