Class SandboxTemplateSpec
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
Per-sandbox workload template fields.
public sealed record SandboxTemplateSpec : IEquatable<SandboxTemplateSpec>
- Inheritance
-
SandboxTemplateSpec
- Implements
- Inherited Members
Properties
Annotations
Annotations applied to the workload.
public IReadOnlyDictionary<string, string>? Annotations { get; init; }
Property Value
DriverConfigJson
Compute-driver-specific configuration as JSON.
public string? DriverConfigJson { get; init; }
Property Value
Environment
Environment for the workload.
public IReadOnlyDictionary<string, string>? Environment { get; init; }
Property Value
Image
Container image.
public string? Image { get; init; }
Property Value
Labels
Labels applied to the workload.
public IReadOnlyDictionary<string, string>? Labels { get; init; }
Property Value
ResourcesJson
Resource requests and limits as JSON, merged into the workload.
public string? ResourcesJson { get; init; }
Property Value
RuntimeClassName
Runtime class (for example gvisor).
public string? RuntimeClassName { get; init; }
Property Value
UserNamespaces
Enable user namespace isolation.
public bool? UserNamespaces { get; init; }
Property Value
- bool?