Local Hosting

Proxmox

Local hosting on a Proxmox VE host.

3 min

Proxmox Workshop Instance Setup

Overview

The ubuntu-cloud-k3d.sh script automates the creation of a Splunk Observability Workshop VM on Proxmox VE. It creates a complete Ubuntu 24.04 cloud-init based VM with all necessary tools and configurations pre-installed.

Prerequisites

Quick Start

Run the script directly on your Proxmox host:

k3d script:

bash
bash -c "$(curl -fsSL https://raw.githubusercontent.com/splunk/observability-workshop/refs/heads/main/local-hosting/proxmox/ubuntu-cloud-k3d.sh)"

k3s script (LEGACY):

bash
bash -c "$(curl -fsSL https://raw.githubusercontent.com/splunk/observability-workshop/refs/heads/main/local-hosting/proxmox/ubuntu-cloud-k3s.sh)"

What the Script Does

1. Initial Setup

2. Authentication & Configuration

3. VM Creation

4. Software Installation

The cloud-init configuration automatically installs:

5. Workshop Content

VM Specifications

Environment Variables

The script configures these environment variables in the VM:

Accessing the VM

  1. Wait for VM creation and boot to complete (5-10 minutes)

  2. Find the VM’s IP address in Proxmox console or DHCP logs

  3. SSH to the VM:

    bash
    ssh splunk@<vm-ip>
    # Password: Splunk123!

Useful Commands in the VM

bash
# Check Kubernetes status
kubectl get nodes

# Access Kubernetes dashboard
k9s

# View workshop materials
ls ~/workshop/

# Check environment variables
env | grep -E "(TOKEN|REALM)"

Troubleshooting

Tags

Created VMs are tagged with: o11y-workshop, noble, k3d

Last Modified ·