Get in Touch
 Duration 21 hours

Course Outline

Introduction to Self-Managed Kubernetes

  • Overview of Kubernetes architecture and core components.
  • Trade-offs between managed and self-managed Kubernetes.
  • Considerations regarding vendor lock-in and the benefits of sovereignty.
  • Deployment methods: kubeadm, kOps, and manual installation.

Planning Your Infrastructure

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

Installing Container Runtimes

  • Comparing container runtime options: containerd vs CRI-O.
  • Installation and configuration of containerd.
  • Installation and configuration of CRI-O.
  • Runtime security considerations.

Bootstrapping the Cluster with kubeadm

  • Installation of kubeadm, kubelet, and kubectl.
  • Initializing the first control plane node.
  • Configuring kubeconfig for cluster access.
  • Joining 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

  • Selection of 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 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.
  • Deployment of ingress controllers (nginx, Traefik).

Storage Solutions

  • Concepts of storage classes and CSI drivers.
  • Local persistent volumes.
  • Setup of NFS provisioner.
  • Distributed storage options: Ceph RBD, OpenEBS.
  • Snapshot and cloning capabilities.

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

  • Deployment of Harbor registry.
  • Docker Registry setup.
  • Image replication and vulnerability scanning.
  • Registry authentication and integration.

Monitoring and Observability

  • Deployment of the Prometheus and Grafana stack.
  • VictoriaMetrics as a lightweight alternative.
  • Collection of node and pod metrics.
  • Creation of custom alerting rules and dashboards.
  • Log aggregation using Loki or Fluentd.

Cluster Maintenance

  • Kubernetes version upgrades using kubeadm.
  • Rolling updates for control plane components.
  • Certificate rotation procedures.
  • Node maintenance and cordoning.

Backup and Disaster Recovery

  • etcd backup and restore procedures.
  • Using Velero for cluster resource and PV backup.
  • Cross-site replication strategies.
  • Testing recovery procedures.

Multi-Cluster Management

  • Cluster management using Rancher or Portainer.
  • Concepts of cluster federation.
  • Workload distribution strategies.

Requirements

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

Target Audience

  • DevOps/SRE engineers.
  • System administrators.
  • Technical architects.
  • Infrastructure engineers seeking vendor independence.

Number of participants


Price per participant

Testimonials (1)

Upcoming Courses

Related Categories