Complete Guide: Setting Up DevPod with Rackspace Spot banner
marcuspat marcuspat

Complete Guide: Setting Up DevPod with Rackspace Spot

DevOps & Infrastructure community intermediate

Description

This guide will walk you through setting up DevPod to run cloud-based development containers on Rackspace Spot's Kubernetes infrastructure at ~$0.04/hour (approximately $28.80/month for 24/7 usage).

Installation

Terminal
claude install-skill https://github.com/marcuspat/turbo-flow

README

Complete Guide: Setting Up DevPod with Rackspace Spot

This guide will walk you through setting up DevPod to run cloud-based development containers on Rackspace Spot's Kubernetes infrastructure at ~$0.04/hour (approximately $28.80/month for 24/7 usage).

What You're Getting

    undefined

Prerequisites

    undefined

Step 1: Get Your Kubeconfig

    undefined
# Create the .kube directory if it doesn't exist
mkdir -p ~/.kube

# Copy your downloaded kubeconfig
cp /path/to/downloaded/kubeconfig.yaml ~/.kube/devpod-kubeconfig.yaml

# Test the connection
kubectl --kubeconfig ~/.kube/devpod-kubeconfig.yaml get nodes

Step 2: Check Your Node Resources

Find out what resources you're paying for:

kubectl --kubeconfig ~/.kube/devpod-kubeconfig.yaml get node -o json | grep -A 10 "allocatable"

Look for the CPU and memory values. A typical $0.04/hour node has approximately:

    undefined

Step 3: Configure DevPod Provider

Add and configure the Kubernetes provider:

# Add the Kubernetes provider
devpod provider add kubernetes --name rackspace-spot

# Configure with your settings (adjust resources based on Step 2)
devpod provider set-options rackspace-spot \
  -o KUBERNETES_CONFIG=$HOME/.kube/devpod-kubeconfig.yaml \
  -o KUBERNETES_CONTEXT=jmp_agentics-devpods \
  -o KUBERNETES_NAMESPACE=devpod \
  -o DISK_SIZE=20Gi \
  -o CREATE_NAMESPACE=true \
  -o INACTIVITY_TIMEOUT=5h \
  -o RESOURCES="requests.cpu=2,requests.memory=8Gi,limits.cpu=3,limits.memory=12Gi"

# Set as default provider
devpod provider use rackspace-spot

# Verify settings
devpod provider options rackspace-spot

Configuration Explained

    undefined

Step 4: Add DevContainer Configuration to Your Repository

**IMPORTANT**: Before creating your first workspace, yo