Prerequisites
- a running Kubernetes cluster
- a
talos
container image:
Machine Configuration
Machine configuration can be generated using Getting Started guide. Machine install disk will ge ignored, as the install image. The Talos version will be driven by the container image being used. The required machine configuration patch to enable using container runtime DNS:Running Talos Pods
There might be many ways to run Talos in Kubernetes (StatefulSet, Deployment, single Pod), so we will only provide some basic guidance here.Container Settings
Submitting Initial Machine Configuration
Initial machine configuration can be submitted usingtalosctl apply-config --insecure
when the pod is running, or it can be submitted
via an environment variable USERDATA
with base64-encoded machine configuration.
Volume Mounts
Three ephemeral mounts are required for/run
, /system
, and /tmp
directories:
PersistentVolume
for them: