Table of Contents

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

IReadOnlyDictionary<string, string>

DriverConfigJson

Compute-driver-specific configuration as JSON.

public string? DriverConfigJson { get; init; }

Property Value

string

Environment

Environment for the workload.

public IReadOnlyDictionary<string, string>? Environment { get; init; }

Property Value

IReadOnlyDictionary<string, string>

Image

Container image.

public string? Image { get; init; }

Property Value

string

Labels

Labels applied to the workload.

public IReadOnlyDictionary<string, string>? Labels { get; init; }

Property Value

IReadOnlyDictionary<string, string>

ResourcesJson

Resource requests and limits as JSON, merged into the workload.

public string? ResourcesJson { get; init; }

Property Value

string

RuntimeClassName

Runtime class (for example gvisor).

public string? RuntimeClassName { get; init; }

Property Value

string

UserNamespaces

Enable user namespace isolation.

public bool? UserNamespaces { get; init; }

Property Value

bool?