Get in Touch
 Duration 21 hours

Course Outline

Introduction to Self-Managed Kubernetes

  • Kubernetes architecture and its core components.
  • Trade-offs between managed and self-managed Kubernetes.
  • Concerns regarding vendor lock-in and the benefits of sovereignty.
  • Deployment options including kubeadm, kOps, and manual installation.

Infrastructure Planning

  • Hardware sizing for control plane and worker nodes.
  • High availability requirements and topology design.
  • Operating system selection and preparation (Ubuntu, RHEL, Rocky Linux).
  • Network prerequisites and firewall configuration.

Installing Container Runtimes

  • Container runtime options: comparing containerd and CRI-O.
  • Installation and configuration of containerd.
  • Installation and configuration of CRI-O.
  • Security considerations for container runtimes.

Bootstrapping the Cluster with kubeadm

  • Installing kubeadm, kubelet, and kubectl.
  • Initializing the primary control plane node.
  • Configuring kubeconfig for cluster access.
  • Adding additional control plane nodes for high availability.
  • Joining worker nodes to the cluster.

Configuring High Availability

  • Stacked versus external etcd topologies.
  • Setting up HAProxy or Keepalived for API server load balancing.
  • Certificate management and renewal processes.
  • Backup and recovery strategies for etcd.

Container Networking

  • Selecting CNI plugins: Calico, Cilium, Flannel, or Weave.
  • Installing and configuring Calico.
  • Implementing network policies for security.
  • Node-to-node communication and pod networking.
  • Exposing services without relying on cloud load balancers.

Service Load Balancing

  • Using MetalLB for bare-metal load balancing.
  • Configuring Layer 2 and BGP modes.
  • Alternative solutions using Keepalived and HAProxy.
  • Deploying Ingress controllers (nginx, Traefik).

Storage Solutions

  • Concepts of Storage Classes and CSI drivers.
  • Local persistent volumes.
  • Setting up NFS provisioners.
  • Distributed storage options such as Ceph RBD and OpenEBS.
  • Snapshot and cloning capabilities.

Cluster Security

  • Certificate authority and PKI management.
  • RBAC configuration and service account management.
  • Pod security standards and admission controllers.
  • Securing the API server and etcd.
  • Image signing and verification processes.

Self-Hosted Container Registry

  • Deploying a Harbor registry.
  • Setting up a Docker Registry.
  • Image replication and vulnerability scanning.
  • Registry authentication and integration.

Monitoring and Observability

  • Deploying the Prometheus and Grafana stack.
  • Using VictoriaMetrics as a lightweight alternative.
  • Collecting node and pod metrics.
  • Creating custom alerting rules and dashboards.
  • Log aggregation using Loki or Fluentd.

Cluster Maintenance

  • Upgrading Kubernetes versions using kubeadm.
  • Performing rolling updates for control plane components.
  • Procedures for certificate rotation.
  • Node maintenance and cordoning.

Backup and Disaster Recovery

  • etcd backup and restore procedures.
  • Using Velero for cluster resource and PV backups.
  • Strategies for cross-site replication.
  • Testing recovery procedures.

Multi-Cluster Management

  • Managing clusters with Rancher or Portainer.
  • Concepts of cluster federation.
  • Strategies for workload distribution.

Requirements

  • A solid understanding of containers and the containerization process.
  • Practical experience with Linux system administration.
  • Fundamental knowledge of networking concepts.
  • Familiarity with command-line utilities and SSH.

Target Audience

  • DevOps and SRE engineers.
  • System administrators.
  • Technical architects.
  • Infrastructure engineers aiming for vendor independence.

Testimonials (1)

Related Categories