Vixen
02b45cc4
csharp
public record class KubernetesPlacementOptions

What KubernetesPlacement creates, and where.

Read the guide page for this →

Fields and properties (12)

  • public const string ShardLabel

    The label a realm pod carries its shard id under.

  • public const string OwnerLabel

    The label a realm pod carries its owner under.

  • public string Image

    The realm's image.

  • public string Namespace

    Which namespace realm pods go in.

  • public string Owner

    Which orchestrator these pods belong to.

  • public IReadOnlyList<string> Arguments

    Arguments to put before the encoded RealmSpec.

  • public IReadOnlyDictionary<string, string> Environment

    Variables to set in every realm pod.

  • public PortPool Ports

    The per-node port range realms take a hostPort from.

  • public PodIdentity? Self

    The orchestrator's own pod, for the owner reference.

  • public TimeSpan StopGrace

    How long a pod's process gets after its termination signal.

  • public TimeSpan DrainTimeout

    How long Drain waits before deleting.

  • public Action<RealmInstanceId, string>? Output

    Called with every line a realm writes.

Used by (2)

  • KubernetesPlacementVixen.Live.Placement.Kubernetes
  • KubernetesPlacementTestsVixen.Live.Placement.Kubernetes.Tests