Skip to content

Instantly share code, notes, and snippets.

@erictune
Created December 9, 2025 22:48
Show Gist options
  • Select an option

  • Save erictune/15dadb8120f310c0ce2a8aebaf7744bc to your computer and use it in GitHub Desktop.

Select an option

Save erictune/15dadb8120f310c0ce2a8aebaf7744bc to your computer and use it in GitHub Desktop.
Source: https://docs.cloud.google.com/kubernetes-engine/docs/how-to/tpu-multislice#standard
PodSets: One per replicatedJob, 4 replicatedJobs, no signature differences between the pod templates, but injected labels may differ.
Source: https://github.com/kubernetes-sigs/jobset/blob/main/site/static/examples/pytorch/cnn-mnist/mnist.yaml
PodSets: Exactly 1 (no resource requirements!)
Source: https://github.com/kubernetes-sigs/jobset/blob/main/site/static/examples/tensorflow/mnist.yaml
PodSets: Exactly 1
Source: https://raw.githubusercontent.com/kubernetes-sigs/lws/refs/heads/main/docs/examples/sglang/lws.yaml
Differences:
Leader adds a label
Different container[0].name
Different container[0].command
Leader adds a container[0].ports
Leader adds a container[0].readinessProbe
PodSets: 1, if we ignore those differences.
Source: https://raw.githubusercontent.com/kubernetes-sigs/lws/refs/heads/main/docs/examples/tensorrt-llm/lws.yaml
Differences:
Leader adds a label
Different container[0].name
Different container[0].command
Leader adds a container[0].env[]
Leader adds a container[0].ports
PodSets: 1, if we ignore those differences.
Source: https://raw.githubusercontent.com/kubernetes-sigs/lws/refs/heads/main/docs/examples/vllm/GPU/lws.yaml
Differences:
Leader adds a label
Different container[0].name
Different container[0].command
Leader adds a container[0].ports
Leader adds a container[0].readinessProbe
PodSets: 1, if we ignore those differences.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment