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.
  • OS selection and preparation (Ubuntu, RHEL, Rocky Linux).
  • Network prerequisites and firewall configuration.

Installing Container Runtimes

  • Comparison of container runtime options: containerd vs 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 first 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 vs 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, Weave.
  • Installation and configuration of 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.
  • Alternatives 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.
  • Capabilities for snapshots and cloning.

Cluster Security

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

Self-Hosted Container Registry

  • Deploying the Harbor registry.
  • Setting up 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.
  • Certificate rotation procedures.
  • Node maintenance and cordoning techniques.

Backup and Disaster Recovery

  • Etcd backup and restore procedures.
  • Using Velero for cluster resource and PV backup.
  • 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 containerization concepts.
  • Experience in Linux system administration.
  • Foundational knowledge of networking principles.
  • Proficiency with command-line tools and SSH.

Target Audience

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

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories