Prerequisites

Current Working Directory

$ ls
deployment.yaml

Launching

$ konduktor serve launch deployment.yaml

Deployment.yaml

# no autoscaling + default port (8000) + no health probing
name: serving-general-simple

resources:
  cpus: 0.5
  memory: 1
  image_id: ubuntu
  labels:
    kueue.x-k8s.io/queue-name: user-queue

serving: 
  min_replicas: 1

run: |
  apt-get update && apt-get install -y python3
  echo "Hello from Konduktor Serve!" > index.html
  python3 -m http.server 8000