Get in Touch
 Duration 21 hours

Course Outline

Foundations of Self-Managed Kubernetes

  • Overview of Kubernetes architecture and its core components
  • Comparing the trade-offs between managed and self-managed Kubernetes
  • Addressing vendor lock-in concerns and highlighting sovereignty benefits
  • Exploring deployment options: kubeadm, kOps, and manual installation

Infrastructure Planning

  • Hardware sizing strategies for control plane and worker nodes
  • Defining high-availability requirements and topologies
  • Selecting and preparing operating systems (Ubuntu, RHEL, Rocky Linux)
  • Network prerequisites and firewall configuration

Setting Up Container Runtimes

  • Evaluating container runtime options: containerd vs CRI-O
  • Installation and configuration of containerd
  • Installation and configuration of CRI-O
  • Considerations for runtime security

Bootstrapping the Cluster with kubeadm

  • Installing kubeadm, kubelet, and kubectl
  • Initializing the first control plane node
  • Configuring kubeconfig for secure cluster access
  • Adding extra control plane nodes to achieve HA
  • Onboarding worker nodes to the cluster

Implementing High Availability

  • Comparing stacked vs external etcd topologies
  • Configuring HAProxy or Keepalived for API server load balancing
  • Managing and renewing certificates
  • Developing backup and recovery strategies for etcd

Container Networking

  • Selecting CNI plugins: Calico, Cilium, Flannel, Weave
  • Installation and configuration of Calico
  • Implementing network policies for enhanced security
  • Managing 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
  • Exploring Keepalived and HAProxy as alternatives
  • Deploying ingress controllers (nginx, Traefik)

Storage Solutions

  • Understanding storage classes and CSI drivers
  • Implementing local persistent volumes
  • Setting up the NFS provisioner
  • Evaluating distributed storage options: Ceph RBD, OpenEBS
  • Utilizing snapshot and cloning capabilities

Cluster Security

  • Managing the certificate authority and PKI
  • Configuring RBAC and managing service accounts
  • Applying pod security standards and admission controllers
  • Hardening the API server and etcd
  • Implementing image signing and verification

Self-Hosted Container Registry

  • Deploying the Harbor registry
  • Setting up Docker Registry
  • Managing image replication and vulnerability scanning
  • Configuring 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
  • Aggregating logs with Loki or Fluentd

Cluster Maintenance

  • Performing Kubernetes version upgrades via kubeadm
  • Executing rolling updates for control plane components
  • Following certificate rotation procedures
  • Managing node maintenance and cordoning

Backup and Disaster Recovery

  • Executing etcd backup and restore procedures
  • Using Velero for cluster resource and PV backups
  • Implementing cross-site replication strategies
  • Testing recovery procedures

Multi-Cluster Management

  • Managing clusters with Rancher or Portainer
  • Understanding cluster federation concepts
  • Strategizing workload distribution

Requirements

  • A solid understanding of containers and the containerization process
  • Practical experience with Linux system administration
  • Foundational knowledge of networking concepts
  • Proficiency with command line tools and SSH

Target Audience

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

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories