You can configure the following environment variables in your Pods:

VariableDescription
RUNPOD_POD_IDThe unique identifier assigned to your Pod.
RUNPOD_API_KEYThe API key for making Runpod API calls scoped specifically to this Pod.
RUNPOD_POD_HOSTNAMEThe hostname of the server where your Pod is running.
RUNPOD_GPU_COUNTThe total number of GPUs available to your Pod.
RUNPOD_CPU_COUNTThe total number of CPUs available to your Pod.
RUNPOD_PUBLIC_IPThe publicly accessible IP address for your Pod, if available.
RUNPOD_TCP_PORT_22The public port mapped to SSH (port 22) for your Pod.
RUNPOD_ALLOW_IPA comma-separated list of IP addresses or ranges allowed to access your Pod (e.g., 192.168.0.12/32, 172.16.0.16/32).
RUNPOD_DC_IDThe identifier of the data center where your Pod is located.
RUNPOD_VOLUME_IDThe ID of the network volume attached to your Pod.
CUDA_VERSIONThe version of CUDA installed in your Pod environment.
PWDThe current working directory inside your Pod.
PYTORCH_VERSIONThe version of PyTorch installed in your Pod environment.
PUBLIC_KEYThe SSH public keys authorized to access your Pod over SSH.