K8sManifestResource
Classnet10.0
A Kubernetes manifest applied to a Kind cluster via
kubectl apply. namespace Aspire.Hosting.ApplicationModel;
public class K8sManifestResource : Aspire.Hosting.ApplicationModel.KindDeployedResource{ // ...}12 members
Constructors1
Section titled ConstructorsProperties11
Section titled PropertiesApplyTimeoutget; setTimeSpan Gets or sets the maximum time to wait for
kubectl apply to complete. ClusterReadyTimeoutget; setTimeSpan Gets or sets the maximum time to wait for the Kubernetes API to become reachable before running
kubectl apply. CrdWaitBehaviorget; set Gets or sets how CRD wait failures are handled.
CrdWaitTimeoutget; setTimeSpan Gets or sets the maximum time to wait for applied CRDs to reach the
Established condition. FieldManagerget; setstring? Gets the field manager name used with server-side apply (maps to
kubectl apply --field-manager). When null, kubectl uses its default ( kubectl). ForceConflictsget; setbool 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. InlineContentget; setstring? Gets or sets inline manifest content applied with
kubectl apply -f -. IsKustomizeget; setbool Gets or sets whether this resource represents a Kustomize overlay directory.
ManifestPathgetstring Gets the manifest path passed to
kubectl apply. Accepts an absolute file path, an absolute directory path, or <inline> for standard input. Recursiveget; setbool Gets or sets whether to recursively apply manifests in subdirectories (maps to
kubectl apply --recursive). Only meaningful when K8sManifestResource.ManifestPath is a directory. ServerSideget; setbool 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.