Skip to content
DocsTry Aspire
DocsTry

K8sManifestResource Properties

ClassProperties11 members
A Kubernetes manifest applied to a Kind cluster via kubectl apply.
ApplyTimeoutSection titled ApplyTimeoutTimeSpan
Gets or sets the maximum time to wait for kubectl apply to complete.
public TimeSpan ApplyTimeout { get; set; }
ClusterReadyTimeoutSection titled ClusterReadyTimeoutTimeSpan
Gets or sets the maximum time to wait for the Kubernetes API to become reachable before running kubectl apply.
public TimeSpan ClusterReadyTimeout { get; set; }
Gets or sets how CRD wait failures are handled.
public CrdWaitBehavior CrdWaitBehavior { get; set; }
CrdWaitTimeoutSection titled CrdWaitTimeoutTimeSpan
Gets or sets the maximum time to wait for applied CRDs to reach the Established condition.
public TimeSpan CrdWaitTimeout { get; set; }
FieldManagerSection titled FieldManagernullablestring?
Gets the field manager name used with server-side apply (maps to kubectl apply --field-manager). When null, kubectl uses its default ( kubectl).
public string? FieldManager { get; set; }
Gets or sets whether to force conflicts on server-side apply (maps to kubectl apply --server-side --force-conflicts). Only meaningful when K8sManifestResource.ServerSide is true.
public bool ForceConflicts { get; set; }
InlineContentSection titled InlineContentnullablestring?
Gets or sets inline manifest content applied with kubectl apply -f -.
public string? InlineContent { get; set; }
Gets or sets whether this resource represents a Kustomize overlay directory.
public bool IsKustomize { get; set; }
ManifestPathSection titled ManifestPathstring
Gets the manifest path passed to kubectl apply. Accepts an absolute file path, an absolute directory path, or <inline> for standard input.
public string ManifestPath { get; }
Gets or sets whether to recursively apply manifests in subdirectories (maps to kubectl apply --recursive). Only meaningful when K8sManifestResource.ManifestPath is a directory.
public bool Recursive { get; set; }
Gets or sets whether to apply the manifest server-side (maps to kubectl apply --server-side). Server-side apply is required for large CRDs that exceed the client-side annotation size limit.
public bool ServerSide { get; set; }