David H Sells

Professional Portfolio

LLM Infrastructure with Kubernetes

Kubernetes Book Cover

About the Book

This comprehensive guide walks you through setting up a complete Kubernetes infrastructure for Large Language Models (LLMs). From initial host setup to deploying containers and configuring storage, this book provides detailed instructions for building a robust, scalable environment for LLM applications.

KubernetesLXDMicroK8sLLM

Book Overview

This book is divided into four main parts, each focusing on a different aspect of setting up and managing a Kubernetes infrastructure for LLM applications:

Part One: Setting Up the Host - Covers initial server setup, user creation, SSH configuration, and LXD installation and configuration. This section provides the foundation for your Kubernetes environment.

Part Two: Setting Up Containers and Kubernetes - Walks through creating LXC containers, installing MicroK8s, configuring storage with OpenEBS ZFS, and setting up networking with MetalLB.

Part Three: Test Deployments - Provides guidance on testing your Kubernetes setup with sample deployments, including ingress services and Cloudflared for secure external access.

Part Four: LLM Deployments - Focuses on deploying and managing LLM applications on your Kubernetes cluster, including setting up a local registry for worker nodes.

Detailed Table of Contents

Below is the detailed table of contents from the book:

View PDF VersionAdditional Writings

Book Details

  • Published:2023
  • Pages:320
  • Format:Digital, Markdown
  • Topics:Kubernetes, LXD, MicroK8s
  • Language:English

Key Technologies

LXD

A containerization platform that provides a secure and scalable environment with minimal overhead. It allows for easy management of system containers.

MicroK8s

A lightweight, single-package distribution of Kubernetes that is easy to install and use. Perfect for development, testing, and small production deployments.

OpenEBS

An open-source storage solution for Kubernetes that provides persistent storage for containerized applications with features like snapshots and clones.

MetalLB

A load-balancer implementation for bare metal Kubernetes clusters that integrates with standard network equipment to provide external IPs.