/ server / opensandbox_server / examples / example.batchsandbox-template.yaml
example.batchsandbox-template.yaml
 1  # Example BatchSandbox CR template for OpenSandbox Kubernetes runtime
 2  # This is a complete BatchSandbox CR template that will be merged with runtime values
 3  #
 4  # Usage in config.toml:
 5  #   [kubernetes]
 6  #   batchsandbox_template_file = "/path/to/this/file.yaml"
 7  
 8  # Metadata template (will be merged with runtime-generated metadata)
 9  metadata:
10  # Spec template
11  spec:
12    replicas: 1
13    # Pod template specification
14    template:
15      spec:
16        restartPolicy: Never
17        tolerations:
18          - operator: "Exists"