- Templates
- python-template
python-template
Updated 3:55:49 PM
Template Details
Sandbox Template
Basics
| Namespace | agent-sandboxes |
|---|---|
| Image | registry.k8s.io/agent-sandbox/python-runtime-sandbox:v1.0.11 |
| Runtime Class | |
| Created | 2026-11-16 15:45:19 UTC (10 minutes ago) |
What Claims May Override
| Environment Variables | Disallowed (claims cannot change it) |
|---|---|
| Volume Claim Templates | Overrides (claims may add and replace) |
Warm Pools (1)
| python-pool | View pool |
|---|
Pod Settings
| Runtime Class | |
|---|---|
| Restart Policy | OnFailure |
| DNS | Custom: 1.1.1.1, 8.8.8.8 |
| Service Account Token | Not mounted |
| Headless Service | Default |
Containers
python-runtime
| Image | registry.k8s.io/agent-sandbox/python-runtime-sandbox:v1.0.11 |
|---|---|
| Ports | 8888/TCP |
| Requests | 250m CPU, 512Mi Memory, 256Mi Disk |
| Limits | 1 CPU, 1Gi Memory, 1Gi Disk |
| Mounts | /workspace (workspace), /tmp (tmp) |
Environment
| SANDBOX_BASE_DIR | /workspace |
|---|---|
| HOME | /workspace |
| TMPDIR | /tmp |
| PYTHONDONTWRITEBYTECODE | 1 |
Security
Pod
| Run As Non-Root | Yes |
|---|---|
| User / Group | 1000 / 1000 |
| FS Group | 1000 |
| Seccomp Profile | RuntimeDefault |
| Service Account Token | Not mounted |
Container python-runtime
| Read-Only Root Filesystem | Yes |
|---|---|
| Privilege Escalation | Disallowed |
| Privileged | No |
| Capabilities Dropped | ALL |
| Capabilities Added | None |
Storage
workspace
| Requested | 1Gi |
|---|---|
| Access Modes | ReadWriteOnce |
| Storage Class | Cluster default |
Network Policy
| Management | Managed |
|---|---|
| Rules | Controller default: ingress from the Sandbox Router only, egress to public IPs only |
| Policy | python-template-network-policy |
Show rules
YAML
podSelector:
matchLabels:
agents.x-k8s.io/sandbox-template-ref-hash: cede6d20
policyTypes:
- Ingress
- Egress
ingress:
- from:
- podSelector:
matchLabels:
app: sandbox-router
namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: agent-sandbox-system
egress:
- to:
- ipBlock:
cidr: 0.0.0.0/0
except:
- 10.0.0.0/8
- 172.16.0.0/12
- 192.168.0.0/16
- 169.254.0.0/16
- ipBlock:
cidr: ::/0
except:
- fc00::/7
- fe80::/10
Sandboxes (4)
| Name | Status | Health | Claim | Age |
|---|---|---|---|---|
| python-pool-46dns | Available | Ready | - | just now |
| python-pool-97q4x | Available | Ready | - | just now |
| python-pool-mbtjj | Claimed | Ready | agent-1-1ad19a | 2 minutes ago |
| python-pool-tjb6d | Claimed | Ready | agent-0-09ada0 | 2 minutes ago |