1. Templates
  2. chrome-template

chrome-template

Updated 4:13:45 PM
agent-sandboxes28 minutes agovNode1 warm pool

Sandbox Template

YAML96 lines
apiVersion: extensions.agents.x-k8s.io/v1beta1
kind: SandboxTemplate
metadata:
  annotations:
    meta.helm.sh/release-name: pool-c0c135b1fc1e23cd
    meta.helm.sh/release-namespace: agent-sandboxes
  creationTimestamp: 2026-11-16T15:45:19Z
  generation: 1
  labels:
    agents.x-k8s.io/sandbox-template-ref-hash: 36b1331c
    app.kubernetes.io/managed-by: Helm
  name: chrome-template
  namespace: agent-sandboxes
  resourceVersion: "1287"
  uid: f2c9c692-b845-4162-8bce-ae23591db26e
spec:
  envVarsInjectionPolicy: Disallowed
  failedPodPolicy: Retain
  networkPolicyManagement: Managed
  podTemplate:
    spec:
      automountServiceAccountToken: false
      containers:
        - env:
            - name: HOME
              value: /home/chrome
          image: registry.k8s.io/agent-sandbox/chrome-sandbox:v1.0.11
          livenessProbe:
            exec:
              command:
                - /chrome-sandbox-entrypoint
                - probe
            failureThreshold: 3
            initialDelaySeconds: 15
            periodSeconds: 10
            timeoutSeconds: 2
          name: chrome-sandbox
          ports:
            - containerPort: 9222
              name: cdp
              protocol: TCP
          readinessProbe:
            exec:
              command:
                - /chrome-sandbox-entrypoint
                - probe
            initialDelaySeconds: 1
            periodSeconds: 1
            timeoutSeconds: 2
          resources:
            limits:
              cpu: "2"
              ephemeral-storage: 2Gi
              memory: 2Gi
            requests:
              cpu: 500m
              ephemeral-storage: 512Mi
              memory: 1Gi
          securityContext:
            allowPrivilegeEscalation: false
            capabilities:
              drop:
                - ALL
            readOnlyRootFilesystem: true
            runAsNonRoot: true
          volumeMounts:
            - mountPath: /home/chrome
              name: home
            - mountPath: /tmp
              name: tmp
      dnsConfig:
        nameservers:
          - 1.1.1.1
          - 8.8.8.8
        options:
          - name: ndots
            value: "1"
      dnsPolicy: None
      enableServiceLinks: false
      restartPolicy: OnFailure
      runtimeClassName: vnode
      securityContext:
        fsGroup: 996
        runAsGroup: 996
        runAsNonRoot: true
        runAsUser: 996
        seccompProfile:
          type: RuntimeDefault
      volumes:
        - emptyDir:
            sizeLimit: 512Mi
          name: home
        - emptyDir:
            sizeLimit: 1Gi
          name: tmp
  volumeClaimTemplatesPolicy: Disallowed

Network Policy chrome-template-network-policy (managed)

YAML28 lines
podSelector:
  matchLabels:
    agents.x-k8s.io/sandbox-template-ref-hash: 36b1331c
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